Node:Integrating speedbar, Next:Optimize scrolling, Previous:Simulating speedbar, Up:Tips and tricks
It is very easy to integrate speedbar into ECB. There are two different ways to do this:
ecb-create-new-layout. This way is not described in more details because there is nothing more to describe - just create your layout.
In general integrating speedbar into the ECB-frame makes sense for people...
ecb-use-speedbar-instead-native-tree-bufferand set it to
Note: It is not necessary to integrate speedbar if you only want parsing sources not supported by semantic. From version 1.94 on ECB supports native parsing and displaying of such sources (see Non-semantic sources)!
Regardless the group you belong, with the speedbar-integration feature of ECB you can combine both worlds, the speedbar- and the ECB-world:
Because speedbar has also display-modes for buffers and info-nodes and
some other useful things (which can be changed by the speedbar-command
speedbar-change-initial-expansion-list we recommend layouts
like "left15" or "leftright3" for using with speedbar.
ecb-use-speedbar-instead-native-tree-bufferto not nil. After this the chosen window of ECB will contain a full featured speedbar (the only difference to standard speedbar is not residing in an extra frame).
Note: If you belong to the first group of people (s.a.) a similar
effect and usability is available by setting
ecb-use-speedbar-instead-native-tree-buffer to nil and setting
ecb-show-sources-in-directories-buffer to not nil, because this
combination displays also directories and sources in one window.
So with the option
you have the choice which way of displaying and handling "things"
(directories, sources, methods...) you want (the speedbar- or the
During speedbar is running within ECB (i.e.
ecb-use-speedbar-instead-native-tree-buffer is not nil) the
speedbar is disabled and the speedbar-command
speedbar-get-focus switches between the speedbar-window and the
IMPORTANT: ECB can only integrate speedbar-versions >=
0.14beta1! If you use lower versions of speedbar
ecb-use-speedbar-for-directories has no effect.
Only one of them is needed if you use speedbar because speedbar displays directories and sources in one window. But if you like wasting space then you can also use a layout with both windows...
The standard behavior is switching between the speedbar-frame and the attached frame, but this make obviously no sense during running speedbar with ECB.