Node:ecb-non-semantic, Next:ecb-winman, Previous:ecb-eshell, Up:Customizable options
This group contains the following options:
auto-save-before-etags-methods-rebuild | User Option |
Automatic saving of current buffer before rebuilding its methods.
This option is only relevant for sources which are supported and
parsed by etags (see For all source supported by semantic or by imenu this option takes no effect. |
non-semantic-exclude-modes | User Option |
Exclude modes from parsing with imenu or etags. Per default, ECB tries
to parse all file-types not supported by semantic with imenu or etags
or some other method (for details see the option
ecb-non-semantic-parsing-function ). If a file-type can not be
parsed by semantic, imenu or etags than this simply results in an
empty method-buffer for this file. But nevertheless you will get a
message "Sorry, no support for a file of that extension" which comes
from the speedbar-library and can not switched off. Therefore if a
major-mode is known as not parse-able by semantic, imenu or etags
it can be added to this option and then it will be excluded from being
tried to parsed.
|
non-semantic-methods-initial-expand | User Option |
Initially expand all tokens for not by semantic supported sources.
This option can be customized on a major-mode basis, i.e. if a
major-mode is contained in this option then all tokens for this
modes will be initially expanded - otherwise not.
|
non-semantic-parsing-function | User Option |
Define mode-dependent parsing functions for non-semantic files. This
is an alist where the car is a major-mode symbol and the cdr is a
function-symbol of a function which should be used for parsing a
non-semantic buffer, i.h. a buffer for which no semantic grammar
exists. Such a function gets one argument - the filename of current
buffer - and has to generate and return a token/tag list which is
understandable by speedbar-insert-generic-list . speedbar has
already included two functions speedbar-fetch-dynamic-imenu and
speedbar-fetch-dynamic-etags which can be used for parsing
buffers with imenu rsp. etags.
This option takes only effect if In most cases imenu-parsing is preferable over etags-parsing because imenu operates on Emacs-buffers and needs no external tool and therefore parsing works also if current contents of a buffer are not saved to disk. But maybe sometimes etags may return better parsing results IMPORTANT: if imenu-parsing should be used then the option
|
process-non-semantic-files | User Option |
Display content of non-semantic-files in the ECB-methods-buffer. See
also ecb-non-semantic-parsing-function .
|
rebuild-non-semantic-methods-before-hook | User Option |
Hook running at beginning of the function
ecb-rebuild-methods-buffer-for-non-semantic . This function is
always called by the command ecb-rebuild-methods-buffer for not
semantic supported source-types.
Every function of this hook gets one argument: The complete filename
of the current source-buffer in the edit-window. The Method-buffer is
only rebuild by |