From ecc1ffc7b60d183ab540f2d2e35bf4f1658e7d85 Mon Sep 17 00:00:00 2001 From: "Stephen Weatherford (MSFT)" Date: Wed, 29 Apr 2020 15:33:23 -0700 Subject: [PATCH] Param completions part 3, minor changes (#656) --- assets/jsonsnippets.jsonc | 9 --------- src/AzureRMTools.ts | 1 + 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/assets/jsonsnippets.jsonc b/assets/jsonsnippets.jsonc index c0677f577..1e259b4c1 100644 --- a/assets/jsonsnippets.jsonc +++ b/assets/jsonsnippets.jsonc @@ -70,14 +70,5 @@ "}" ], "description": "Parameters Template" - }, - "Parameter Value": { - "prefix": "arm-param-value", - "body": [ - "\"${1:parameter1}\": {", - "\t\"value\": \"${2:value}\"", - "}" - ], - "description": "Parameter Value" } } diff --git a/src/AzureRMTools.ts b/src/AzureRMTools.ts index 0f2729f59..1714d5dd2 100644 --- a/src/AzureRMTools.ts +++ b/src/AzureRMTools.ts @@ -816,6 +816,7 @@ export class AzureRMTools { statusBarText = "No template file selected"; } + this._paramsStatusBarItem.command = "azurerm-vscode-tools.openTemplateFile"; this._paramsStatusBarItem.text = statusBarText; } }