Vim

Linux ctags/cscope

최재국 2021. 7. 12. 23:41

ctags

1. $sudo apt-get install ctags // ctags 설치

 

cscope

1. $sudo apt-get install cscope // cscope 설치

 

 

 

 

 

 

 

 

 

 

 

1. !ctags -R // tags 파일 생성

2. !cscope -b -R // cscope.out 파일 생성

3. cs add cscope.out // DB 등록 최초에만 하면됨