Skip to content

Improve workspace/symbol filtering #1396

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
merged 3 commits into from
Apr 26, 2025

Conversation

jakcharvat
Copy link
Contributor

This PR changes two things:

  • When creating keywords out of symbols for workspace_search, symbol names are now split at whitespace and flattened with the tags representing the types. This makes it possible to ever match multi-word symbols, which wasn't possibly until now because the query was whitespace split and the name wasn't. Now they both are.
  • Filter the symbols based on any keyword containing, not being equal to, any word of the query. This way symbols show up properly as the user types the query without having to fully type out a word for the symbol to pop up.

@pfoerster pfoerster merged commit 86d5a3c into latex-lsp:master Apr 26, 2025
10 checks passed
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