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

[QUESTION] - Why does a whitespace break the search query? #428

Closed
xh3b4sd opened this issue Sep 28, 2020 · 1 comment
Closed

[QUESTION] - Why does a whitespace break the search query? #428

xh3b4sd opened this issue Sep 28, 2020 · 1 comment
Labels
depends on (in coma) Depends on issues from VS Code, but that issue is not planned/has no update more than year duplicate enhancement

Comments

@xh3b4sd
Copy link

xh3b4sd commented Sep 28, 2020

Fuzzy search in vsCode is usually tolerant about whitespaces. I can get the project manager settings with or without whitespace in the search query. This is expected and I like it. It is useful.

Screenshot 2020-09-28 at 11 09 40

Screenshot 2020-09-28 at 11 09 47

Searching for projects implements a different behaviour. As soon as the search query has a whitespace in it I do not find my projects anymore. This behaviour is consistent and is not bound to special characters like - within the project name. This behaviour is unfortunate and I think it makes sense to align with the general fuzzy search behaviour of vsCode.

Screenshot 2020-09-28 at 11 09 58

Screenshot 2020-09-28 at 11 10 03

We could argue this is a bug report or feature request. I do not know. I wanted to ask about the intention of the implementation so far and if I maybe do something wrong. How is this meant to be? What do people think how this should work? Love project manager. ❤️

@alefragnani
Copy link
Owner

HI @xh3b4sd ,

Thank you for your kind words. I'm glad to know you like it 👍

About searching, unfortunately I have no control. It's entirely handled by VS Code itself within its APIs. Not only filtering but also sorting.

Right now there are at least two open issues in VS Code to handle searching/filtering (microsoft/vscode#14727 and microsoft/vscode#34088). I suggest you to upvote there, to give more visibility to the VS Code team.

Hope this helps

@alefragnani alefragnani added depends on (in coma) Depends on issues from VS Code, but that issue is not planned/has no update more than year duplicate enhancement and removed question labels Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depends on (in coma) Depends on issues from VS Code, but that issue is not planned/has no update more than year duplicate enhancement
Projects
None yet
Development

No branches or pull requests

2 participants