Use Emacs to build a development environment and install ECB and cedet

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.