Vscode-powershell: Select $variable with double click in editor

Created on 10 Mar 2020  路  3Comments  路  Source: PowerShell/vscode-powershell

As a developer I want to select a variable including the $ so that I don't have to select it manually by sliding.

When a user double-click a variable, the whole variable including the $ is selected

Area-Configuration Area-Documentation ISE-Compatibility Issue-Enhancement

Most helpful comment

"[powershell]": {
    "editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?"
}

Add this to your settings JSON in VS Code and now your double clicks on a variable names include the dollar sign '$'.

From my tweet:
https://twitter.com/TylerLeonhardt/status/1102749805233737729

All 3 comments

"[powershell]": {
    "editor.wordSeparators": "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?"
}

Add this to your settings JSON in VS Code and now your double clicks on a variable names include the dollar sign '$'.

From my tweet:
https://twitter.com/TylerLeonhardt/status/1102749805233737729

I need to add this to the ISE compat doc

We should also consider this for ISE Mode

Was this page helpful?
0 / 5 - 0 ratings