Skip to content

fuzzy matching #491

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 2 commits into from
Feb 28, 2021
Merged

fuzzy matching #491

merged 2 commits into from
Feb 28, 2021

Conversation

princemaple
Copy link
Contributor

@princemaple princemaple commented Feb 16, 2021

This is an accompanying PR for elixir-lsp/elixir_sense#121

@lukaszsamson

CI is going to be red, as expected.

Best way to move forward I guess is,

@princemaple
Copy link
Contributor Author

I've pushed new commits to make the CI re-run. This is all green now.
I forgot that it takes manual update to use the latest elixir_sense, so this is not as urgent as I initially thought.

Anyway, this PR brings elixir_sense up to the latest version that contains the fuzzy matching and updates the tests to avoid failures and reflect the fuzzy behavior.

@princemaple princemaple changed the title prepare tests for fuzzy matching fuzzy matching Feb 23, 2021
Copy link
Member

@axelson axelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is pretty great! ❤️

In the future we may want to consider making this configurable, but that depends on how much someone wants to keep the strict prefix matching. And it would be nice to not have to maintain the code to support multiple types of matching.

@axelson axelson merged commit e1538ed into elixir-lsp:master Feb 28, 2021
@princemaple
Copy link
Contributor Author

🎉

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.

3 participants