Node:ecb-methods, Next:ecb-history, Previous:ecb-sources, Up:Customizable options
This group contains settings for the methods-buffer in the ECB:
auto-expand-tag-tree | User Option |
Expand the methods-tag-tree automatically if node invisible.
This option has only an effect if option
This options takes only effect for semantic-sources - means sources supported by semantic! |
auto-update-methods-after-save | User Option |
Automatically updating the ECB method buffer after saving a source. |
exclude-parents-regexp | User Option |
Regexp which parent classes should not be shown in the methods buffer
(see also ecb-show-parents ). If nil then all parents will be
shown if ecb-show-parents is not nil.
This options takes only effect for semantic-sources - means sources supported by semantic! |
expand-methods-switch-off-auto-expand | User Option |
Switch off auto expanding in the ECB-method buffer. If on then auto
expanding is switched off after explicit expanding or collapsing by
ecb-expand-methods-nodes .
This is done with But after explicitly expanding/collapsing the methods-buffer to a
certain level the auto. expanding could undo this when the node
belonging to current tag under point in the current active edit-window
is invisible after |
font-lock-tags | User Option |
Adds font-locking (means highlighting) to the ECB-method buffer.
This options takes only effect for semantic-sources - means sources supported by semantic! |
highlight-tag-with-point | User Option |
How to highlight the method or variable under the cursor.
See also This options takes only effect for semantic-sources - means sources supported by semantic! |
highlight-tag-with-point-delay | User Option |
Time Emacs must be idle before current tag is highlighted. If nil
then there is no delay, means current tag is highlighted
immediately. A small value of about 0.25 seconds saves CPU resources
and you get even though almost the same effect as if you set no delay.
But such a delay prevents also "jumping backward/forward" during
scrolling within java-classes if point goes out of method-definition
into class-definition. Therefore the default value is a delay of 0.25
seconds.
This options takes only effect for semantic-sources - means sources supported by semantic! |
methods-buffer-after-create-hook | User Option |
Local hook running after the creation of the methods-buffer. Every
function of this hook is called once without arguments direct after
creating the methods-buffer of ECB and it's local key-map. So for
example a function could be added which performs calls of
local-set-key to define new keybindings only for the
methods-buffer of ECB.
|
methods-buffer-name | User Option |
Name of the ECB methods buffer. Because it is not a normal buffer for
editing you should enclose the name with stars, e.g. " *ECB
Methods*".
If it is necessary for you you can get emacs-lisp access to the
buffer-object of the ECB-methods-buffer by this name, e.g. by a call
of Changes for this option at runtime will take affect only after deactivating and then activating ECB again! |
methods-menu-sorter | User Option |
Function which re-sorts the menu-entries of the directories buffer.
If a function then this function is called to sort the menu-entries of
the combined menu-entries of the user-menu-extensions of
For the guidelines for such a sorter-function see
|
methods-menu-user-extension | User Option |
Static user extensions for the popup-menu of the methods buffer. For
further explanations see ecb-directories-menu-user-extension .
The node-argument of a menu-function contains as data the semantic-tag of the method/variable/tag for which the popup-menu has been opened. Per default the static user-extensions are added at the beginning of
the built-in menu-entries of |
methods-menu-user-extension-function | User Option |
Dynamic user extensions for the popup-menu of the methods buffer. A
function which has to return a list in the same format like the option
ecb-methods-menu-user-extension . This function is called when
the user opens the popup-menu for the methods buffer. For an example
how such a function can be programmed see
ecb-methods-menu-editwin-entries .
Per default the dynamic user-extensions are added in front of the
static extensions of |
methods-nodes-collapse-spec | User Option |
Semantic tag-types collapsed by ecb-expand-methods-nodes .
For valid values of this option see ecb-methods-nodes-expand-spec !
This options takes only effect for semantic-sources - means sources supported by semantic! |
methods-nodes-expand-spec | User Option |
Semantic tag-types expanded by ecb-expand-methods-nodes .
The value of this option is either the symbol But this option also defines if bucket-nodes in the ECB-method-buffer
(e.g. "[Variables]") should be expanded. Therefore valid symbols for
this list are also all cars of the variable returned by
If there is a bucket-name (the node-name stripped of the settings in
This options takes only effect for semantic-sources - means sources supported by semantic! |
post-process-semantic-taglist | User Option |
Define mode-dependent post-processing for the semantic-taglist. This
is an alist where the car is a major-mode symbol and the cdr is a list
of function-symbols of functions which should be used for
post-processing the taglist (returned by
ecb--semantic-bovinate-toplevel ) for a buffer in this
major-mode. The first function in the list is called with current
semantic taglist of current buffer and must return a valid taglist
again. All other functions are called with the result-taglist of its
preceding function and have to return a new taglist again.
For oo-programming languages where the methods of a class can be
defined outside the class-definition (e.g. C++, Eieio) the function
Another senseful usage is to filter out certain tags, e.g. prototype
tags in This options takes only effect for semantic-sources - means sources supported by semantic! |
show-only-positioned-tags | User Option |
Show only nodes in the method-buffer which are "jump-able". If not nil
then ECB displays in the method-buffer only nodes which are
"jump-able", i.e. after selecting it by clicking or with RET then ECB
jumps to the corresponding location in the edit-window. Example: With
CLOS or Eieio source-code there can exist some position-less nodes like
variable-attributes in a defclass form which are only displayed
if this option is nil. Displaying such nodes can be senseful even if
they can not be jumped.
This options takes only effect for semantic-sources - means sources supported by semantic! |
show-tags | User Option |
How to show tags in the methods buffer first time after find-file.
This variable is a list where each element represents a type of
tags:
(<tag type> <display type> <sort method>) The tags in the methods buffer are displayed in the order as they appear in this list.
This options takes only effect for semantic-sources - means sources supported by semantic! |
tag-display-function | User Option |
Function to use for displaying tags in the methods buffer. This
functionality is set on major-mode base, i.e. for every major-mode a
different function can be used. The value of this option is a list of
cons-cells:
Every function is called with 3 arguments:
Every function must return the display of the tag as string, colorized if the third argument is not nil. The following functions are predefined:
This functionality also allows the user to display tags as UML. To
enable this functionality set the function for a major-mode \(e.g.
If the value is This options takes only effect for semantic-sources - means sources supported by semantic! |
tag-jump-sets-mark | User Option |
Set the mark after jumping to a tag from the ECB-method buffer. If set the user can easily jump back. |
tag-visit-post-actions | User Option |
Actions to perform after visiting a tag from the Method-buffer. With
this option actions can be added which will be performed after
visiting the start of the tag in the source-buffer.
This functionality is set on a
ECB first performs all actions defined for the special symbol 'default
(if any) and then all actions defined for current ECB offers some predefined senseful action-functions. Currently there
are: But you can add any arbitrary function if the following conditions are fulfilled: The function gets the semantic tag as argument returns the (new) point after finishing its job. |
type-tag-display | User Option |
How to display semantic type-tags in the methods buffer. Normally
all tag displaying, colorizing and facing is done by semantic
according to the value returned by
ecb--semantic-format-face-alist and the semantic
display-function (e.g. one from
ecb--semantic-format-tag-functions ). But sometimes a finer
distinction in displaying the different type specifiers of type-tags
can be useful. For a description when this option is evaluated look at
ecb-tag-display-function !
This functionality is set on a major-mode base, i.e. for every major-mode a different setting can be used. The value of this option is a list of cons-cells:
The default value is nil means there is no special ECB-displaying of
type-tags in addition to the displaying and colorizing semantic
does. But a value like the following could be a useful setting:
((default ("class" t ecb-type-tag-class-face) ("group" nil ecb-type-tag-group-face)) (c-mode ("struct" nil ecb-type-tag-struct-face) ("typedef" nil ecb-type-tag-typedef-face))) This means that in This options takes only effect for semantic-sources - means sources supported by semantic! |
type-tag-expansion | User Option |
Default expansion of semantic type-tags. Semantic groups type-tags in
different type-specifiers. Current available type specifiers are for
example "class", "interface", "struct", "typedef", "union"
and "enum". In addition to these ones there is also a special ECB
type-specifier "group" which is related to grouping tags (see
ecb-post-process-semantic-taglist ).
This option defines which type-specifiers should be expanded at file-open-time. Any arbitrary specifier can be set here but if it is not "group" or not known by semantic it will be useless. This functionality is set on a major-mode base, i.e. for every major-mode a different setting can be used. The value of this option is a list of cons-cells:
This options takes only effect for semantic-sources - means sources supported by semantic! |