Skip to content

Commit bf189e5

Browse files
authored
Add coloring for $ and wordSepartors (#2702)
* Set colour for variables dollar * include $ when double click a variable
1 parent e529f19 commit bf189e5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/features/ISECompatibility.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export class ISECompatibilityFeature implements IFeature {
2424
{ path: "powershell.integratedConsole", name: "focusConsoleOnExecute", value: false },
2525
{ path: "files", name: "defaultLanguage", value: "powershell" },
2626
{ path: "workbench", name: "colorTheme", value: "PowerShell ISE" },
27+
{ path: "editor", name: "wordSeparators", value: "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?" },
2728
{ path: "powershell.buttons", name: "showPanelMovementButtons", value: true }
2829
];
2930
private iseCommandRegistration: vscode.Disposable;

themes/theme-psise/theme.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@
9393
"name": "Variables",
9494
"scope": [
9595
"variable",
96-
"support.variable"
96+
"support.variable",
97+
"punctuation.definition.variable.powershell",
98+
"variable.other.readwrite.powershell"
9799
],
98100
"settings": {
99101
"foreground": "#FF4500"

0 commit comments

Comments
 (0)