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

Disable fuzzy matcher in intellisense #128963

Closed
darkguy2008 opened this issue Jul 19, 2021 · 4 comments
Closed

Disable fuzzy matcher in intellisense #128963

darkguy2008 opened this issue Jul 19, 2021 · 4 comments
Assignees
Labels
info-needed Issue requires more information from poster suggest IntelliSense, Auto Complete

Comments

@darkguy2008
Copy link

darkguy2008 commented Jul 19, 2021

I'm not sure if this is related to #64367 since I'm using OmniSharp, but I haven't found anything in Google regarding this feature that I'd like to disable.

There's different concepts of autocomplete in VSCode (fuzzy, intellisense, autocomplete, etc.) so I'm also puzzled to where exactly belongs what I mean, but here I go:

This is the current result, notice how far the scrollbar is from the suggestions box (plus, I don't know why it thinks it should start at "Process"...):
image

This is the expected result:
image

Is there any way to avoid this to happen? To only show the fields marked as properties (with the wrench icon) ?

I've already tried to set this in settings but it doesn't work:
image

Thanks in advance!

@jrieken
Copy link
Member

jrieken commented Jul 19, 2021

This is unlikely related to fuzzy matching your samples have no prefix. This is likely an issue with the default sorting that's provided by the extension. You can find that out yourself by hitting cmd+/ while IntelliSense shows. It will toggle the details window into an explain view, showing score and sortText

@jrieken jrieken added info-needed Issue requires more information from poster suggest IntelliSense, Auto Complete labels Jul 19, 2021
@darkguy2008
Copy link
Author

darkguy2008 commented Jul 20, 2021

This is unlikely related to fuzzy matching your samples have no prefix. This is likely an issue with the default sorting that's provided by the extension. You can find that out yourself by hitting cmd+/ while IntelliSense shows. It will toggle the details window into an explain view, showing score and sortText

Thanks! The issue disappeared after a while but I managed to reproduce it again, here's what I see:

image

And here's how it should have been (I used page-up/scroll to the top to highlight the first element using the arrow keys)

image

I think (but not sure) what I did to trigger it was:

  1. Have a main A console project that includes a classlib project B
  2. Create a new class in project B
  3. Try to use that class in project A and try to use its initializer.

I'll be happy to provide more info if/when requested. In any case, I would still like to remove the items that have this icon:

image

Or in other words, keep only the ones with either the wrench or the purple/blue box (i.e. props/methods/vars) only.

Thanks!

@jrieken
Copy link
Member

jrieken commented Jul 21, 2021

Please try to set this setting editor.suggestSelection to first

@github-actions github-actions bot locked and limited conversation to collaborators Sep 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster suggest IntelliSense, Auto Complete
Projects
None yet
Development

No branches or pull requests

3 participants
@jrieken @darkguy2008 and others