Source Editor
Introduction
SNiFF+ offers several possibilities for editing source code:
- SNiFF+'s own integrated Source Editor
- an interface to several third party editors (Emacs, vim, Codewright, MS Developer Studio).
Please refer to the User's Guide for details.
This section describes how to work with the integrated Source Editor.
SNiFF+'s Source Editor consists of a multi-style text Source Editor and a list of classes, methods, and functions defined in the loaded file. The Source Editor understands C/C++, Java, Fortran, CORBA IDL, Ada and Python, and supports customizable syntax highlighting.
In addition to the normal editing functionality, the Source Editor offers the following features:
- Quick symbol navigation--Many symbol navigation facilities are provided, for example,
quick navigation to the symbols in a file via a Symbol List, switching between declaration
and implementation of a symbol, navigating in the inheritance hierarchy, triggering all
kinds of other browsing tools, and jumping directly to cross-references and retrieved
strings.
- Multiple undo/redo levels beyond file save--This means you can go back to the original
state of a file even if you have saved the file several times in between.
- Wide range of keyboard shortcuts--The Source Editor offers many keyboard shortcuts
for fast cursor navigation and text manipulation. Most of the commands are accessible via
Emacs-like shortcuts.
- Word completion--Words that already occur in the file can be automatically completed.
- History--The Source Editor remembers a history of files and locations you have visited
during editing and browsing.
- Customizability--Colors, fonts and other attributes of the Source Editor can be customized
in your Preferences. See also Preferences
The following illustration shows the SNiFF+ integrated Source Editor:
