spacemacs/layers/+emacs/semantic
km d7820aafd6 Remove even more 24.3 related configuration
Helm-flx, which is included as a core package, requires a minimum Emacs
version of 24.4. As it stands attempting to install Spacemacs on Emacs
24.3 or below will break on helm-flx.
2016-06-20 22:26:53 -04:00
..
config.el semantic: Fix srecode-map.el in root folder at install 2016-05-14 12:51:30 -04:00
packages.el Remove even more 24.3 related configuration 2016-06-20 22:26:53 -04:00
README.org Remove some empty lines in doc 2016-04-17 00:37:47 -04:00

Semantic layer

Description

CEDET is a *C*ollection of *E*macs *D*evelopment *E*nvironment *T*ools written with the end goal of creating an advanced development environment in Emacs. CEDET includes common features such as intelligent completion, source code navigation, project management, code generation with templates. CEDET also provides a framework for working with programming languages; support for new programming languages can be added and use CEDET to provide IDE-like features. This framework is called Semantic.

Semantic is a package that provides a framework for writing parsers. Parsing is a process of analyzing source code based on programming language syntax. The packages relies on Semantic for analyzing source code and uses its results to perform smart code refactoring that based on code structure of the analyzed language, instead of plain text structure. Semantic is the core of CEDET.

Features

  • Display function or variable definition at the bottom.
  • Display current function cursor is in at the top. See this page for demos in some programming languages.
  • Support common C/C++ refactoring with semantic-refactor. See this page for demonstration of refactoring features.
  • Support Lisp source code formatting with semantic-refactor.. See this page for demonstration of Lisp formatting features.

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add semantic to the existing dotspacemacs-configuration-layers list in this file.

Key Bindings

Key Binding Description
SPC m r srefactor: refactor thing at point.