cscope는 기본적으로 c소스만을 다룸 그래서: #!/bin/sh rm -rf cscope.files cscope.files find . \( -name '*.c' -o -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.s' -o -name '*.S' \) -print > cscope.files cscope -b -icscope.files ctags -L cscope.files 도스(cygwin)에서는 find가 도스 명령어로 먹기 때문에 다음과 같이 전체 path로 적어준다. @c:\apps\cygwin\bin\find ... @c:\apps\cygwin\bin\cscope ... ====== SourceCodeObedience - vim plugin ====== *[[http://www.vim.org/scripts/script.php?script_id=1638|SCO]] nnoremap cg :SCOGlobal expand('') nnoremap cc :SCOSymbol expand('') nnoremap cs :SCOSaveSearch nnoremap ct :SCOTag '' nnoremap cw :SCOWhoCall expand('') nnoremap ci :SCOInclude expand('') nnoremap cf :SCOFile expand('') nnoremap cb :SCOBuffer nnoremap cm :SCOMark nnoremap cn :SCOMarkSmart nnoremap cr :SCOReMark - tags와 scope 생성 - 동일 디렉토리에서 gvim 프로젝트명.sco ====== another references ====== *[[http://www.vim.org/scripts/script_search_results.php?keywords=cscope&script_type=&order_by=creation_date&direction=descending&search=search|gvim scope plugins]] *[[http://cscope.sourceforge.net/cscope_vim_tutorial.html|The Vim/Cscope tutorial]] *[[http://objectmix.com/editors/149864-gvim-split-windows-cscope-linux.html|Gvim split windows for cscope in Linux : Editors]] ====== cscope 를 사용한 확장 ====== *[[http://code.google.com/p/cscope-win32/|Win32 port of cscope utilty]] *[[http://mail.python.org/pipermail/python-list/2007-January/593667.html|call graph using python and cscope]] *[[http://pypi.python.org/pypi/pycscope/0.2|pycscope]] *[[http://kldp.org/node/81469|Emacs에서 파이썬 소스코드 브라우징 하기...]] *[[http://www.viper.pe.kr/cgi-bin/moin.cgi/ctags_%EC%99%80_vi_%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0|ctags 와 vi 사용하기]]