Node:Customizing the display, Next:, Previous:Expanding, Up:The Methods buffer



Customizing the display of the Methods-buffer

The ECB-Methods buffer is probably the most important browsing window offered by ECB. It displays all parsing informations of the current source-buffer (the buffer displayed in the edit-window).

Normally ECB gets all informations displayed in this Methods-buffer from the semantic-library - at least for semantic-sources. This library parses auto. the current source-buffer in the edit-window of ECB and returns all information in form of tokens to ECB which displays them in a browse-able form in its Method-buffer. See ECB Methods-buffer for information how to use the Methods-buffer.

There are several options to customize which tokens ECB should display in general, if the tokens should be collapsed or expanded, how to fontify them (i.e. syntax-highlighting) and something more.

ecb-show-tokens
Which semantic-tokens (e.g. types, methods, variables etc.) should be displayed and should they be collapsed, flattened or expanded. Sorting is also possible.
ecb-font-lock-tokens
ecb-type-token-display
How to fontify the tokens in the Method-buffer
ecb-token-display-function
ECB and semantic offer several predefined functions for displaying the tokens. Here you can customize, what informations tokens should contain (only the method-name or the whole signature or something else) and what notation should be used, e.g. UML or not.

These are the most important options for this topic but it is recommended to have a look into the customize-group ecb-methods (see ecb-methods) and check all the options offered there!

All these options are only relevant for semantic-sources and take no effect for non-semantic-sources!