Node:Semantic analyser, Next:, Previous:Add-on interactors, Up:Add-on interactors



Displaying the current semantic context

The cedet-suite contains the semantic analyzer which is a library tool that performs context analysis and can derive useful information. See the related node in the info-manual of cedet/semantic for more detailed informations about this tool.

The analyzer output can be used through a special ECB-interactor. This interface lists details about the analysis, such as the current function, local arguments and variables, details on the prefix (the symbol the cursor is on), and a list of all possible completions (see semantic-analyze-possible-completions for more details about completions available via the semantic-analyser).

Per default the content of the analyser-interactor is automatically synchronized and updated with current point of the current source-buffer in the edit-area (see ecb-window-sync and ECB-window synchronizing).

The analyser-interactor is of type tree-buffer. See Tree-buffer basics for basic informations how to use such a tree-buffer.

Usage of the analyser-interactor
Activating/Displaying the analyser-interactor

Either use one of the predefined layouts "left-analyse" or "leftright-analyse" (e.g. via C-c . l c) or create a new ecb-layout via the command ecb-create-new-layout and add a buffer of type "other" and name "analyse" into this new layout (see Creating a new ECB-layout).

Customizing the analyser interactor

See ecb-analyse for a list of all options currently available for customizing this interactor to your needs.