-
Notifications
You must be signed in to change notification settings - Fork 511
Word Separator configuration for "$" ignored #3456
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
Comments
You'll need to set those options for PowerShell files as well, as we supply a default value for PowerShell files. So just add this to your "[powershell]": {
"editor.wordSeparators": "<copy/paste from your general editor.wordSeparators>"
} |
Also, you may want to inspect why you have three separate extensions installed 🧐 |
Heya Andy, Any way to get this setting exposed to the config UI though? As it is there is zero discoverability to find this on your own. |
I'd love to do it through the UI, I just need to learn more about the VS Code extension API to do it right. I'd say that's totally up for grabs if you wanted to make it happen! |
Prerequisites
Summary
After modifying the VSCode settings for
Editor: Word Separators
, removing both-
and$
from the default list will have VSCode ignore some of that setting for the PowerShell extension only :-
is honored - doubleclicking on a cmdlet selects the full name$
is ignored - doubleclicking on a variable does not select the $ of the variable-
is honored - doubleclicking on a cmdlet selects the full name$
is honored - doubleclicking on a variable selects the full nameThe full current value of the
Editor: Word Separators
setting is:PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
Set Word Separators to:
Then doubleclick on a variable in a PowerShell script
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: