ctags & cscope install
$ sudo apt-get install ctags -y
$ sudo apt-get install cscope -y
ctags
$ ctags -R
$ ctags -R --fields=+l --languages=python --python-kinds=-iv -f /.tags ./ # When Permission denied, please use 'sudo'
# cscope @ your directory with 'tags' file
$ find . -name '*.py' > cscope.files
$ cscope -R
# with cuda codes
rm -rf cscope.files cscope.out tags
# or $ rm -rf cscope.*
ctags -R --extra=+f+q --langmap=C:.c.cu.cuh .
find . \( -name '*.c' -o -name '*.cu' -o -name '*.cpp' -o -name '*.h' -o -name '*.hpp' \) -print > cscope.files
cscope -i cscope.files
'Linux' 카테고리의 다른 글
Asynchronous IO Read (Direct I/O) (0) | 2022.05.19 |
---|---|
print Memory info function (0) | 2021.05.14 |
Checking the cudnn 8.x version (0) | 2021.03.29 |
Linux Vim Setting (.vimrc) (0) | 2020.12.14 |
ImportError: dynamic module does not define module export function (PyInit_cv_bridge_boost) in Xavier AGX (0) | 2020.10.20 |