-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow finding symbols in the current document #23
Comments
not sure how far this overlaps with the imenu functionality already provided by lsp-mode, but I guess I could just add an optional prefix parameter that will be used to match against returned filenames; that way you could restrict your search to a specific directory, or file, such as the file being visited by the current buffer |
Actually, imenu might be good enough. I was thinking more of "textDocument/documentSymbols" wrapped in |
Okay, on second thought this would duplicate the functionality of |
VSCode has a feature to specifically search for DocumentSymbols, and we should also have that. I'm reopening because I'm almost done implementing this. |
@nbfalcon Did you manage to implement this? For me the imenu is not very good to use. |
oh, found |
There is a function that searches the entire for symbols, but none to search only the current document.
The text was updated successfully, but these errors were encountered: