TagFileSupport

From Niki

Jump to: navigation, search

Tag file support in NEdit

When you've got a directory full of source code files, it's a handy trick to be able to highlight some name in a source code file, hit a key, and be taken to the location (possibly in a different file) where that name is defined or declared.

As with Vim and Emacs, NEdit can do this. You just need a separate program to generate a so-called "tag file" ahead of time. Simply create the tag file (I like to use exuberant-ctags ), leave it someplace like $HOME/tag_files, and then tell NEdit to load the tag file using the File --> Load Tags File.

Now when you want to go to the definition of some name you have highlighted, hit Ctrl-d. NEdit will open the file necessary file to get your cursor to that name's declaration.

For more information, see Help --> Features for Programming --> Finding Declarations (ctags).

This page should probably be mergd with Tags and MoreTags. Anyone?

Personal tools