Browse Source

Cleanup of clang-format documentation.

merge-requests/365/head
eidheim 10 years ago
parent
commit
8e7c3f9633
  1. 2
      README.md
  2. 12
      docs/install.md

2
README.md

@ -22,7 +22,7 @@ towards libclang with speed and ease of use in mind.
* Run shell commands within JuCi++, even on Windows
* Regex search and replace
* Smart paste, keys and indentation
* Auto-indentation of files through clang-format (on some systems you need to create a symbolic link `/usr/local/bin/clang-format` to a specific installed clang-format-version)
* Auto-indentation of C++ file buffers through [clang-format](http://clang.llvm.org/docs/ClangFormat.html)
* Source minimap
* Full UTF-8 support

12
docs/install.md

@ -15,6 +15,12 @@ make
sudo make install
```
To use clang-format for auto-indentation of C++ files (replace \[version\] with an available clang-format version):
```sh
sudo apt-get install clang-format-[version]
sudo ln -s /usr/bin/clang-format-[version] /usr/local/bin/clang-format
```
## Ubuntu 14/Linux Mint 17
Install dependencies:
```sh
@ -34,6 +40,12 @@ make
sudo make install
```
To use clang-format for auto-indentation of C++ files (replace \[version\] with an available clang-format version):
```sh
sudo apt-get install clang-format-[version]
sudo ln -s /usr/bin/clang-format-[version] /usr/local/bin/clang-format
```
## OS X with Homebrew (http://brew.sh/)
Install dependencies (installing llvm may take some time):
```sh

Loading…
Cancel
Save