Hi all
got a solution for this, as follows. Better solutions are welcome always
-> Give command ctags -R in the directory which has 'n' number of files,. It will create a tag file with all recurrent occurrence of the sub-routines in the directory.
->Go to any file, place the cursor over any sub-routine, which we r trying to tag, and type ctrl+ ] . It leads you to the occurrence of the subroutine.
->After giving this, if u have to find multiple occurrence of the same subroutine, type esc + : tn or esc + : tnext . It will go to the next occurrence.
This I have tried in putty. But when we use vim editor with other distributors like Cent Os / Fedora , it displays the list of tags when we give ctrl + ] itself. We have a chance to select one among this by giving serial number.
You can come back to the start point by giving ctrl +T .
Regards
SJR
|