Skip to content

Overhaul WorkspaceSymbolProvider #772

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

Merged

Conversation

isc-bsaviano
Copy link
Contributor

  • Search for all class members, not just methods.
  • Don't search for Studio documents so we avoid duplication functionality that's covered by the FileSearchProvider (Quick Open).
  • Properly translate query to a %MATCHES compatible pattern while following the interpretation guidelines.
  • Use the same SymbolKind as the Language Server for all class member types for consistency.
  • Use the vscode.executeDocumentSymbolProvider command to find the location of the symbol.
  • Improve performance by only computing symbol location when selected by the user.
  • Remove unneeded setting "objectscript.searchAllDocTypes".

- Search for all class members, not just methods.
- Don't search for Studio documents so we avoid duplication functionality that's covered by the `FileSearchProvider` (Quick Open).
- Properly translate `query` to a `%MATCHES` compatible pattern while following the interpretation guidelines.
- Use the same `SymbolKind` as the Language Server for all class member types for consistency.
- Use the `vscode.executeDocumentSymbolProvider` command to find the location of the symbol.
- Improve performance by only computing symbol location when selected by the user.
- Remove unneeded setting `"objectscript.searchAllDocTypes"`.
@isc-bsaviano isc-bsaviano requested a review from daimor November 17, 2021 13:11
@isc-bsaviano isc-bsaviano merged commit 421ea58 into intersystems-community:master Nov 17, 2021
@isc-bsaviano isc-bsaviano deleted the workspace-symbol branch November 17, 2021 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants