Filtering Sources - ECB - the Emacs Code Browser
Description: ECB - the Emacs Code Browser

Next: Filtering History, Previous: Filtering Directories, Up: Filtering the tree-buffers

#### 6.7.2 Applying filters to the Sources-buffer

##### 6.7.2.1 Interactive Sources-filters

The command `ecb-sources-filter` allows to filter these tree-buffer either by a regular expression or by an extension (e.g. java, cc, el for java-, c++- rsp elisp-sources). This functionality is also available via the popup-menu of the Sources-tree-buffer.

The currently applied filter is indicated in the modeline of the related tree-buffer. Applying a new filter replaces an eventually already applied filter.

##### 6.7.2.2 Default Sources-filters

The option `ecb-source-file-regexps` allow to specify which source-files should be displayed and which not. This is done on a directory-basis, ie. for each directory-regexp the files to display can be specified. See the documentation of this option for all details.

In addition to this option you should also know the option `ecb-sources-exclude-cvsignore` (see Filtering Directories).