mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 00:55:08 +00:00
editor section
parent
c34494d941
commit
d8346b3a1c
@ -1,7 +1,7 @@
|
|||||||
### Outline
|
### Outline
|
||||||
|
|
||||||
1. Build ccls / prebuilt binary (below)
|
1. Build ccls / prebuilt binary (below)
|
||||||
2. Setup your editor [[Editor configuration]]
|
2. Setup your editor
|
||||||
3. Project setup: generate `compile_commands.json` or `.ccls`
|
3. Project setup: generate `compile_commands.json` or `.ccls`
|
||||||
|
|
||||||
### Build the language server
|
### Build the language server
|
||||||
@ -25,6 +25,10 @@ If your `libstdc++` is too old (no C++17 header files) or have an old GCC/Clang,
|
|||||||
* `cmake -H. -Brelease -DCLANG_USE_BUNDLED_LIBC++=on`, e.g. FreeBSD 11
|
* `cmake -H. -Brelease -DCLANG_USE_BUNDLED_LIBC++=on`, e.g. FreeBSD 11
|
||||||
* `cmake -H. -Brelease`, Linux with newer libstdc++, e.g. Arch Linux, FreeBSD 12
|
* `cmake -H. -Brelease`, Linux with newer libstdc++, e.g. Arch Linux, FreeBSD 12
|
||||||
|
|
||||||
|
### Setup your editor
|
||||||
|
|
||||||
|
Find your editor from the sidebar under the section "Editor configuration".
|
||||||
|
|
||||||
### Project setup
|
### Project setup
|
||||||
|
|
||||||
#### [[compile_commands.json]] (Best)
|
#### [[compile_commands.json]] (Best)
|
||||||
|
Loading…
Reference in New Issue
Block a user