TECH:Creating Tags
Creating Tags for source code
-----------------------------------------------------------------
1. Create files.list as follows
$ find . > files.list
2. Open files.list in gvim
gvim files.list
3. Remove svn/cvs related lines as
Ex: removing svn related lines in gvim in command mode as
:%g/.svn/d
4. Save and quit the file files.list
:wq
5 Create tags as
$ ctags `cat files.list`
-----------------------------------------------------------------
Open files.list in gvim.. commands for different operatioons
gf - get file (opening file)
CTRL+ o - for previous file
CTRL+ t - jump back
CTRL + ] - for tag ( function/ structure/ MACRO etc...)
-------------------------------------------------------------------
------------------------------------------------------------------
Thanks
G K Reddy
-----------------------------------------------------------------
1. Create files.list as follows
$ find . > files.list
2. Open files.list in gvim
gvim files.list
3. Remove svn/cvs related lines as
Ex: removing svn related lines in gvim in command mode as
:%g/.svn/d
4. Save and quit the file files.list
:wq
5 Create tags as
$ ctags `cat files.list`
-----------------------------------------------------------------
Open files.list in gvim.. commands for different operatioons
gf - get file (opening file)
CTRL+ o - for previous file
CTRL+ t - jump back
CTRL + ] - for tag ( function/ structure/ MACRO etc...)
-------------------------------------------------------------------
------------------------------------------------------------------
Thanks
G K Reddy
Comments