Advertisements
First of all download this package, Exuberant Ctags. If you are using Debian you can get it from synaptic.
1.Open the terminal
2.Open the directory of the file[in this case dir where add.c resides. If in /home then cd home]
3.Type ctags -R on terminal or ctags -R[space]*
4.Open program add.c [as vi add.c]
5.Type :set tags=../../tags [if you run ctags -R outside the currrent directory, else just :set tags=./tags else :set tags=../tags as where you run "ctags -R"]
Its over.. enjoy..
No comments:
Post a Comment
Be nice. That's all.