dodo
This commit is contained in:
parent
8ea5e9a40d
commit
50a77ac91d
6 changed files with 133 additions and 10 deletions
29
lsp.md
Normal file
29
lsp.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# LSP
|
||||
|
||||
## QUEL ENFER
|
||||
|
||||
bon le lsp casse les couilles, y a plusieurs moyens de régler ce problème (mais aucun ne marche)
|
||||
|
||||
par exemple y a ça qui génère le `compile_commands.json` qui est censé aider le lsp
|
||||
```sh
|
||||
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1
|
||||
```
|
||||
|
||||
[Bear](https://github.com/rizsotto/Bear) peut le faire aussi
|
||||
```sh
|
||||
bear -- <build commands>
|
||||
```
|
||||
|
||||
ou alors y a la fichier .clangd
|
||||
|
||||
**Mais pour l'instant rien ne marche !!**
|
||||
Donc on va faire avec en attendant
|
||||
|
||||
## Docs
|
||||
|
||||
- [Some nice gist](https://gist.github.com/Strus/042a92a00070a943053006bf46912ae9)
|
||||
- [Clangd official documentation](https://clangd.llvm.org/installation)
|
||||
|
||||
## Update
|
||||
|
||||
**ÇA MARCHE** (jsp si c'est grace au clangd ou la commande cmake mais oklm)
|
||||
Loading…
Add table
Add a link
Reference in a new issue