You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if there is a way to search for a symbol directly instead of pointing to file and line number where that symbol is mentioned.
For eg:
Currently
lsp.request_definition("myfile.py", 10, 2)
searches for the symbol (say something called SymbolName) that is mentioned in the 11th line, and 3rd character. I would like to check if something like lsp.request_definition("SymbolName") is possible.
Hello,
Thank you for the great code!
I was wondering if there is a way to search for a symbol directly instead of pointing to file and line number where that symbol is mentioned.
For eg:
Currently
searches for the symbol (say something called
SymbolName
) that is mentioned in the 11th line, and 3rd character. I would like to check if something likelsp.request_definition("SymbolName")
is possible.Thank you!
Edit:
LSP specification seems to do something for this: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspace_symbol
The text was updated successfully, but these errors were encountered: