# C/C++ contribution layer for Spacemacs ![cc++](img/ccpp.jpg) ![cmake](img/cmake.png) **Table of Contents** - [C/C++ contribution layer for Spacemacs](#cc-contribution-layer-for-spacemacs) - [Description](#description) - [Install](#install) ## Description This layer adds configuration for C/C++ language as well support for [CMake][] scripts. ## Features - Support syntax checking with Clang. - Display function or variable definition at the bottom. - Display current function cursor is in at the top. - Support common refactoring with Srefactor. See [this page](https://github.com/tuhdo/semantic-refactor/blob/master/srefactor-demos/demos.org) for demonstration of refactoring features. **This layer is not fully adapted for Spacemacs, it needs you, C/C++ experts, to improve it and make it consistent with the Spacemacs experience.** ## Install To use this contribution add it to your `~/.spacemacs` ```elisp (setq-default dotspacemacs-configuration-layers '(c-c++)) ``` [CMake]: http://www.cmake.org/