-
Notifications
You must be signed in to change notification settings - Fork 522
Description
Prerequisites
- I have written a descriptive issue title.
- I have searched all issues to ensure it has not already been reported.
Summary
In the settings of Visual Studio Code, by setting editor.snippetSuggestions to "top",
snippets are displayed at the top of the suggestions, making it easier to write code.
However, unnecessary snippets may be prioritized and displayed, which can reduce productivity.
For example
Get-ChildItem -When I type this, the expected candidates should be these options.

However, actually, unnecessary snippets are prioritized for display.

The reason for this is that when "-" is typed, snippets containing "-" in the prefix are prioritized for display.
I think this is a specification that reduces productivity.
Proposed Design
I think that the use of "-" in snippet prefixes should be prohibited.
For example
"prefix": "do_until"
"prefix": "doUntil"
Many prefixes use "-" in snippets\PowerShell.json,
but I don't think it's absolutely necessary to use "-".
I was able to address this issue by replacing all "-" in the prefix of "PowerShell.json" to "_".
Please consider this. Thank you.