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

Fuzzy search for workspace symbols dosn't work #669

Closed
escherlies opened this issue Dec 17, 2021 · 1 comment · Fixed by #670
Closed

Fuzzy search for workspace symbols dosn't work #669

escherlies opened this issue Dec 17, 2021 · 1 comment · Fixed by #670
Milestone

Comments

@escherlies
Copy link

Expected Behavior

Searching for workspace symbols should fuzzy match.

Current Behavior

Seaching for workspace symbols only matches case-sensitive on the exact term. However, searching for a symbol in the current editor view works fine with fuzzy matching.

Possible Solution

I read in similar github vscode issues that this might be related to the language server of the specifig language.
(i.e. microsoft/vscode#33746)

Steps to Reproduce

  1. For example use https://github.com/rtfeldman/elm-spa-example
  2. Searching for workspace symbols with exact, case-sensitive term #slowT finds slowThreshold in src/Loading.elm.
    Screenshot 2021-12-17 at 20 04 03
  3. Trying to fuzzy search for workspace symbols with #slt doesn't match anything
    Screenshot 2021-12-17 at 19 47 24
  4. Opening src/Loading.elm and searching for editor symbols with @slt finds symbol slowThreshold (fuzzy seach works)
    Screenshot 2021-12-17 at 19 47 43

Context

I'm trying to navigate through a little larger Elm codebase (~53 Files).

Your Environment

  • Version used: Elm 0.19.1-5, VSCode Elm Extension v2.3.0
  • Editor name and version: VSCode 1.62.3
  • Environment name and version: Nodejs v14.18.1
  • Operating System and version: MacOS 12.0.1
@razzeee razzeee transferred this issue from elm-tooling/elm-language-client-vscode Dec 25, 2021
razzeee added a commit that referenced this issue Dec 25, 2021
@razzeee razzeee added this to the 2.4 milestone Dec 25, 2021
@escherlies
Copy link
Author

Awesome, thanks! ✨

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 a pull request may close this issue.

2 participants