From b6d8d6ef14a2d506878e94e64fde5c5a53528c5c Mon Sep 17 00:00:00 2001 From: Tyler Leonhardt Date: Tue, 14 Apr 2020 09:06:40 -0700 Subject: [PATCH] Add PowerShell herestring autoclosing pairs --- extensions/powershell/language-configuration.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/powershell/language-configuration.json b/extensions/powershell/language-configuration.json index f30c0f5f0510f..719b5f81b5258 100644 --- a/extensions/powershell/language-configuration.json +++ b/extensions/powershell/language-configuration.json @@ -12,6 +12,8 @@ ["{", "}"], ["[", "]"], ["(", ")"], + { "open": "@'", "close": "\n'@", "notIn": ["string", "comment"]}, + { "open": "@\"", "close": "\n\"@", "notIn": ["string", "comment"]}, { "open": "\"", "close": "\"", "notIn": ["string"]}, { "open": "'", "close": "'", "notIn": ["string", "comment"]}, ["<#", "#>"] @@ -29,4 +31,4 @@ "end": "^\\s*#[eE]nd[rR]egion\\b" } } -} \ No newline at end of file +}