special editor features
Several editors have specially written modes for
cscope. Among these are: XEmacs, emacs, vim and nvi.
Xemacs in particular has some significant features layered on
top of the standard cscope features:
- An automatic, hierarchical, search path mechanism exists, for
locating cscope index files. If a database isn't found in the current
directory, the interface will automatically search parent directories
for index files.
- In addition to your basic (normal) cscope setup, the XEmacs
interface is also designed to support LARGE projects. Files which are
indexed can be spread out over multiple directories, and these
directories do NOT have to share a common root directory. Also, cscope
index files can be shared amongst users. This is very useful for group
software development.
- Multiple cscope index files can be searched. Unlike plain cscope,
you're not limited to searching only one database.
- When searching multiple database (index) files, results can be
returned from either the first database that contains matches, or all
databases that contain matches. This is very useful when you have a
local (partial) source tree, yet want to be able to search both your
local tree and your project's full source tree.
- Cscope is integrated into the C, C++, and dired modes. Pull-down
and pop-up menus exist, as well as normal key bindings.
For those of you who use emacs, there are
even special cscope emacs modes that make it easier still.