Saturday, November 15, 2008

Source code editor - emacs + ecb

To browse, search, and edit the source code of linux kernel, the general editors is not a good tool. One of the best way is using emacs + ECB(Emacs Code Browse)

To use ECB, it supports following functional windows:
  • Directory tree window
  • Source code file list window
  • Display current opened file's functions, classes, method, and ....etc.
  • The history opened files window
  • Some convenient editing functions

To start the editing mode, after run emacs, presses {Alt+X} keys, keying ecb-activate{Enter}, now, you are preparing to edit source code file, the display window is as the showing picture.


To install emacs and ecb:

Fedora Core 9:

# yum install emacs ecb

Ubuntu 8.10:

# apt-get install emacs ecb
or
# apt-get install emacs22 ecb

If you want to install emacs for MS Windows, go to emacs,s web site. Then read some configuration from ecb web site.

No comments: