Address: http://blog.csdn.net/hide1713/article/details/1647209
More pictures see http://ecb.sourceforge.net/
First download the installation packages of the two software
ECB Http://ecb.sourceforge.net/
Cedet Http://cedet.sourceforge.net/
Then
Tar zxvf ecb-2.32.tar.gz
CD cedet-1.0pre4
Make (ECB needs to setCedet = ~ /. Emacs. d/cedet-1.0pre7)
After the cedet is generated
There should be one under your user directory. emacs file (previous point ). this file is the configuration file of Emacs. now we need to modify this file (if there is no file, we can create one ourselves ). add the following section. note: Change the directory of the load-file line by yourself.
; Cedet
(Load - File " /Home/M/cedet-1.0pre7/Common/Cedet. El " ); Your installation directory
( Global - Ede - Mode 1 )
(Semantic - Load - Enable - Gaudy - Code - Helpers)
( Global - Srecode - Minor - Mode 1 )
Install ECB
Tar zxvf cedet-1.0pre4.tar.gz
Add in. emacs
; ECB
(Add-To-List'Load-Path
"/Home/M/ecb-2.40"); Decompress the directory of your ECB
(Require'ECB)
(Require'ECB-autoloads)
We recommend that you set the following shortcut keys.
(Global-set-Key (KBD "<F7>") 'ecb-minor-mode); Enable EJB
; EJB shortcut key
( Global - Set - Key (KBD " C-<left> " ) ' Windmove-left); left window
( Global - Set - Key (KBD " C-<right> " ) ' Windmove-right); Right window
( Global - Set - Key (KBD " C-<up> " ) ' Windmove-up); upper window
( Global - Set - Key (KBD " C-<down> " ) ' Windmove-down); window below
:
End