From e7234604bd9282c20f329e02450f10929791cdca Mon Sep 17 00:00:00 2001 From: MJECloud Date: Thu, 14 May 2020 23:03:40 +0200 Subject: [PATCH 1/2] Set colour for variables dollar --- themes/theme-psise/theme.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/themes/theme-psise/theme.json b/themes/theme-psise/theme.json index a4b39d9f48..9f78182bf5 100644 --- a/themes/theme-psise/theme.json +++ b/themes/theme-psise/theme.json @@ -93,7 +93,9 @@ "name": "Variables", "scope": [ "variable", - "support.variable" + "support.variable", + "punctuation.definition.variable.powershell", + "variable.other.readwrite.powershell" ], "settings": { "foreground": "#FF4500" From eb1155c1abb5f18f3429acc47a62d866f5421fed Mon Sep 17 00:00:00 2001 From: MJECloud Date: Thu, 14 May 2020 23:04:50 +0200 Subject: [PATCH 2/2] include $ when double click a variable --- src/features/ISECompatibility.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/features/ISECompatibility.ts b/src/features/ISECompatibility.ts index 6bdf3f1edf..9584f02715 100644 --- a/src/features/ISECompatibility.ts +++ b/src/features/ISECompatibility.ts @@ -24,6 +24,7 @@ export class ISECompatibilityFeature implements IFeature { { path: "powershell.integratedConsole", name: "focusConsoleOnExecute", value: false }, { path: "files", name: "defaultLanguage", value: "powershell" }, { path: "workbench", name: "colorTheme", value: "PowerShell ISE" }, + { path: "editor", name: "wordSeparators", value: "`~!@#%^&*()-=+[{]}\\|;:'\",.<>/?" } ]; private iseCommandRegistration: vscode.Disposable; private defaultCommandRegistration: vscode.Disposable;