Emacs Installs Cedet and ECB

Source: Internet
Author: User

Emacs is a powerful editor. In linux/ There are a wide range of users in Unix. It can be used as a word processing software. It can also be used as an integrated development environment. Many people use Emacs to compile programs with only a few built-in patterns. In fact, Emacs has a very good integrated development environment of the ECB. After installation, you can make Emacs look like vs. This article will instruct you to install ECB and Cedet under Emacs.

I'm really lazy. I wouldn't have written it if I could find it online. How to install the ECB and Cedet Chinese articles in Emacs is really rare. So I'm going to write an article. The contents of this article can be found in the.
ECB http://ecb.sourceforge.net/
Cedet http://cedet.sourceforge.net/
Found on the website. But it's all in English. And I am a lite version of this. If there is a problem with the installation. The content of the above two sites is the main one.
The main function of the ECB is the graphical interface. There are several modes to choose from
There are several bags inside cedet. Semantic is a grammatical analysis. Eieio is a tool for object-oriented design, etc.

Purpose of this article:
Guide the installation of the ECB and Cedet to build a c,c++,lisp development environment

Premise:
You have a Linux or Unix system.
GNU Emacs

If you are unable to meet both of these conditions, please install a Linux distribution. and install Emacs.

Well, let's show you the outfit. It's cool.


More pictures please see http://ecb.sourceforge.net/

Download the installation package for both software first
ECB http://ftp1.sourceforge.net/ecb/ecb-2.32.tar.gz
Cedet
http://sourceforge.net/project/showfiles.php?group_id=17886&release_id=513873

And then
Tar zxvf ecb-2.32.tar.gz
Tar zxvf cedet-1.0pre4.tar.gz
CD Cedet-1.0pre4
Make
Wait for the Cedet to complete.
There should be an. emacs file under your user directory (there is a point in front of it). This file is a configuration file for Emacs. Now we're going to change this file (if we don't create one ourselves). Add the following paragraph. Note that the directory of Load-file's line should be changed by itself.
;; Load Cedet
(load-file "You store Cedet's directory/common/cedet.el")
;; Mine is (load-file "~/cedet-1.0/common/cedet.el")

;;  Enabling various SEMANTIC minor modes. See Semantic/install for more ideas.
;; Select one of the following:

;; * This enables the database and idle reparse engines
;;( Semantic-load-enable-minimum-features)

;; * This enables some tools useful for coding, such as summary mode
;; Imenu support, and the Semantic Navigator
(semantic-load-enable-code-helpers)

;; * This enables even more coding tools such as the nascent IntelliSense mode
;; Decoration mode, and Stickyfunc mode (plus regular code helpers)
;; (semantic-load-enable-guady-code-helpers)

;; * This turns in Which-func support (Plus all other code helpers)
;; (semantic-load-enable-excessive-code-helpers)

;; This turns on modes the aid in grammar writing and semantic tool
;;  Development. It does not enable any other features such as code
;; Helpers above.
;; (semantic-load-enable-semantic-debugging-helpers)

So the Cedet is ready.

Next, install the ECB
Join in. Emacs

(Add-to-list ' Load-path "You put the ECB directory")
;; For example (Add-to-list ' Load-path "~/.emacs.d/ecb-2.32")
(Require ' ECB)

Note that this segment should be appended to the Cedet configuration.

Restart Emacs

Open a C or C + + file in Emacs. Select tool
Start Code Browser (ECB)
Oh, let's see what's changed.

Both the ECB and the Cedet have scary features. See the Install file in M-x Ecb-show-help and Cedet package for more details.

(turn) Emacs installs Cedet and ECB

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.