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 cedet-devel@sourceforge.net via the URL:

    http://lists.sourceforge.net/lists/listinfo/cedet-devel

    For semantic development use the mailing list cedet-semantic.net via the URL:

    http://lists.sourceforge.net/lists/listinfo/cedet-semantic

    For EIEIO use the mailing list cedet-eieio@sourceforge.net via the URL:

    http://lists.sourceforge.net/lists/listinfo/cedet-eieio

  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 : http://www.emacswiki.org/cgi-bin/wiki/JavaScriptMode

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

    For developing Android programs: http://developer.android.com/sdk/index.html.

    For developing Arduino programs: Major Mode: https://github.com/bookest/arduino-mode Arduino IDE:http://arduino.cc/en/Main/Software

    To use the UML chart generation from M-x semantic-dot graphviz dot programs, including dotty http://www.graphviz.org/

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