TAGS file feature...
Posted: Sun Sep 17, 2000 1:18 pm
There is a feature in EMACS (an old editor originally developed for the UNIX platform now ported over to windows) called a TAGS file. This file is generated from a REGEXP search through all of the source code of a project for the program declarations. The generated TAGS file has a format like:
function-name, path-file-name, line-number
functionname1 /fldr_x/file_y.c 234
functionname2 /file_q.c 45
When a user is reading through a file this TAGS file gave them the ability to step into a function definition found in another file (opened up into another window). If the function definition started at another line number due to alterations to that file then a search is performed ahead and behind the original line number listing in the TAGS file.
After a large number of changes have been preformed to the code the user could regenerate the TAGS file to update the line number locations and add any new functions.
EMACS is licensed under the GNU public license and its source code is open to the public. It is written in C (I think it might be in C++ now...)
- John Wasinger
jwasinger2@home.com
function-name, path-file-name, line-number
functionname1 /fldr_x/file_y.c 234
functionname2 /file_q.c 45
When a user is reading through a file this TAGS file gave them the ability to step into a function definition found in another file (opened up into another window). If the function definition started at another line number due to alterations to that file then a search is performed ahead and behind the original line number listing in the TAGS file.
After a large number of changes have been preformed to the code the user could regenerate the TAGS file to update the line number locations and add any new functions.
EMACS is licensed under the GNU public license and its source code is open to the public. It is written in C (I think it might be in C++ now...)
- John Wasinger
jwasinger2@home.com