Next: , Previous: Overview, Up: Top

2 Installation and Basic Configuration

If your are compiling CEDET from the cedet bzr repository on sourceforge, please see the INSTALL file in the repository for directions to overriding the CEDET that comes with Emacs with the development version.

If you want to use the version of CEDET that comes with Emacs, then move on to the next section.

  1. Configuration

    To turn on basic Semantic parsing of your files and several development modes, you can use this configuration:

              ;; Add further minor-modes to be enabled by semantic-mode.
              ;; See doc-string of `semantic-default-submodes' for other things
              ;; you can use here.
              (add-to-list 'semantic-default-submodes 'global-semantic-idle-summary-mode t)
              (add-to-list 'semantic-default-submodes 'global-semantic-idle-completions-mode t)
              (add-to-list 'semantic-default-submodes 'global-cedet-m3-minor-mode t)
              ;; Enable Semantic
              (semantic-mode 1)
              ;; Enable EDE (Project Management) features
              (global-ede-mode 1)

    You will likely need to configure CEDET to your specific use. Visit the other chapters in this manual for samples to get some ideas on possible configuration scenarios.

  2. Contribute to CEDET

    For general discussions on development of these tools, use the mailing list via the URL:

    For semantic development use the mailing list via the URL:

    For EIEIO use the mailing list via the URL:

  3. Install Additional Tools

    You may also need to download some of the following files for more obscure features.

    To use the JavaScript parser: javascript-mode.el :

    To use Exuberent ctags to emable Semantic support in more major modes, or as an extra database backend parser, install ctags:

    For developing Android programs:

    For developing Arduino programs: Major Mode: Arduino IDE:

    To use the UML chart generation from M-x semantic-dot graphviz dot programs, including dotty

    To use the graphviz dot parser: graphviz-dot-mode.el see the commentary in cogre/wisent-dot.el