ECB Methods-window - ECB - the Emacs Code Browser
Description: ECB - the Emacs Code Browser

Next: ECB History-window, Previous: ECB Sources-window, Up: Basic ECB-windows

#### 4.1.5 The ECB Methods-window

The ECB-Methods ECB-window contains all parsed and recognized tags of the current source-buffer. It is called “Method-buffer” because ECB is mostly designed for browsing sourcecode files and for programming-languages these tags are often methods (and variables etc.) To simplify explanations we talk in the following only about methods and variables - but in general the method-buffer can contain any kind of tags (e.g. sections and subsections for texinfo buffers).

Per default the content of the methods-ECB-window is automatically synchronized and updated with current point of the current source-buffer in the edit-area (see ECB-window synchronizing). This and other important informations about usage of the powerful Methods-window of ECB can be found in The Methods window.

##### 4.1.5.1 Usage of the methods ECB-window

- When a node (e.g. method or variable) is selected with the primary mouse button (see Using the mouse) or RETURN (see Using the keyboard) the buffer in the edit-window (which one depends on the setting in `ecb-mouse-click-destination`) will jump to the method/variable.

  IMPORTANT: If you use the POWER-click (i.e. hold down the SHIFT-key while clicking with the primary mouse button (see Using the mouse) or RETURN (see Using the keyboard)) on a node in this buffer then the edit-buffer will be narrowed to the selected tag (see also option `ecb-tag-visit-post-actions`). But this works only for sources parsed by semantic, not by imenu or etags!

- Clicking on a node with the secondary mouse button or C-RETURN (see Usage of ECB) will jump to the method in another edit window - which one depends on the setting in `ecb-mouse-click-destination`.
- Right clicking on a node will open a popup menu where different operation on the item under the mouse cursor can be performed. The popup-menu offers commands for filtering the displayed tree-nodes, hiding/narrowing the related tags in the source-buffer and expanding/collapsing one/all tree-nodes according to a certain expansion-level.

##### 4.1.5.2 Activating/Displaying the methods ECB-window

Either use one of the predefined layouts which contain the methods ECB-window (see Changing the ECB-layout) (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 “methods” into this new layout (see Creating a new ECB-layout).

##### 4.1.5.3 Customizing the methods ECB-window

See ecb-methods for a list of all options currently available for customizing this ECB-window to your needs.