Thu Apr 7 using cscope in emacs

来源:互联网 发布:远程软件安全吗 编辑:程序博客网 时间:2024/05/22 00:50

1 How to install cscope to emacs in Ubuntu?

 

sudo apt-get install cscope-el cscope

 

NOTICE: Do not forget cscope-el

 

 

 

2 How to use cscope in emacs

 

After cscope installed, it will add a menu to emacs automatically.

There you can see many useful functions and key-pressing of cscope.

 

The most useful key-pressing is:

 

C-c s L: create list of files to index

 

C-c s g:  find global definition

 

C-c s c:  find functions calling a specified function

 

For other functions of cscope, please try it in your emacs : )

 

原创粉丝点击