Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kljohann/clang-format.el

Format code using clang-format
https://github.com/kljohann/clang-format.el

Last synced: about 1 month ago
JSON representation

Format code using clang-format

Awesome Lists containing this project

README

        

# clang-format.el

This package allows to filter code through clang-format to fix its formatting.
clang-format is a tool that formats C/C++/Obj-C code according to a set of
style options, see [Clang-Format Style Options][style].
Note that clang-format 3.4 or newer is required.

## Installation

clang-format.el is available on [MELPA][]:

M-x package-install clang-format
or can be obtained from [upstream][], where the version originally contained in this
repository has been moved to (see [#2][]).

[MELPA]: http://melpa.org/#/clang-format
[style]: http://clang.llvm.org/docs/ClangFormatStyleOptions.html
[upstream]: https://llvm.org/svn/llvm-project/cfe/trunk/tools/clang-format/clang-format.el
[#2]: https://github.com/kljohann/clang-format.el/issues/2