diff options
author | pommicket <pommicket@gmail.com> | 2023-01-09 23:12:09 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-09 23:12:09 -0500 |
commit | edd5188dfba93b8ffe376d0c194804f35f43dcaa (patch) | |
tree | 9e1ef13632c9e0fbfd175bc82c79f874b2b15229 /README.md | |
parent | 7f0255cb40bb85276191ec3ddffe507e53abf2ac (diff) |
misc windows fixes
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -133,12 +133,6 @@ ted has support for [LSPs](https://microsoft.github.io/language-server-protocol/ You can Ctrl+Click on an identifier to go to its definition, or Ctrl+Shift+Click to go to its declaration, or Ctrl+Alt+Click to go to its type's definition. -(clangd seems to sometimes go to the declaration even -when the definition should be available, e.g. -when Ctrl+clicking on the function declarations -in `ted.h`. This is Not My Fault, -and VSCode's clangd extension suffers from the same problem.) - You can also press Ctrl+D to get a searchable list of all functions/types where you can select one to go to its definition. @@ -177,6 +171,9 @@ sudo apt install clangd-15 # replace 15 with the highest number you can get sudo ln -s /usr/bin/clangd-15 /usr/bin/clangd ``` +For "go to definition" and "find usages" to work properly, you may need to +create a compile\_commands.json file. + ### Go The Go team's `go-pls` is enabled by default. You can download it |