|
|
@@ -225,6 +225,15 @@ considering if they fit your workflow.
|
|
|
you should be prompted to use Carbon's
|
|
|
[devcontainer](/.devcontainer/devcontainer.json) with "Reopen in
|
|
|
container".
|
|
|
+- [clangd](https://clangd.llvm.org/installation): An LSP server implementation
|
|
|
+ for C/C++.
|
|
|
+ - To ensure that `clangd` reports accurate diagnostics. It needs a
|
|
|
+ generated file called `compile_commands.json`. This can be generated by
|
|
|
+ invoking the command below:
|
|
|
+ ```
|
|
|
+ ./scripts/create_compdb.py
|
|
|
+ ```
|
|
|
+ - **NOTE**: This assumes you have `python` 3 installed on your system.
|
|
|
|
|
|
### Manually building Clang and LLVM (not recommended)
|
|
|
|