Skip to content
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

Pick fuzzy matching range by LSP text edit replace range #657

Open
Saghen opened this issue Dec 19, 2024 · 0 comments
Open

Pick fuzzy matching range by LSP text edit replace range #657

Saghen opened this issue Dec 19, 2024 · 0 comments
Labels
feature New feature or request fuzzy Filtering and sorting of completion items

Comments

@Saghen
Copy link
Owner

Saghen commented Dec 19, 2024

Feature Description

As per the LSP spec, we should fuzzy match on the range provided on the LSP item, rather than picking a global range via the keyword

If the text edit is a replace edit then the range denotes the word used for filtering. If the replace changes the text it most likely makes sense to specify a filter text to be used.

https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_completion

@Saghen Saghen added feature New feature or request fuzzy Filtering and sorting of completion items labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request fuzzy Filtering and sorting of completion items
Projects
None yet
Development

No branches or pull requests

1 participant