mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 15:45:08 +00:00
Updated LSP Extensions (markdown)
parent
76ed4d4a4c
commit
0c71fe0e1e
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Aside from definitions/references/workspace symbol, ccls provides some LSP extensions that find base/derived classes/methods, vars of a type, callers of a function.
|
Aside from definitions/references/workspace symbol, ccls provides some LSP extensions that find base/derived classes/methods, vars of a type, callers of a function.
|
||||||
|
|
||||||
### [`$ccls/vars`](https://github.com/MaskRay/ccls/blob/master/src/messages/ccls_call.cc)
|
### [`$ccls/vars`](https://github.com/MaskRay/ccls/blob/master/src/messages/ccls_vars.cc)
|
||||||
|
|
||||||
It can be seen as a specialized `textDocument/references`. It finds all variables when the cursor is at a type of a variable (the type of the variable will be used). Whether local variables/parameters/struct members are returned can be specified with `kind`.
|
It can be seen as a specialized `textDocument/references`. It finds all variables when the cursor is at a type of a variable (the type of the variable will be used). Whether local variables/parameters/struct members are returned can be specified with `kind`.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user