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
[Advice] About the design of "combine include/exclude patterns" #48090
Comments
(Experimental duplicate detection) |
What if it would only replace the include patterns when you do that, and leave the exclude patterns in the box? Would that help?
Do you mean lost search results, because people don't realize that the results are excluded by files.exclude and search.exclude? |
Tanks for replying !
I'm wondering its difficult to deal with patterns of complex like
Yes, user might ignore the exclude in setting, especially setting of vscode has multi-level. I think setting is working for some stable usage. In search, some exclude is stable like While searching for something, I think display the condition deal to the project clearly is important, but patterns might not easy to recognize. In my opinion, I felt that the combine patterns makes user easier to copy and paster there setting, although I don't know the reason of combine it. Actually I think to read and modify a little bit long patterns in one-line box is easy to make mistake. So if it's really need to combine, how about make the input box of patterns can be a multi-line box. And user can type in multi-line to satisfy there require of search, for example:
Then while using
Very pleasure to receive your reply, thank you ~ |
Thanks for the feedback. I think a multiline box would help but wouldn't solve all the issues that people have with the new layout. I've moved back to split include/exclude boxes for now, you can try it out in the next Insiders build. More discussion at #46315 |
In release 1.22.2, a new design is approve :
That case some problem, in most cases, what user want to exclude is more stable, like
.vscode
,.git
, but what user want include is changing frequently.While combine in the same box, every time user use right click on folder and chose
search in ...
will clear all patterns inside search box, especially the exclude patterns.I know the setting of
files.exclude
but it‘s not visualized, sometimes that will case some lost of search results in special cases.How about adding a setting to set if combine include/exclude patterns .
Thanks for reviewing.
The text was updated successfully, but these errors were encountered: