Node:Integrating speedbar, Next:Optimize scrolling, Previous:Simulating speedbar, Up:Tips and tricks
It is very easy to integrate speedbar in the directories window of ECB. This makes sense for people...
Regardles 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
, which is bound for
convenience to the keysequence C-c . bc in the
ecb-key-map
) we recommend layouts like "left15" or
"leftright3" for using with speedbar.
ecb-use-speedbar-for-directories
to not
nil. After this the directories 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 useability is available by setting
ecb-use-speedbar-for-directories
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 ecb-use-speedbar-for-directories
you have
the choice which way of displaying and handling directories and
source-files you want (the speedbar- or the ECB-way).
During speedbar is running within ECB (i.e.
ecb-use-speedbar-for-directories
is not nil) the
speedbar-command speedbar
is disabled and the speedbar-command
speedbar-get-focus
switches between the speedbar-window and the
edit-window2.
NOTE: ECB can only integrate speedbar-versions >= 0.14beta1!
If you use lower versions of speedbar
ecb-use-speedbar-for-directories
has no effect.
The latter one is not needed if you use speedbar because speedbar displays directories and sources in one window. But if you like you can also use a sources window too...
The standard behavior is switching between the speedbar-frame and the attached frame, but this make obviously no sense during running speedbar with ECB.