From 83853ca770ee48dc7c0fb2c5d3ec2bfebcb09666 Mon Sep 17 00:00:00 2001 From: Martin Ehrnst Date: Thu, 28 Jan 2021 17:25:57 +0100 Subject: [PATCH 1/3] Added example for custom policy definition with assignment (#1394) * added custom policy * Add newline at EOF * changes after test * new line * added missing type Co-authored-by: Alex Frankel --- .../main.bicep | 69 +++++++++++++++ .../main.json | 86 +++++++++++++++++++ docs/examples/index.json | 4 + src/Bicep.Core.Samples/ExamplesTests.cs | 3 +- 4 files changed, 161 insertions(+), 1 deletion(-) create mode 100644 docs/examples/201/policy-definition-with-assignment/main.bicep create mode 100644 docs/examples/201/policy-definition-with-assignment/main.json diff --git a/docs/examples/201/policy-definition-with-assignment/main.bicep b/docs/examples/201/policy-definition-with-assignment/main.bicep new file mode 100644 index 00000000000..a521f415a20 --- /dev/null +++ b/docs/examples/201/policy-definition-with-assignment/main.bicep @@ -0,0 +1,69 @@ +param listOfAllowedLocations array = [ + 'norwayeast' + 'westeurope' +] + +param policyEffect string { + allowed: [ + 'Audit' + 'Deny' + ] +} + +resource locationPolicyDefinition 'Microsoft.Authorization/policyDefinitions@2020-09-01' = { + name: 'custom-allowed-location' + properties: { + displayName: 'Custom - allowed location for resources' + policyType: 'Custom' + description: 'Use policy to restrict where resources can be deployed' + parameters: { + allowedLocations: { + type: 'Array' + } + effect: { + type: 'String' + } + } + metadata: { + category: 'Locations' + } + policyRule: { + if: { + allOf: [ + { + field: 'location' + notIn: '[parameters(\'allowedLocations\')]' + } + { + field: 'location' + notEquals: 'global' + } + { + field: 'type' + notEquals: 'Microsoft.AzureActiveDirectory/b2cDirectories' + } + ] + } + then: { + effect: '[parameters(\'effect\')]' + } + } + } +} + +resource locationPolicy 'Microsoft.Authorization/policyAssignments@2020-09-01' = { + name: 'Resource-location-restriction' + properties: { + policyDefinitionId: locationPolicyDefinition.id + displayName: 'Restrict location for Azure resources' + description: 'Policy will either Audit or Deny resources being deployed in other locations' + parameters: { + allowedLocations: { + value: listOfAllowedLocations + } + Effect: { + value: policyEffect + } + } + } +} diff --git a/docs/examples/201/policy-definition-with-assignment/main.json b/docs/examples/201/policy-definition-with-assignment/main.json new file mode 100644 index 00000000000..46e505b5811 --- /dev/null +++ b/docs/examples/201/policy-definition-with-assignment/main.json @@ -0,0 +1,86 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "listOfAllowedLocations": { + "type": "array", + "defaultValue": [ + "norwayeast", + "westeurope" + ] + }, + "policyEffect": { + "type": "string", + "allowedValues": [ + "Audit", + "Deny" + ] + } + }, + "functions": [], + "resources": [ + { + "type": "Microsoft.Authorization/policyDefinitions", + "apiVersion": "2020-09-01", + "name": "custom-allowed-location", + "properties": { + "displayName": "Custom - allowed location for resources", + "policyType": "Custom", + "description": "Use policy to restrict where resources can be deployed", + "parameters": { + "allowedLocations": { + "type": "Array" + }, + "effect": { + "type": "String" + } + }, + "metadata": { + "category": "Locations" + }, + "policyRule": { + "if": { + "allOf": [ + { + "field": "location", + "notIn": "[[parameters('allowedLocations')]" + }, + { + "field": "location", + "notEquals": "global" + }, + { + "field": "type", + "notEquals": "Microsoft.AzureActiveDirectory/b2cDirectories" + } + ] + }, + "then": { + "effect": "[[parameters('effect')]" + } + } + } + }, + { + "type": "Microsoft.Authorization/policyAssignments", + "apiVersion": "2020-09-01", + "name": "Resource-location-restriction", + "properties": { + "policyDefinitionId": "[resourceId('Microsoft.Authorization/policyDefinitions', 'custom-allowed-location')]", + "displayName": "Restrict location for Azure resources", + "description": "Policy will either Audit or Deny resources being deployed in other locations", + "parameters": { + "allowedLocations": { + "value": "[parameters('listOfAllowedLocations')]" + }, + "Effect": { + "value": "[parameters('policyEffect')]" + } + } + }, + "dependsOn": [ + "[resourceId('Microsoft.Authorization/policyDefinitions', 'custom-allowed-location')]" + ] + } + ] +} diff --git a/docs/examples/index.json b/docs/examples/index.json index 218cb605718..604f3f7693d 100644 --- a/docs/examples/index.json +++ b/docs/examples/index.json @@ -335,6 +335,10 @@ "filePath": "201/log-analytics-with-solutions-and-diagnostics/main.bicep", "description": "201/log-analytics-with-solutions-and-diagnostics" }, + { + "filePath": "201/policy-definition-with-assignment/main.bicep", + "description": "201/policy-definition-with-assignment" + }, { "filePath": "201/policy-with-initiative-definition-and-assignment/main.bicep", "description": "201/policy-with-initiative-definition-and-assignment" diff --git a/src/Bicep.Core.Samples/ExamplesTests.cs b/src/Bicep.Core.Samples/ExamplesTests.cs index 9658db45914..ca2616ba45b 100644 --- a/src/Bicep.Core.Samples/ExamplesTests.cs +++ b/src/Bicep.Core.Samples/ExamplesTests.cs @@ -103,7 +103,8 @@ private static bool IsPermittedMissingTypeDiagnostic(Diagnostic diagnostic) "Resource type \"microsoft.web/serverFarms@2018-11-01\" does not have types available.", "Resource type \"Microsoft.Web/sites/config@2018-11-01\" does not have types available.", "Resource type \"Microsoft.Web/sites/config@2020-06-01\" does not have types available.", - "Resource type \"Microsoft.Web/sites/siteextensions@2020-06-01\" does not have types available." + "Resource type \"Microsoft.Web/sites/siteextensions@2020-06-01\" does not have types available.", + "Resource type \"Microsoft.Authorization/policyDefinitions@2020-09-01\" does not have types available." }; return permittedMissingTypeDiagnostics.Contains(diagnostic.Message); From 7207ddf82821f3110387d73e6bd0823415e9dee5 Mon Sep 17 00:00:00 2001 From: Tarun Sunkaraneni Date: Thu, 28 Jan 2021 11:24:40 -0700 Subject: [PATCH 2/3] Tsunkaraneni/module file completion (#1236) * Intellisense support for module names. Pending testing * switched to text replacement * File path normalization on windows * update * dir exists for inMemoryFileResolver * Removed test dependency on a transient folder * Removing problematic tests * Remove exception handling from FileResolver * removed submodule reference * progress on feedback * Added Integration tests * Add AllowDerivedTypes flag * Chain triggering completions and snippet completions * removed unnecessary comments. * Don't show current file in completions * Extracting file extension as a var --- .../Files/Completions/childCompletions.json | 44 +++++ .../Completions/childDotCompletions.json | 44 +++++ .../Files/Completions/childECompletions.json | 44 +++++ .../Completions/childFileCompletions.json | 44 +++++ .../Files/Completions/childMCompletions.json | 44 +++++ .../Files/Completions/cwdMCompletions.json | 162 +++++++++++++++++ .../ChildModules/empty.bicep | 0 .../InvalidModules_LF/ChildModules/main.bicep | 1 + .../ChildModules/modulea.bicep | 3 + .../Completions/cwdCompletions.json | 162 +++++++++++++++++ .../Completions/cwdFileCompletions.json | 162 +++++++++++++++++ .../Files/InvalidModules_LF/main.bicep | 35 ++++ .../InvalidModules_LF/main.diagnostics.bicep | 63 ++++++- .../InvalidModules_LF/main.formatted.bicep | 35 ++++ .../InvalidModules_LF/main.symbols.bicep | 45 +++++ .../Files/InvalidModules_LF/main.syntax.bicep | 168 +++++++++++++++++- .../Files/InvalidModules_LF/main.tokens.bicep | 104 ++++++++++- .../FileSystem/FileResolverTests.cs | 70 ++++++++ .../Utils/OutputHelper.cs | 10 +- src/Bicep.Core/FileSystem/FileResolver.cs | 32 ++++ src/Bicep.Core/FileSystem/IFileResolver.cs | 22 +++ .../FileSystem/InMemoryFileResolver.cs | 17 ++ src/Bicep.Core/FileSystem/PathHelper.cs | 1 + .../BicepCompletionProviderTests.cs | 19 +- .../Completions/BicepCompletionContext.cs | 3 +- .../Completions/BicepCompletionProvider.cs | 104 ++++++++++- .../Completions/CompletionItemBuilder.cs | 75 ++++---- .../Handlers/BicepCompletionHandler.cs | 19 +- .../LanguageServerConstants.cs | 2 + 29 files changed, 1472 insertions(+), 62 deletions(-) create mode 100644 src/Bicep.Core.Samples/Files/Completions/childCompletions.json create mode 100644 src/Bicep.Core.Samples/Files/Completions/childDotCompletions.json create mode 100644 src/Bicep.Core.Samples/Files/Completions/childECompletions.json create mode 100644 src/Bicep.Core.Samples/Files/Completions/childFileCompletions.json create mode 100644 src/Bicep.Core.Samples/Files/Completions/childMCompletions.json create mode 100644 src/Bicep.Core.Samples/Files/Completions/cwdMCompletions.json create mode 100644 src/Bicep.Core.Samples/Files/InvalidModules_LF/ChildModules/empty.bicep create mode 100644 src/Bicep.Core.Samples/Files/InvalidModules_LF/ChildModules/main.bicep create mode 100644 src/Bicep.Core.Samples/Files/InvalidModules_LF/ChildModules/modulea.bicep create mode 100644 src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/cwdCompletions.json create mode 100644 src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/cwdFileCompletions.json diff --git a/src/Bicep.Core.Samples/Files/Completions/childCompletions.json b/src/Bicep.Core.Samples/Files/Completions/childCompletions.json new file mode 100644 index 00000000000..2f491fe1c5f --- /dev/null +++ b/src/Bicep.Core.Samples/Files/Completions/childCompletions.json @@ -0,0 +1,44 @@ +[ + { + "label": "empty.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_empty.bicep", + "filterText": "'ChildModules/empty.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'ChildModules/empty.bicep'" + } + }, + { + "label": "main.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.bicep", + "filterText": "'ChildModules/main.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'ChildModules/main.bicep'" + } + }, + { + "label": "modulea.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_modulea.bicep", + "filterText": "'ChildModules/modulea.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'ChildModules/modulea.bicep'" + } + } +] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/Completions/childDotCompletions.json b/src/Bicep.Core.Samples/Files/Completions/childDotCompletions.json new file mode 100644 index 00000000000..0d6bdf03872 --- /dev/null +++ b/src/Bicep.Core.Samples/Files/Completions/childDotCompletions.json @@ -0,0 +1,44 @@ +[ + { + "label": "empty.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_empty.bicep", + "filterText": "'./ChildModules/empty.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'./ChildModules/empty.bicep'" + } + }, + { + "label": "main.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.bicep", + "filterText": "'./ChildModules/main.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'./ChildModules/main.bicep'" + } + }, + { + "label": "modulea.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_modulea.bicep", + "filterText": "'./ChildModules/modulea.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'./ChildModules/modulea.bicep'" + } + } +] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/Completions/childECompletions.json b/src/Bicep.Core.Samples/Files/Completions/childECompletions.json new file mode 100644 index 00000000000..2f491fe1c5f --- /dev/null +++ b/src/Bicep.Core.Samples/Files/Completions/childECompletions.json @@ -0,0 +1,44 @@ +[ + { + "label": "empty.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_empty.bicep", + "filterText": "'ChildModules/empty.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'ChildModules/empty.bicep'" + } + }, + { + "label": "main.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.bicep", + "filterText": "'ChildModules/main.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'ChildModules/main.bicep'" + } + }, + { + "label": "modulea.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_modulea.bicep", + "filterText": "'ChildModules/modulea.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'ChildModules/modulea.bicep'" + } + } +] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/Completions/childFileCompletions.json b/src/Bicep.Core.Samples/Files/Completions/childFileCompletions.json new file mode 100644 index 00000000000..4c514557cb3 --- /dev/null +++ b/src/Bicep.Core.Samples/Files/Completions/childFileCompletions.json @@ -0,0 +1,44 @@ +[ + { + "label": "empty.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_empty.bicep", + "filterText": "'ChildModules/empty.bicep'", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'ChildModules/empty.bicep'" + } + }, + { + "label": "main.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.bicep", + "filterText": "'ChildModules/main.bicep'", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'ChildModules/main.bicep'" + } + }, + { + "label": "modulea.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_modulea.bicep", + "filterText": "'ChildModules/modulea.bicep'", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'ChildModules/modulea.bicep'" + } + } +] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/Completions/childMCompletions.json b/src/Bicep.Core.Samples/Files/Completions/childMCompletions.json new file mode 100644 index 00000000000..0d6bdf03872 --- /dev/null +++ b/src/Bicep.Core.Samples/Files/Completions/childMCompletions.json @@ -0,0 +1,44 @@ +[ + { + "label": "empty.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_empty.bicep", + "filterText": "'./ChildModules/empty.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'./ChildModules/empty.bicep'" + } + }, + { + "label": "main.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.bicep", + "filterText": "'./ChildModules/main.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'./ChildModules/main.bicep'" + } + }, + { + "label": "modulea.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_modulea.bicep", + "filterText": "'./ChildModules/modulea.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'./ChildModules/modulea.bicep'" + } + } +] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/Completions/cwdMCompletions.json b/src/Bicep.Core.Samples/Files/Completions/cwdMCompletions.json new file mode 100644 index 00000000000..c7f3b993b1a --- /dev/null +++ b/src/Bicep.Core.Samples/Files/Completions/cwdMCompletions.json @@ -0,0 +1,162 @@ +[ + { + "label": "ChildModules/", + "kind": "folder", + "deprecated": false, + "preselect": false, + "sortText": "2_ChildModules/", + "filterText": "'ChildModules/'", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'ChildModules/$0'" + }, + "command": { + "command": "editor.action.triggerSuggest" + } + }, + { + "label": "Completions/", + "kind": "folder", + "deprecated": false, + "preselect": false, + "sortText": "2_Completions/", + "filterText": "'Completions/'", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'Completions/$0'" + }, + "command": { + "command": "editor.action.triggerSuggest" + } + }, + { + "label": "cycle.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_cycle.bicep", + "filterText": "'cycle.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'cycle.bicep'" + } + }, + { + "label": "empty.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_empty.bicep", + "filterText": "'empty.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'empty.bicep'" + } + }, + { + "label": "main.diagnostics.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.diagnostics.bicep", + "filterText": "'main.diagnostics.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'main.diagnostics.bicep'" + } + }, + { + "label": "main.formatted.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.formatted.bicep", + "filterText": "'main.formatted.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'main.formatted.bicep'" + } + }, + { + "label": "main.symbols.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.symbols.bicep", + "filterText": "'main.symbols.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'main.symbols.bicep'" + } + }, + { + "label": "main.syntax.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.syntax.bicep", + "filterText": "'main.syntax.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'main.syntax.bicep'" + } + }, + { + "label": "main.tokens.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.tokens.bicep", + "filterText": "'main.tokens.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'main.tokens.bicep'" + } + }, + { + "label": "modulea.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_modulea.bicep", + "filterText": "'modulea.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'modulea.bicep'" + } + }, + { + "label": "subscription_empty.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_subscription_empty.bicep", + "filterText": "'subscription_empty.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'subscription_empty.bicep'" + } + } +] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/ChildModules/empty.bicep b/src/Bicep.Core.Samples/Files/InvalidModules_LF/ChildModules/empty.bicep new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/ChildModules/main.bicep b/src/Bicep.Core.Samples/Files/InvalidModules_LF/ChildModules/main.bicep new file mode 100644 index 00000000000..942e7146d35 --- /dev/null +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/ChildModules/main.bicep @@ -0,0 +1 @@ +param stringParamA string = 'test' \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/ChildModules/modulea.bicep b/src/Bicep.Core.Samples/Files/InvalidModules_LF/ChildModules/modulea.bicep new file mode 100644 index 00000000000..f17db98a4a7 --- /dev/null +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/ChildModules/modulea.bicep @@ -0,0 +1,3 @@ +module './main.bicep' = { + +} \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/cwdCompletions.json b/src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/cwdCompletions.json new file mode 100644 index 00000000000..c7f3b993b1a --- /dev/null +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/cwdCompletions.json @@ -0,0 +1,162 @@ +[ + { + "label": "ChildModules/", + "kind": "folder", + "deprecated": false, + "preselect": false, + "sortText": "2_ChildModules/", + "filterText": "'ChildModules/'", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'ChildModules/$0'" + }, + "command": { + "command": "editor.action.triggerSuggest" + } + }, + { + "label": "Completions/", + "kind": "folder", + "deprecated": false, + "preselect": false, + "sortText": "2_Completions/", + "filterText": "'Completions/'", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'Completions/$0'" + }, + "command": { + "command": "editor.action.triggerSuggest" + } + }, + { + "label": "cycle.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_cycle.bicep", + "filterText": "'cycle.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'cycle.bicep'" + } + }, + { + "label": "empty.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_empty.bicep", + "filterText": "'empty.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'empty.bicep'" + } + }, + { + "label": "main.diagnostics.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.diagnostics.bicep", + "filterText": "'main.diagnostics.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'main.diagnostics.bicep'" + } + }, + { + "label": "main.formatted.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.formatted.bicep", + "filterText": "'main.formatted.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'main.formatted.bicep'" + } + }, + { + "label": "main.symbols.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.symbols.bicep", + "filterText": "'main.symbols.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'main.symbols.bicep'" + } + }, + { + "label": "main.syntax.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.syntax.bicep", + "filterText": "'main.syntax.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'main.syntax.bicep'" + } + }, + { + "label": "main.tokens.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.tokens.bicep", + "filterText": "'main.tokens.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'main.tokens.bicep'" + } + }, + { + "label": "modulea.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_modulea.bicep", + "filterText": "'modulea.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'modulea.bicep'" + } + }, + { + "label": "subscription_empty.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_subscription_empty.bicep", + "filterText": "'subscription_empty.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'subscription_empty.bicep'" + } + } +] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/cwdFileCompletions.json b/src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/cwdFileCompletions.json new file mode 100644 index 00000000000..c7f3b993b1a --- /dev/null +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/cwdFileCompletions.json @@ -0,0 +1,162 @@ +[ + { + "label": "ChildModules/", + "kind": "folder", + "deprecated": false, + "preselect": false, + "sortText": "2_ChildModules/", + "filterText": "'ChildModules/'", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'ChildModules/$0'" + }, + "command": { + "command": "editor.action.triggerSuggest" + } + }, + { + "label": "Completions/", + "kind": "folder", + "deprecated": false, + "preselect": false, + "sortText": "2_Completions/", + "filterText": "'Completions/'", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'Completions/$0'" + }, + "command": { + "command": "editor.action.triggerSuggest" + } + }, + { + "label": "cycle.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_cycle.bicep", + "filterText": "'cycle.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'cycle.bicep'" + } + }, + { + "label": "empty.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_empty.bicep", + "filterText": "'empty.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'empty.bicep'" + } + }, + { + "label": "main.diagnostics.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.diagnostics.bicep", + "filterText": "'main.diagnostics.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'main.diagnostics.bicep'" + } + }, + { + "label": "main.formatted.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.formatted.bicep", + "filterText": "'main.formatted.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'main.formatted.bicep'" + } + }, + { + "label": "main.symbols.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.symbols.bicep", + "filterText": "'main.symbols.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'main.symbols.bicep'" + } + }, + { + "label": "main.syntax.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.syntax.bicep", + "filterText": "'main.syntax.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'main.syntax.bicep'" + } + }, + { + "label": "main.tokens.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_main.tokens.bicep", + "filterText": "'main.tokens.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'main.tokens.bicep'" + } + }, + { + "label": "modulea.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_modulea.bicep", + "filterText": "'modulea.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'modulea.bicep'" + } + }, + { + "label": "subscription_empty.bicep", + "kind": "file", + "deprecated": false, + "preselect": false, + "sortText": "1_subscription_empty.bicep", + "filterText": "'subscription_empty.bicep'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'subscription_empty.bicep'" + } + } +] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.bicep b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.bicep index 4d2f195171b..468f34652c5 100644 --- a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.bicep @@ -231,3 +231,38 @@ module moduleWithDuplicateName1 './empty.bicep' = { module moduleWithDuplicateName2 './empty.bicep' = { name: 'moduleWithDuplicateName' } + +// #completionTest(19, 20, 21) -> cwdCompletions +module completionB '' + +// #completionTest(19, 20, 21) -> cwdCompletions +module completionC '' = + +// #completionTest(19, 20, 21) -> cwdCompletions +module completionD '' = {} + +// #completionTest(19, 20, 21) -> cwdCompletions +module completionE '' = { + name: 'hello' +} + +// #completionTest(26, 27, 28, 29) -> cwdFileCompletions +module cwdFileCompletionA '.' + +// #completionTest(26, 27) -> cwdMCompletions +module cwdFileCompletionB m + +// #completionTest(26, 27, 28, 29) -> cwdMCompletions +module cwdFileCompletionC 'm' + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39) -> childCompletions +module childCompletionA 'ChildModules/' + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39) -> childDotCompletions +module childCompletionB './ChildModules/' + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40) -> childMCompletions +module childCompletionC './ChildModules/m' + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40) -> childECompletions +module childCompletionD 'ChildModules/e' \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.diagnostics.bicep b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.diagnostics.bicep index dc1d23ed059..14db2028e6a 100644 --- a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.diagnostics.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.diagnostics.bicep @@ -1,17 +1,17 @@ module nonExistentFileRef './nonExistent.bicep' = { -//@[26:47) [BCP091 (Error)] An error occurred reading file. Could not find file '${TEST_OUTPUT_DIR}nonExistent.bicep'. |'./nonExistent.bicep'| +//@[26:47) [BCP091 (Error)] An error occurred reading file. Could not find file '${TEST_OUTPUT_DIR}/nonExistent.bicep'. |'./nonExistent.bicep'| } // we should only look this file up once, but should still return the same failure module nonExistentFileRefDuplicate './nonExistent.bicep' = { -//@[35:56) [BCP091 (Error)] An error occurred reading file. Could not find file '${TEST_OUTPUT_DIR}nonExistent.bicep'. |'./nonExistent.bicep'| +//@[35:56) [BCP091 (Error)] An error occurred reading file. Could not find file '${TEST_OUTPUT_DIR}/nonExistent.bicep'. |'./nonExistent.bicep'| } // we should only look this file up once, but should still return the same failure module nonExistentFileRefEquivalentPath 'abc/def/../../nonExistent.bicep' = { -//@[40:73) [BCP091 (Error)] An error occurred reading file. Could not find file '${TEST_OUTPUT_DIR}nonExistent.bicep'. |'abc/def/../../nonExistent.bicep'| +//@[40:73) [BCP091 (Error)] An error occurred reading file. Could not find file '${TEST_OUTPUT_DIR}/nonExistent.bicep'. |'abc/def/../../nonExistent.bicep'| } @@ -199,7 +199,7 @@ var unspecifiedOutput = modAUnspecifiedInputs.outputs.test //@[54:58) [BCP053 (Error)] The type "outputs" does not contain property "test". Available properties include "arrayOutput", "objOutput", "stringOutputA", "stringOutputB". |test| module modCycle './cycle.bicep' = { -//@[16:31) [BCP095 (Error)] The module is involved in a cycle ("${TEST_OUTPUT_DIR}cycle.bicep" -> "${TEST_OUTPUT_DIR}main.bicep"). |'./cycle.bicep'| +//@[16:31) [BCP095 (Error)] The module is involved in a cycle ("${TEST_OUTPUT_DIR}/cycle.bicep" -> "${TEST_OUTPUT_DIR}/main.bicep"). |'./cycle.bicep'| } @@ -307,3 +307,58 @@ module moduleWithDuplicateName2 './empty.bicep' = { //@[8:33) [BCP122 (Error)] Modules: "moduleWithDuplicateName1", "moduleWithDuplicateName2" are defined with this same name and this same scope in a file. Rename them or split into different modules. |'moduleWithDuplicateName'| } +// #completionTest(19, 20, 21) -> cwdCompletions +module completionB '' +//@[19:21) [BCP050 (Error)] The specified module path is empty. |''| +//@[21:21) [BCP018 (Error)] Expected the "=" character at this location. || + +// #completionTest(19, 20, 21) -> cwdCompletions +module completionC '' = +//@[19:21) [BCP050 (Error)] The specified module path is empty. |''| +//@[23:23) [BCP118 (Error)] Expected the "{" character or the "if" keyword at this location. || + +// #completionTest(19, 20, 21) -> cwdCompletions +module completionD '' = {} +//@[19:21) [BCP050 (Error)] The specified module path is empty. |''| + +// #completionTest(19, 20, 21) -> cwdCompletions +module completionE '' = { +//@[19:21) [BCP050 (Error)] The specified module path is empty. |''| + name: 'hello' +} + +// #completionTest(26, 27, 28, 29) -> cwdFileCompletions +module cwdFileCompletionA '.' +//@[26:29) [BCP086 (Error)] The specified module path ends with an invalid character. The following are not permitted: " ", ".". |'.'| +//@[29:29) [BCP018 (Error)] Expected the "=" character at this location. || + +// #completionTest(26, 27) -> cwdMCompletions +module cwdFileCompletionB m +//@[26:27) [BCP097 (Error)] Expected a module path string. This should be a relative path to another bicep file, e.g. 'myModule.bicep' or '../parent/myModule.bicep' |m| +//@[26:27) [BCP090 (Error)] This module declaration is missing a file path reference. |m| +//@[27:27) [BCP018 (Error)] Expected the "=" character at this location. || + +// #completionTest(26, 27, 28, 29) -> cwdMCompletions +module cwdFileCompletionC 'm' +//@[26:29) [BCP091 (Error)] An error occurred reading file. Could not find file '${TEST_OUTPUT_DIR}/m'. |'m'| +//@[29:29) [BCP018 (Error)] Expected the "=" character at this location. || + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39) -> childCompletions +module childCompletionA 'ChildModules/' +//@[24:39) [BCP091 (Error)] An error occurred reading file. Access to the path '${TEST_OUTPUT_DIR}/ChildModules/' is denied. |'ChildModules/'| +//@[39:39) [BCP018 (Error)] Expected the "=" character at this location. || + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39) -> childDotCompletions +module childCompletionB './ChildModules/' +//@[24:41) [BCP091 (Error)] An error occurred reading file. Access to the path '${TEST_OUTPUT_DIR}/ChildModules/' is denied. |'./ChildModules/'| +//@[41:41) [BCP018 (Error)] Expected the "=" character at this location. || + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40) -> childMCompletions +module childCompletionC './ChildModules/m' +//@[24:42) [BCP091 (Error)] An error occurred reading file. Could not find file '${TEST_OUTPUT_DIR}/ChildModules/m'. |'./ChildModules/m'| +//@[42:42) [BCP018 (Error)] Expected the "=" character at this location. || + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40) -> childECompletions +module childCompletionD 'ChildModules/e' +//@[24:40) [BCP091 (Error)] An error occurred reading file. Could not find file '${TEST_OUTPUT_DIR}/ChildModules/e'. |'ChildModules/e'| +//@[40:40) [BCP018 (Error)] Expected the "=" character at this location. || diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.formatted.bicep b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.formatted.bicep index 5cecbc1209b..1cae7260c50 100644 --- a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.formatted.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.formatted.bicep @@ -199,3 +199,38 @@ module moduleWithDuplicateName1 './empty.bicep' = { module moduleWithDuplicateName2 './empty.bicep' = { name: 'moduleWithDuplicateName' } + +// #completionTest(19, 20, 21) -> cwdCompletions +module completionB '' + +// #completionTest(19, 20, 21) -> cwdCompletions +module completionC '' = + +// #completionTest(19, 20, 21) -> cwdCompletions +module completionD '' = {} + +// #completionTest(19, 20, 21) -> cwdCompletions +module completionE '' = { + name: 'hello' +} + +// #completionTest(26, 27, 28, 29) -> cwdFileCompletions +module cwdFileCompletionA '.' + +// #completionTest(26, 27) -> cwdMCompletions +module cwdFileCompletionB m + +// #completionTest(26, 27, 28, 29) -> cwdMCompletions +module cwdFileCompletionC 'm' + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39) -> childCompletions +module childCompletionA 'ChildModules/' + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39) -> childDotCompletions +module childCompletionB './ChildModules/' + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40) -> childMCompletions +module childCompletionC './ChildModules/m' + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40) -> childECompletions +module childCompletionD 'ChildModules/e' diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.symbols.bicep b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.symbols.bicep index 259ea299b3c..c91653f9643 100644 --- a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.symbols.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.symbols.bicep @@ -288,3 +288,48 @@ module moduleWithDuplicateName2 './empty.bicep' = { name: 'moduleWithDuplicateName' } +// #completionTest(19, 20, 21) -> cwdCompletions +module completionB '' +//@[7:18) Module completionB. Type: error. Declaration start char: 0, length: 21 + +// #completionTest(19, 20, 21) -> cwdCompletions +module completionC '' = +//@[7:18) Module completionC. Type: error. Declaration start char: 0, length: 23 + +// #completionTest(19, 20, 21) -> cwdCompletions +module completionD '' = {} +//@[7:18) Module completionD. Type: error. Declaration start char: 0, length: 26 + +// #completionTest(19, 20, 21) -> cwdCompletions +module completionE '' = { +//@[7:18) Module completionE. Type: error. Declaration start char: 0, length: 43 + name: 'hello' +} + +// #completionTest(26, 27, 28, 29) -> cwdFileCompletions +module cwdFileCompletionA '.' +//@[7:25) Module cwdFileCompletionA. Type: error. Declaration start char: 0, length: 29 + +// #completionTest(26, 27) -> cwdMCompletions +module cwdFileCompletionB m +//@[7:25) Module cwdFileCompletionB. Type: error. Declaration start char: 0, length: 27 + +// #completionTest(26, 27, 28, 29) -> cwdMCompletions +module cwdFileCompletionC 'm' +//@[7:25) Module cwdFileCompletionC. Type: error. Declaration start char: 0, length: 29 + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39) -> childCompletions +module childCompletionA 'ChildModules/' +//@[7:23) Module childCompletionA. Type: error. Declaration start char: 0, length: 39 + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39) -> childDotCompletions +module childCompletionB './ChildModules/' +//@[7:23) Module childCompletionB. Type: error. Declaration start char: 0, length: 41 + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40) -> childMCompletions +module childCompletionC './ChildModules/m' +//@[7:23) Module childCompletionC. Type: error. Declaration start char: 0, length: 42 + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40) -> childECompletions +module childCompletionD 'ChildModules/e' +//@[7:23) Module childCompletionD. Type: error. Declaration start char: 0, length: 40 diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.syntax.bicep b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.syntax.bicep index 4cdabf86b0c..e3377d525e2 100644 --- a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.syntax.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.syntax.bicep @@ -1463,6 +1463,170 @@ module moduleWithDuplicateName2 './empty.bicep' = { //@[33:34) NewLine |\n| } //@[0:1) RightBrace |}| -//@[1:2) NewLine |\n| +//@[1:3) NewLine |\n\n| + +// #completionTest(19, 20, 21) -> cwdCompletions +//@[48:49) NewLine |\n| +module completionB '' +//@[0:21) ModuleDeclarationSyntax +//@[0:6) Identifier |module| +//@[7:18) IdentifierSyntax +//@[7:18) Identifier |completionB| +//@[19:21) StringSyntax +//@[19:21) StringComplete |''| +//@[21:21) SkippedTriviaSyntax +//@[21:21) SkippedTriviaSyntax +//@[21:21) SkippedTriviaSyntax +//@[21:23) NewLine |\n\n| + +// #completionTest(19, 20, 21) -> cwdCompletions +//@[48:49) NewLine |\n| +module completionC '' = +//@[0:23) ModuleDeclarationSyntax +//@[0:6) Identifier |module| +//@[7:18) IdentifierSyntax +//@[7:18) Identifier |completionC| +//@[19:21) StringSyntax +//@[19:21) StringComplete |''| +//@[22:23) Assignment |=| +//@[23:23) SkippedTriviaSyntax +//@[23:23) SkippedTriviaSyntax +//@[23:25) NewLine |\n\n| -//@[0:0) EndOfFile || +// #completionTest(19, 20, 21) -> cwdCompletions +//@[48:49) NewLine |\n| +module completionD '' = {} +//@[0:26) ModuleDeclarationSyntax +//@[0:6) Identifier |module| +//@[7:18) IdentifierSyntax +//@[7:18) Identifier |completionD| +//@[19:21) StringSyntax +//@[19:21) StringComplete |''| +//@[22:23) Assignment |=| +//@[24:26) ObjectSyntax +//@[24:25) LeftBrace |{| +//@[25:26) RightBrace |}| +//@[26:28) NewLine |\n\n| + +// #completionTest(19, 20, 21) -> cwdCompletions +//@[48:49) NewLine |\n| +module completionE '' = { +//@[0:43) ModuleDeclarationSyntax +//@[0:6) Identifier |module| +//@[7:18) IdentifierSyntax +//@[7:18) Identifier |completionE| +//@[19:21) StringSyntax +//@[19:21) StringComplete |''| +//@[22:23) Assignment |=| +//@[24:43) ObjectSyntax +//@[24:25) LeftBrace |{| +//@[25:26) NewLine |\n| + name: 'hello' +//@[2:15) ObjectPropertySyntax +//@[2:6) IdentifierSyntax +//@[2:6) Identifier |name| +//@[6:7) Colon |:| +//@[8:15) StringSyntax +//@[8:15) StringComplete |'hello'| +//@[15:16) NewLine |\n| +} +//@[0:1) RightBrace |}| +//@[1:3) NewLine |\n\n| + +// #completionTest(26, 27, 28, 29) -> cwdFileCompletions +//@[56:57) NewLine |\n| +module cwdFileCompletionA '.' +//@[0:29) ModuleDeclarationSyntax +//@[0:6) Identifier |module| +//@[7:25) IdentifierSyntax +//@[7:25) Identifier |cwdFileCompletionA| +//@[26:29) StringSyntax +//@[26:29) StringComplete |'.'| +//@[29:29) SkippedTriviaSyntax +//@[29:29) SkippedTriviaSyntax +//@[29:29) SkippedTriviaSyntax +//@[29:31) NewLine |\n\n| + +// #completionTest(26, 27) -> cwdMCompletions +//@[45:46) NewLine |\n| +module cwdFileCompletionB m +//@[0:27) ModuleDeclarationSyntax +//@[0:6) Identifier |module| +//@[7:25) IdentifierSyntax +//@[7:25) Identifier |cwdFileCompletionB| +//@[26:27) SkippedTriviaSyntax +//@[26:27) Identifier |m| +//@[27:27) SkippedTriviaSyntax +//@[27:27) SkippedTriviaSyntax +//@[27:27) SkippedTriviaSyntax +//@[27:29) NewLine |\n\n| + +// #completionTest(26, 27, 28, 29) -> cwdMCompletions +//@[53:54) NewLine |\n| +module cwdFileCompletionC 'm' +//@[0:29) ModuleDeclarationSyntax +//@[0:6) Identifier |module| +//@[7:25) IdentifierSyntax +//@[7:25) Identifier |cwdFileCompletionC| +//@[26:29) StringSyntax +//@[26:29) StringComplete |'m'| +//@[29:29) SkippedTriviaSyntax +//@[29:29) SkippedTriviaSyntax +//@[29:29) SkippedTriviaSyntax +//@[29:31) NewLine |\n\n| + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39) -> childCompletions +//@[102:103) NewLine |\n| +module childCompletionA 'ChildModules/' +//@[0:39) ModuleDeclarationSyntax +//@[0:6) Identifier |module| +//@[7:23) IdentifierSyntax +//@[7:23) Identifier |childCompletionA| +//@[24:39) StringSyntax +//@[24:39) StringComplete |'ChildModules/'| +//@[39:39) SkippedTriviaSyntax +//@[39:39) SkippedTriviaSyntax +//@[39:39) SkippedTriviaSyntax +//@[39:41) NewLine |\n\n| + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39) -> childDotCompletions +//@[105:106) NewLine |\n| +module childCompletionB './ChildModules/' +//@[0:41) ModuleDeclarationSyntax +//@[0:6) Identifier |module| +//@[7:23) IdentifierSyntax +//@[7:23) Identifier |childCompletionB| +//@[24:41) StringSyntax +//@[24:41) StringComplete |'./ChildModules/'| +//@[41:41) SkippedTriviaSyntax +//@[41:41) SkippedTriviaSyntax +//@[41:41) SkippedTriviaSyntax +//@[41:43) NewLine |\n\n| + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40) -> childMCompletions +//@[107:108) NewLine |\n| +module childCompletionC './ChildModules/m' +//@[0:42) ModuleDeclarationSyntax +//@[0:6) Identifier |module| +//@[7:23) IdentifierSyntax +//@[7:23) Identifier |childCompletionC| +//@[24:42) StringSyntax +//@[24:42) StringComplete |'./ChildModules/m'| +//@[42:42) SkippedTriviaSyntax +//@[42:42) SkippedTriviaSyntax +//@[42:42) SkippedTriviaSyntax +//@[42:44) NewLine |\n\n| + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40) -> childECompletions +//@[107:108) NewLine |\n| +module childCompletionD 'ChildModules/e' +//@[0:40) ModuleDeclarationSyntax +//@[0:6) Identifier |module| +//@[7:23) IdentifierSyntax +//@[7:23) Identifier |childCompletionD| +//@[24:40) StringSyntax +//@[24:40) StringComplete |'ChildModules/e'| +//@[40:40) SkippedTriviaSyntax +//@[40:40) SkippedTriviaSyntax +//@[40:40) SkippedTriviaSyntax +//@[40:40) EndOfFile || diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.tokens.bicep b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.tokens.bicep index 250165029fb..e2056b1b42d 100644 --- a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.tokens.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.tokens.bicep @@ -962,6 +962,106 @@ module moduleWithDuplicateName2 './empty.bicep' = { //@[33:34) NewLine |\n| } //@[0:1) RightBrace |}| -//@[1:2) NewLine |\n| +//@[1:3) NewLine |\n\n| + +// #completionTest(19, 20, 21) -> cwdCompletions +//@[48:49) NewLine |\n| +module completionB '' +//@[0:6) Identifier |module| +//@[7:18) Identifier |completionB| +//@[19:21) StringComplete |''| +//@[21:23) NewLine |\n\n| + +// #completionTest(19, 20, 21) -> cwdCompletions +//@[48:49) NewLine |\n| +module completionC '' = +//@[0:6) Identifier |module| +//@[7:18) Identifier |completionC| +//@[19:21) StringComplete |''| +//@[22:23) Assignment |=| +//@[23:25) NewLine |\n\n| -//@[0:0) EndOfFile || +// #completionTest(19, 20, 21) -> cwdCompletions +//@[48:49) NewLine |\n| +module completionD '' = {} +//@[0:6) Identifier |module| +//@[7:18) Identifier |completionD| +//@[19:21) StringComplete |''| +//@[22:23) Assignment |=| +//@[24:25) LeftBrace |{| +//@[25:26) RightBrace |}| +//@[26:28) NewLine |\n\n| + +// #completionTest(19, 20, 21) -> cwdCompletions +//@[48:49) NewLine |\n| +module completionE '' = { +//@[0:6) Identifier |module| +//@[7:18) Identifier |completionE| +//@[19:21) StringComplete |''| +//@[22:23) Assignment |=| +//@[24:25) LeftBrace |{| +//@[25:26) NewLine |\n| + name: 'hello' +//@[2:6) Identifier |name| +//@[6:7) Colon |:| +//@[8:15) StringComplete |'hello'| +//@[15:16) NewLine |\n| +} +//@[0:1) RightBrace |}| +//@[1:3) NewLine |\n\n| + +// #completionTest(26, 27, 28, 29) -> cwdFileCompletions +//@[56:57) NewLine |\n| +module cwdFileCompletionA '.' +//@[0:6) Identifier |module| +//@[7:25) Identifier |cwdFileCompletionA| +//@[26:29) StringComplete |'.'| +//@[29:31) NewLine |\n\n| + +// #completionTest(26, 27) -> cwdMCompletions +//@[45:46) NewLine |\n| +module cwdFileCompletionB m +//@[0:6) Identifier |module| +//@[7:25) Identifier |cwdFileCompletionB| +//@[26:27) Identifier |m| +//@[27:29) NewLine |\n\n| + +// #completionTest(26, 27, 28, 29) -> cwdMCompletions +//@[53:54) NewLine |\n| +module cwdFileCompletionC 'm' +//@[0:6) Identifier |module| +//@[7:25) Identifier |cwdFileCompletionC| +//@[26:29) StringComplete |'m'| +//@[29:31) NewLine |\n\n| + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39) -> childCompletions +//@[102:103) NewLine |\n| +module childCompletionA 'ChildModules/' +//@[0:6) Identifier |module| +//@[7:23) Identifier |childCompletionA| +//@[24:39) StringComplete |'ChildModules/'| +//@[39:41) NewLine |\n\n| + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39) -> childDotCompletions +//@[105:106) NewLine |\n| +module childCompletionB './ChildModules/' +//@[0:6) Identifier |module| +//@[7:23) Identifier |childCompletionB| +//@[24:41) StringComplete |'./ChildModules/'| +//@[41:43) NewLine |\n\n| + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40) -> childMCompletions +//@[107:108) NewLine |\n| +module childCompletionC './ChildModules/m' +//@[0:6) Identifier |module| +//@[7:23) Identifier |childCompletionC| +//@[24:42) StringComplete |'./ChildModules/m'| +//@[42:44) NewLine |\n\n| + +// #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40) -> childECompletions +//@[107:108) NewLine |\n| +module childCompletionD 'ChildModules/e' +//@[0:6) Identifier |module| +//@[7:23) Identifier |childCompletionD| +//@[24:40) StringComplete |'ChildModules/e'| +//@[40:40) EndOfFile || diff --git a/src/Bicep.Core.UnitTests/FileSystem/FileResolverTests.cs b/src/Bicep.Core.UnitTests/FileSystem/FileResolverTests.cs index 62816115584..8d8b60760c9 100644 --- a/src/Bicep.Core.UnitTests/FileSystem/FileResolverTests.cs +++ b/src/Bicep.Core.UnitTests/FileSystem/FileResolverTests.cs @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; +using System.Linq; using System.Collections.Generic; using System.IO; using Bicep.Core.FileSystem; @@ -61,5 +62,74 @@ public void TryRead_should_return_expected_results() fileContents.Should().BeNull(); failureMessage.Should().NotBeNull(); } + + [TestMethod] + [ExpectedException(typeof(IOException), AllowDerivedTypes=true)] + public void GetDirectories_should_return_expected_results() + { + var fileResolver = new FileResolver(); + var tempDir = Path.Combine(Path.GetTempPath(), $"BICEP_TESTDIR_{Guid.NewGuid()}"); + var tempFile = Path.Combine(tempDir, $"BICEP_TEST_{Guid.NewGuid()}"); + var tempChildDir = Path.Combine(tempDir, $"BICEP_TESTCHILDDIR_{Guid.NewGuid()}"); + + // make parent dir + Directory.CreateDirectory(tempDir); + fileResolver.GetDirectories(PathHelper.FilePathToFileUrl(tempDir)).Should().HaveCount(0); + // make child dir + Directory.CreateDirectory(tempChildDir); + fileResolver.GetDirectories(PathHelper.FilePathToFileUrl(tempDir)).Should().HaveCount(1); + // add a file to parent dir + File.WriteAllText(tempFile, "abcd\r\ndef"); + fileResolver.GetDirectories(PathHelper.FilePathToFileUrl(tempDir)).Should().HaveCount(1); + // check child dir + fileResolver.GetDirectories(PathHelper.FilePathToFileUrl(tempChildDir)).Should().HaveCount(0); + // should throw an IOException when called with a file path + fileResolver.GetDirectories(PathHelper.FilePathToFileUrl(Path.Join(Path.GetTempPath(), tempFile))); + } + + [TestMethod] + [ExpectedException(typeof(IOException), AllowDerivedTypes=true)] + public void GetFiles_should_return_expected_results() + { + var fileResolver = new FileResolver(); + var tempDir = Path.Combine(Path.GetTempPath(), $"BICEP_TESTDIR_{Guid.NewGuid()}"); + var tempFile = Path.Combine(tempDir, $"BICEP_TEST_{Guid.NewGuid()}"); + var tempChildDir = Path.Combine(tempDir, $"BICEP_TESTCHILDDIR_{Guid.NewGuid()}"); + + // make parent dir + Directory.CreateDirectory(tempDir); + fileResolver.GetFiles(PathHelper.FilePathToFileUrl(tempDir)).Should().HaveCount(0); + // add a file to parent dir + File.WriteAllText(tempFile, "abcd\r\ndef"); + fileResolver.GetFiles(PathHelper.FilePathToFileUrl(tempDir)).Should().HaveCount(1); + // make child dir + Directory.CreateDirectory(tempChildDir); + fileResolver.GetFiles(PathHelper.FilePathToFileUrl(tempDir)).Should().HaveCount(1); + // check child dir + fileResolver.GetFiles(PathHelper.FilePathToFileUrl(tempChildDir)).Should().HaveCount(0); + // should throw an IOException when called with a file path + fileResolver.GetDirectories(PathHelper.FilePathToFileUrl(Path.Join(Path.GetTempPath(), tempFile))); + } + + [TestMethod] + public void DirExists_should_return_expected_results() + { + var fileResolver = new FileResolver(); + var tempDir = Path.Combine(Path.GetTempPath(), $"BICEP_TESTDIR_{Guid.NewGuid()}"); + var tempFile = Path.Combine(tempDir, $"BICEP_TEST_{Guid.NewGuid()}"); + var tempChildDir = Path.Combine(tempDir, $"BICEP_TESTCHILDDIR_{Guid.NewGuid()}"); + + // make parent dir + Directory.CreateDirectory(tempDir); + fileResolver.TryDirExists(PathHelper.FilePathToFileUrl(tempDir)).Should().BeTrue(); + fileResolver.TryDirExists(PathHelper.FilePathToFileUrl(tempFile)).Should().BeFalse(); + // add a file to parent dir + File.WriteAllText(tempFile, "abcd\r\ndef"); + fileResolver.TryDirExists(PathHelper.FilePathToFileUrl(tempDir)).Should().BeTrue(); + fileResolver.TryDirExists(PathHelper.FilePathToFileUrl(tempFile)).Should().BeFalse(); + // make child dir + Directory.CreateDirectory(tempChildDir); + fileResolver.TryDirExists(PathHelper.FilePathToFileUrl(tempChildDir)).Should().BeTrue(); + } } } \ No newline at end of file diff --git a/src/Bicep.Core.UnitTests/Utils/OutputHelper.cs b/src/Bicep.Core.UnitTests/Utils/OutputHelper.cs index 88a518b1819..1b63969ac03 100644 --- a/src/Bicep.Core.UnitTests/Utils/OutputHelper.cs +++ b/src/Bicep.Core.UnitTests/Utils/OutputHelper.cs @@ -2,6 +2,8 @@ // Licensed under the MIT License. using System; using System.Collections.Generic; +using System.Runtime.InteropServices; +using System.Text.RegularExpressions; using System.IO; using System.Linq; using System.Text; @@ -63,8 +65,12 @@ public static string GetSpanText(string sourceText, IPositionable positionable) public static string GetDiagLoggingString(string sourceText, string outputDirectory, Diagnostic diagnostic) { var spanText = GetSpanText(sourceText, diagnostic); - var message = diagnostic.Message.Replace($"{outputDirectory}{Path.DirectorySeparatorChar}", "${TEST_OUTPUT_DIR}"); - + var message = diagnostic.Message.Replace($"{outputDirectory}{Path.DirectorySeparatorChar}", "${TEST_OUTPUT_DIR}/"); + // Normalize file path seperators across OS + if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + { + message = Regex.Replace(message, @"'\${TEST_OUTPUT_DIR}.*?'", new MatchEvaluator((match) => match.Value.Replace('\\', '/'))); + } return $"[{diagnostic.Code} ({diagnostic.Level})] {message} |{spanText}|"; } } diff --git a/src/Bicep.Core/FileSystem/FileResolver.cs b/src/Bicep.Core/FileSystem/FileResolver.cs index 61b03174f5e..53f07aab5ed 100644 --- a/src/Bicep.Core/FileSystem/FileResolver.cs +++ b/src/Bicep.Core/FileSystem/FileResolver.cs @@ -1,8 +1,11 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; +using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.IO; +using System.Linq; +using System.Runtime.InteropServices; using Bicep.Core.Diagnostics; namespace Bicep.Core.FileSystem @@ -21,6 +24,12 @@ public bool TryRead(Uri fileUri, [NotNullWhen(true)] out string? fileContents, [ try { failureBuilder = null; + if (Directory.Exists(fileUri.LocalPath)) + { + // Docs suggest this is the error to throw when we give a directory. + // A trailing backslash causes windows not to throw this exception. + throw new UnauthorizedAccessException($"Access to the path '{fileUri.LocalPath}' is denied."); + } fileContents = File.ReadAllText(fileUri.LocalPath); return true; } @@ -43,5 +52,28 @@ public bool TryRead(Uri fileUri, [NotNullWhen(true)] out string? fileContents, [ return relativeUri; } + + public IEnumerable GetDirectories(Uri fileUri, string pattern="") + { + if (!fileUri.IsFile) + { + return Enumerable.Empty(); + } + return Directory.GetDirectories(fileUri.LocalPath, pattern).Select(s => new Uri(s + "/")); + } + + public IEnumerable GetFiles(Uri fileUri, string pattern="") + { + if (!fileUri.IsFile) + { + return Enumerable.Empty(); + } + return Directory.GetFiles(fileUri.LocalPath, pattern).Select(s => new Uri(s)); + } + + public bool TryDirExists(Uri fileUri) + { + return fileUri.IsFile && Directory.Exists(fileUri.LocalPath); + } } } \ No newline at end of file diff --git a/src/Bicep.Core/FileSystem/IFileResolver.cs b/src/Bicep.Core/FileSystem/IFileResolver.cs index ccf1abe30e0..c56943dda68 100644 --- a/src/Bicep.Core/FileSystem/IFileResolver.cs +++ b/src/Bicep.Core/FileSystem/IFileResolver.cs @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; +using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Bicep.Core.Diagnostics; @@ -22,5 +23,26 @@ public interface IFileResolver /// The file URI of the parent. /// The file path of the child. Uri? TryResolveModulePath(Uri parentFileUri, string childFilePath); + + + /// + /// Tries to get Directories given a uri and pattern. Both argument and returned URIs MUST have a trailing '/' + /// + /// The base fileUri + /// optional pattern to filter the dirs + IEnumerable GetDirectories(Uri fileUri, string pattern); + + /// + /// Tries to get Files given a uri and pattern. fileUri MUST have a trailing '/' + /// + /// The base fileUri + /// optional pattern to filter the resulting files + IEnumerable GetFiles(Uri fileUri, string pattern); + + /// + /// Check whether specified URI exsists (depends on URI types). fileUri MUST have a trailing '/' + /// + /// The fileUri to test + bool TryDirExists(Uri fileUri); } } \ No newline at end of file diff --git a/src/Bicep.Core/FileSystem/InMemoryFileResolver.cs b/src/Bicep.Core/FileSystem/InMemoryFileResolver.cs index 48c6d394af6..c942e60b61b 100644 --- a/src/Bicep.Core/FileSystem/InMemoryFileResolver.cs +++ b/src/Bicep.Core/FileSystem/InMemoryFileResolver.cs @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; +using System.Linq; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Bicep.Core.Diagnostics; @@ -40,5 +41,21 @@ public bool TryRead(Uri fileUri, [NotNullWhen(true)] out string? fileContents, [ return relativeUri; } + + public bool TryDirExists(Uri fileUri) + { + return this.fileLookup.Keys + .Any(key => key.ToString().StartsWith(fileUri.ToString())); + } + + public IEnumerable GetDirectories(Uri fileUri, string pattern) + { + return Enumerable.Empty(); + } + + public IEnumerable GetFiles(Uri fileUri, string pattern) + { + return fileLookup.Keys; + } } } \ No newline at end of file diff --git a/src/Bicep.Core/FileSystem/PathHelper.cs b/src/Bicep.Core/FileSystem/PathHelper.cs index cca6f35f100..1f036dabf18 100644 --- a/src/Bicep.Core/FileSystem/PathHelper.cs +++ b/src/Bicep.Core/FileSystem/PathHelper.cs @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; +using System.Linq; using System.IO; namespace Bicep.Core.FileSystem diff --git a/src/Bicep.LangServer.UnitTests/BicepCompletionProviderTests.cs b/src/Bicep.LangServer.UnitTests/BicepCompletionProviderTests.cs index 02f5f030d1a..32481d47648 100644 --- a/src/Bicep.LangServer.UnitTests/BicepCompletionProviderTests.cs +++ b/src/Bicep.LangServer.UnitTests/BicepCompletionProviderTests.cs @@ -6,6 +6,7 @@ using System.Linq; using Bicep.Core; using Bicep.Core.Extensions; +using Bicep.Core.FileSystem; using Bicep.Core.Navigation; using Bicep.Core.Parsing; using Bicep.Core.Semantics; @@ -33,7 +34,7 @@ public void DeclarationSnippetsShouldBeValid() var compilation = new Compilation(TestResourceTypeProvider.Create(), grouping); compilation.GetEntrypointSemanticModel().GetAllDiagnostics().Should().BeEmpty(); - var provider = new BicepCompletionProvider(); + var provider = new BicepCompletionProvider(new FileResolver()); var completions = provider.GetFilteredCompletions(compilation, BicepCompletionContext.Create(grouping.EntryPoint, 0)); @@ -99,7 +100,7 @@ public void DeclarationContextShouldReturnKeywordCompletions() var compilation = new Compilation(TestResourceTypeProvider.Create(), grouping); compilation.GetEntrypointSemanticModel().GetAllDiagnostics().Should().BeEmpty(); - var provider = new BicepCompletionProvider(); + var provider = new BicepCompletionProvider(new FileResolver()); var completions = provider.GetFilteredCompletions(compilation, BicepCompletionContext.Create(grouping.EntryPoint, 0)); @@ -179,7 +180,7 @@ param p string var offset = grouping.EntryPoint.ProgramSyntax.Declarations.OfType().Single().Value.Span.Position; var compilation = new Compilation(TestResourceTypeProvider.Create(), grouping); - var provider = new BicepCompletionProvider(); + var provider = new BicepCompletionProvider(new FileResolver()); var context = BicepCompletionContext.Create(grouping.EntryPoint, offset); var completions = provider.GetFilteredCompletions(compilation, context).ToList(); @@ -218,7 +219,7 @@ public void CompletionsForOneLinerParameterDefaultValueShouldIncludeFunctionsVal var offset = ((ParameterDefaultValueSyntax) grouping.EntryPoint.ProgramSyntax.Declarations.OfType().Single().Modifier!).DefaultValue.Span.Position; - var provider = new BicepCompletionProvider(); + var provider = new BicepCompletionProvider(new FileResolver()); var completions = provider.GetFilteredCompletions( compilation, BicepCompletionContext.Create(grouping.EntryPoint, offset)).ToList(); @@ -249,7 +250,7 @@ public void CompletionsForModifierDefaultValuesShouldIncludeFunctionsValidInDefa var compilation = new Compilation(TestResourceTypeProvider.Create(), grouping); var context = BicepCompletionContext.Create(grouping.EntryPoint, offset); - var provider = new BicepCompletionProvider(); + var provider = new BicepCompletionProvider(new FileResolver()); var completions = provider.GetFilteredCompletions(compilation, context).ToList(); AssertExpectedFunctions(completions, expectParamDefaultFunctions: true); @@ -280,7 +281,7 @@ param concat string var offset = grouping.EntryPoint.ProgramSyntax.Declarations.OfType().Single().Value.Span.Position; var compilation = new Compilation(TestResourceTypeProvider.Create(), grouping); - var provider = new BicepCompletionProvider(); + var provider = new BicepCompletionProvider(new FileResolver()); var context = BicepCompletionContext.Create(grouping.EntryPoint, offset); var completions = provider.GetFilteredCompletions(compilation, context).ToList(); @@ -322,7 +323,7 @@ public void OutputTypeContextShouldReturnDeclarationTypeCompletions() { var grouping = SyntaxFactory.CreateFromText("output test "); var compilation = new Compilation(TestResourceTypeProvider.Create(), grouping); - var provider = new BicepCompletionProvider(); + var provider = new BicepCompletionProvider(new FileResolver()); var offset = grouping.EntryPoint.ProgramSyntax.Declarations.OfType().Single().Type.Span.Position; @@ -339,7 +340,7 @@ public void ParameterTypeContextShouldReturnDeclarationTypeCompletions() { var grouping = SyntaxFactory.CreateFromText("param foo "); var compilation = new Compilation(TestResourceTypeProvider.Create(), grouping); - var provider = new BicepCompletionProvider(); + var provider = new BicepCompletionProvider(new FileResolver()); var offset = grouping.EntryPoint.ProgramSyntax.Declarations.OfType().Single().Type.Span.Position; @@ -383,7 +384,7 @@ public void CommentShouldNotGiveAnyCompletions(string codeFragment) { var grouping = SyntaxFactory.CreateFromText(codeFragment); var compilation = new Compilation(TestResourceTypeProvider.Create(), grouping); - var provider = new BicepCompletionProvider(); + var provider = new BicepCompletionProvider(new FileResolver()); var offset = codeFragment.IndexOf('|'); diff --git a/src/Bicep.LangServer/Completions/BicepCompletionContext.cs b/src/Bicep.LangServer/Completions/BicepCompletionContext.cs index 1d4a23af7c2..6629dafa33d 100644 --- a/src/Bicep.LangServer/Completions/BicepCompletionContext.cs +++ b/src/Bicep.LangServer/Completions/BicepCompletionContext.cs @@ -169,7 +169,8 @@ private static BicepCompletionContextKind GetDeclarationTypeFlags(IList(matchingNodes, module => CheckTypeIsExpected(module.Name, module.Path)) || - SyntaxMatcher.IsTailMatch(matchingNodes, (_, _, token) => token.Type == TokenType.StringComplete)) + SyntaxMatcher.IsTailMatch(matchingNodes, (_, _, token) => token.Type == TokenType.StringComplete) || + SyntaxMatcher.IsTailMatch(matchingNodes, (_, _, token) => token.Type == TokenType.Identifier)) { // the most specific matching node is a module declaration // the declaration syntax is "module '' ..." diff --git a/src/Bicep.LangServer/Completions/BicepCompletionProvider.cs b/src/Bicep.LangServer/Completions/BicepCompletionProvider.cs index a617928e22d..3ee5bc3d92e 100644 --- a/src/Bicep.LangServer/Completions/BicepCompletionProvider.cs +++ b/src/Bicep.LangServer/Completions/BicepCompletionProvider.cs @@ -7,6 +7,7 @@ using System.Text; using Bicep.Core; using Bicep.Core.Extensions; +using Bicep.Core.FileSystem; using Bicep.Core.Parsing; using Bicep.Core.Resources; using Bicep.Core.Semantics; @@ -28,6 +29,13 @@ public class BicepCompletionProvider : ICompletionProvider private static readonly Container PropertyAccessCommitChars = new Container("."); + private IFileResolver FileResolver; + + public BicepCompletionProvider(IFileResolver fileResolver) + { + this.FileResolver = fileResolver; + } + public IEnumerable GetFilteredCompletions(Compilation compilation, BicepCompletionContext context) { var model = compilation.GetEntrypointSemanticModel(); @@ -41,6 +49,7 @@ public IEnumerable GetFilteredCompletions(Compilation compilatio .Concat(GetPropertyValueCompletions(model, context)) .Concat(GetArrayItemCompletions(model, context)) .Concat(GetResourceTypeCompletions(model, context)) + .Concat(GetModulePathCompletions(model, context)) .Concat(GetResourceOrModuleBodyCompletions(context)) .Concat(GetTargetScopeCompletions(model, context)); } @@ -50,7 +59,6 @@ private IEnumerable GetDeclarationCompletions(BicepCompletionCon if (context.Kind.HasFlag(BicepCompletionContextKind.DeclarationStart)) { yield return CreateKeywordCompletion(LanguageConstants.ParameterKeyword, "Parameter keyword", context.ReplacementRange); - yield return CreateContextualSnippetCompletion(LanguageConstants.ParameterKeyword, "Parameter declaration", "param ${1:Identifier} ${2:Type}", context.ReplacementRange); yield return CreateContextualSnippetCompletion(LanguageConstants.ParameterKeyword, "Parameter declaration with default value", "param ${1:Identifier} ${2:Type} = ${3:DefaultValue}", context.ReplacementRange); yield return CreateContextualSnippetCompletion(LanguageConstants.ParameterKeyword, "Parameter declaration with default and allowed values", @"param ${1:Identifier} ${2:Type} { @@ -108,7 +116,7 @@ private IEnumerable GetDeclarationCompletions(BicepCompletionCon private IEnumerable GetTargetScopeCompletions(SemanticModel model, BicepCompletionContext context) { - return context.Kind.HasFlag(BicepCompletionContextKind.TargetScope) && context.TargetScope is {} targetScope + return context.Kind.HasFlag(BicepCompletionContextKind.TargetScope) && context.TargetScope is { } targetScope ? GetValueCompletionsForType(model.GetDeclaredType(targetScope), context.ReplacementRange) : Enumerable.Empty(); } @@ -168,6 +176,69 @@ private IEnumerable GetResourceTypeCompletions(SemanticModel mod .ToList(); } + private IEnumerable GetModulePathCompletions(SemanticModel model, BicepCompletionContext context) + { + if (!context.Kind.HasFlag(BicepCompletionContextKind.ModulePath)) + { + return Enumerable.Empty(); + } + + // To provide intellisense before the quotes are typed + if (context.EnclosingDeclaration is not ModuleDeclarationSyntax declarationSyntax + || declarationSyntax.Path is not StringSyntax stringSyntax + || stringSyntax.TryGetLiteralValue() is not string entered) + { + entered = ""; + } + + // These should only fail if we're not able to resolve cwd path or the entered string + if (FileResolver.TryResolveModulePath(model.SyntaxTree.FileUri, ".") is not {} cwdUri + || FileResolver.TryResolveModulePath(cwdUri, entered) is not {} query) + { + return Enumerable.Empty(); + } + + var files = Enumerable.Empty(); + var dirs = Enumerable.Empty(); + + + // technically bicep files do not have to follow the bicep extension, so + // we are not enforcing *.bicep get files command + if (FileResolver.TryDirExists(query)) + { + files = FileResolver.GetFiles(query, string.Empty); + dirs = FileResolver.GetDirectories(query, string.Empty); + } + else if (FileResolver.TryResolveModulePath(query, ".") is {} queryParent) + { + files = FileResolver.GetFiles(queryParent, ""); + dirs = FileResolver.GetDirectories(queryParent,""); + } + // "./" will not be preserved when making relative Uris. We have to go and manually add it. + // Prioritize .bicep files higher than other files. + var fileItems = files + .Where(file => file != model.SyntaxTree.FileUri) + .Where(file => file.Segments.Last().EndsWith(LanguageServerConstants.LanguageFileExtension)) + .Select(file => CreateModulePathCompletion( + file.Segments.Last(), + (entered.StartsWith("./") ? "./" : "") + cwdUri.MakeRelativeUri(file).ToString(), + context.ReplacementRange, + CompletionItemKind.File, + file.Segments.Last().EndsWith(LanguageServerConstants.LanguageId) ? CompletionPriority.High : CompletionPriority.Medium)) + .ToList(); + + var dirItems = dirs + .Select(dir => CreateModulePathCompletion( + dir.Segments.Last(), + (entered.StartsWith("./") ? "./" : "") + cwdUri.MakeRelativeUri(dir).ToString(), + context.ReplacementRange, + CompletionItemKind.Folder, + CompletionPriority.Medium) + .WithCommand(new Command {Name = EditorCommands.RequestCompletions })) + .ToList(); + return fileItems.Concat(dirItems); + } + private static IEnumerable GetParameterTypeSnippets(Range replacementRange) { yield return CreateContextualSnippetCompletion("secureObject", "Secure object", @"object { @@ -192,7 +263,7 @@ private static IEnumerable GetAccessibleSymbolCompletions(Semant // maps insert text to the completion item var completions = new Dictionary(); - var enclosingDeclarationSymbol = context.EnclosingDeclaration == null + var enclosingDeclarationSymbol = context.EnclosingDeclaration == null ? null : model.GetSymbolInfo(context.EnclosingDeclaration); @@ -347,7 +418,7 @@ private IEnumerable GetPropertyValueCompletions(SemanticModel mo } var declaredTypeAssignment = GetDeclaredTypeAssignment(model, context.Property); - if(declaredTypeAssignment == null) + if (declaredTypeAssignment == null) { return Enumerable.Empty(); } @@ -378,7 +449,7 @@ private static IEnumerable GetValueCompletionsForType(TypeSymbol case PrimitiveType _ when ReferenceEquals(propertyType, LanguageConstants.Bool): yield return CreateKeywordCompletion(LanguageConstants.TrueKeyword, LanguageConstants.TrueKeyword, replacementRange, preselect: true, CompletionPriority.High); yield return CreateKeywordCompletion(LanguageConstants.FalseKeyword, LanguageConstants.FalseKeyword, replacementRange, preselect: true, CompletionPriority.High); - + break; case StringLiteralType stringLiteral: @@ -399,7 +470,7 @@ private static IEnumerable GetValueCompletionsForType(TypeSymbol .WithDetail(arrayLabel) .Preselect() .WithSortText(GetSortText(arrayLabel, CompletionPriority.High)); - + break; case DiscriminatedObjectType _: @@ -509,6 +580,25 @@ private static CompletionItem CreateResourceTypeCompletion(ResourceTypeReference .WithSortText(index.ToString("x8")); } + private static CompletionItem CreateModulePathCompletion(string name, string path, Range replacementRange, CompletionItemKind completionItemKind, CompletionPriority priority) + { + path = StringUtils.EscapeBicepString(path); + var item = CompletionItemBuilder.Create(completionItemKind) + .WithLabel(name) + .WithFilterText(path) + .WithSortText(GetSortText(name, priority)); + // Folder completions should keep us within the completion string + if (completionItemKind.Equals(CompletionItemKind.Folder)) + { + item.WithSnippetEdit(replacementRange, $"{path.Substring(0, path.Length - 1)}$0'"); + } + else + { + item = item.WithPlainTextEdit(replacementRange, path); + } + return item; + } + /// /// Creates a completion with a contextual snippet. This will look like a snippet to the user. /// @@ -532,7 +622,7 @@ private static CompletionItem CreateSymbolCompletion(Symbol symbol, Range replac if (symbol is FunctionSymbol function) { - // for functions withouth any parameters on all the overloads, we should be placing the cursor after the parentheses + // for functions without any parameters on all the overloads, we should be placing the cursor after the parentheses // for all other functions, the cursor should land between the parentheses so the user can specify the arguments bool hasParameters = function.Overloads.Any(overload => overload.HasParameters); var snippet = hasParameters diff --git a/src/Bicep.LangServer/Completions/CompletionItemBuilder.cs b/src/Bicep.LangServer/Completions/CompletionItemBuilder.cs index 115748896de..ba56559495e 100644 --- a/src/Bicep.LangServer/Completions/CompletionItemBuilder.cs +++ b/src/Bicep.LangServer/Completions/CompletionItemBuilder.cs @@ -10,9 +10,37 @@ public static class CompletionItemBuilder { public static CompletionItem Create(CompletionItemKind kind) => new CompletionItem {Kind = kind}; - public static CompletionItem WithLabel(this CompletionItem item, string label) + public static CompletionItem WithAdditionalEdits(this CompletionItem item, TextEditContainer editContainer) { - item.Label = label; + item.AdditionalTextEdits = editContainer; + return item; + } + + public static CompletionItem WithCommitCharacters(this CompletionItem item, Container commitCharacters) + { + item.CommitCharacters = commitCharacters; + return item; + } + + public static CompletionItem WithDetail(this CompletionItem item, string detail) + { + item.Detail = detail; + return item; + } + + public static CompletionItem WithDocumentation(this CompletionItem item, string markdown) + { + item.Documentation = new StringOrMarkupContent(new MarkupContent + { + Kind = MarkupKind.Markdown, + Value = markdown + }); + return item; + } + + public static CompletionItem WithFilterText(this CompletionItem item, string filterText) + { + item.FilterText = filterText; return item; } @@ -27,6 +55,19 @@ public static CompletionItem WithInsertText(this CompletionItem item, string ins return item; } + public static CompletionItem WithLabel(this CompletionItem item, string label) + { + item.Label = label; + return item; + } + + public static CompletionItem WithPlainTextEdit(this CompletionItem item, Range range, string text, InsertTextMode insertTextMode = InsertTextMode.AsIs) + { + AssertNoInsertText(item); + SetTextEditInternal(item, range, InsertTextFormat.PlainText, text, insertTextMode); + return item; + } + public static CompletionItem WithSnippet(this CompletionItem item, string snippet, InsertTextMode insertTextMode = InsertTextMode.AsIs) { AssertNoTextEdit(item); @@ -38,12 +79,6 @@ public static CompletionItem WithSnippet(this CompletionItem item, string snippe return item; } - public static CompletionItem WithPlainTextEdit(this CompletionItem item, Range range, string text, InsertTextMode insertTextMode = InsertTextMode.AsIs) - { - AssertNoInsertText(item); - SetTextEditInternal(item, range, InsertTextFormat.PlainText, text, insertTextMode); - return item; - } public static CompletionItem WithSnippetEdit(this CompletionItem item, Range range, string snippet, InsertTextMode insertTextMode = InsertTextMode.AsIs) { @@ -52,27 +87,8 @@ public static CompletionItem WithSnippetEdit(this CompletionItem item, Range ran return item; } - public static CompletionItem WithAdditionalEdits(this CompletionItem item, TextEditContainer editContainer) - { - item.AdditionalTextEdits = editContainer; - return item; - } - public static CompletionItem WithDetail(this CompletionItem item, string detail) - { - item.Detail = detail; - return item; - } - public static CompletionItem WithDocumentation(this CompletionItem item, string markdown) - { - item.Documentation = new StringOrMarkupContent(new MarkupContent - { - Kind = MarkupKind.Markdown, - Value = markdown - }); - return item; - } public static CompletionItem WithSortText(this CompletionItem item, string sortText) { @@ -88,11 +104,6 @@ public static CompletionItem Preselect(this CompletionItem item, bool preselect) return item; } - public static CompletionItem WithCommitCharacters(this CompletionItem item, Container commitCharacters) - { - item.CommitCharacters = commitCharacters; - return item; - } public static CompletionItem WithCommand(this CompletionItem item, Command command) { diff --git a/src/Bicep.LangServer/Handlers/BicepCompletionHandler.cs b/src/Bicep.LangServer/Handlers/BicepCompletionHandler.cs index f880ac970fe..d8a6d400eee 100644 --- a/src/Bicep.LangServer/Handlers/BicepCompletionHandler.cs +++ b/src/Bicep.LangServer/Handlers/BicepCompletionHandler.cs @@ -1,11 +1,14 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +using System; +using System.Linq; using System.Threading; using System.Threading.Tasks; using Bicep.LanguageServer.CompilationManager; using Bicep.LanguageServer.Completions; using Bicep.LanguageServer.Utils; +using Microsoft.Extensions.Logging; using OmniSharp.Extensions.LanguageServer.Protocol.Document; using OmniSharp.Extensions.LanguageServer.Protocol.Models; @@ -13,12 +16,14 @@ namespace Bicep.LanguageServer.Handlers { public class BicepCompletionHandler : CompletionHandler { + private readonly ILogger logger; private readonly ICompilationManager compilationManager; private readonly ICompletionProvider completionProvider; - public BicepCompletionHandler(ICompilationManager compilationManager, ICompletionProvider completionProvider) + public BicepCompletionHandler(ILogger logger, ICompilationManager compilationManager, ICompletionProvider completionProvider) : base(CreateRegistrationOptions()) { + this.logger = logger; this.compilationManager = compilationManager; this.completionProvider = completionProvider; } @@ -33,7 +38,15 @@ public override Task Handle(CompletionParams request, Cancellati int offset = PositionHelper.GetOffset(compilationContext.LineStarts, request.Position); var completionContext = BicepCompletionContext.Create(compilationContext.Compilation.SyntaxTreeGrouping.EntryPoint, offset); - var completions = this.completionProvider.GetFilteredCompletions(compilationContext.Compilation, completionContext); + var completions = Enumerable.Empty(); + try + { + completions = this.completionProvider.GetFilteredCompletions(compilationContext.Compilation, completionContext); + } + catch (Exception e) + { + this.logger.LogError("Error with Completion in file {Uri} with {Context}. Underlying exception is: {Exception}", request.TextDocument.Uri, completionContext, e.ToString()); + } return Task.FromResult(new CompletionList(completions, isIncomplete: false)); } @@ -48,7 +61,7 @@ public override Task Handle(CompletionItem request, Cancellation DocumentSelector = DocumentSelectorFactory.Create(), AllCommitCharacters = new Container(), ResolveProvider = false, - TriggerCharacters = new Container(":", " ", ".") + TriggerCharacters = new Container(":", " ", ".", "/") }; } } diff --git a/src/Bicep.LangServer/LanguageServerConstants.cs b/src/Bicep.LangServer/LanguageServerConstants.cs index d6113908765..c21256de7fd 100644 --- a/src/Bicep.LangServer/LanguageServerConstants.cs +++ b/src/Bicep.LangServer/LanguageServerConstants.cs @@ -5,6 +5,8 @@ namespace Bicep.LanguageServer public static class LanguageServerConstants { public const string LanguageId = "bicep"; + + public const string LanguageFileExtension = ".bicep"; } } From 3c12faa1d2ec14bbee55cdb325ab46eeb67750b0 Mon Sep 17 00:00:00 2001 From: Shenglong Li Date: Thu, 28 Jan 2021 11:38:42 -0800 Subject: [PATCH 3/3] Decorators (#1324) * Parsing and semantic analysis for decorators * First iteration of decorator emitter * Simplify decorator definitions * Remove constructors not needed * Emit default value * Ban using parameter decorators and modifiers together * Minor refactoring * Add formatting support for decorators * Fix parser and spans * Improve ObjectSyntax merging methods * Update test baselines * Add missing test cases * Remove unnecessary recovery logic * Move decorators to sys namespace * Move leading nodes to a base class * Handle dangling decorators * Add grammar for decorators * Fix a file name; clean up garbage * Add missing validator for @secure() * Add a note to warn people to not break dangling decorators tests * Fine-tune decorator parsing logic * Copy and convert parameter modifier tests to use decorators --- docs/grammar.md | 14 +- .../Emit/TemplateEmitterTests.cs | 2 +- .../ModuleTests.cs | 6 +- .../Semantics/CompilationTests.cs | 2 +- .../Semantics/SemanticModelTests.cs | 2 +- .../TypeSystem/TypeValidationTests.cs | 2 +- .../Files/InvalidExpressions_LF/main.bicep | 19 +- .../main.diagnostics.bicep | 20 + .../main.formatted.bicep | 8 + .../InvalidExpressions_LF/main.symbols.bicep | 18 + .../InvalidExpressions_LF/main.syntax.bicep | 57 +- .../InvalidExpressions_LF/main.tokens.bicep | 42 +- .../Files/InvalidModules_LF/main.bicep | 7 +- .../InvalidModules_LF/main.diagnostics.bicep | 7 + .../InvalidModules_LF/main.formatted.bicep | 5 + .../InvalidModules_LF/main.symbols.bicep | 7 + .../Files/InvalidModules_LF/main.syntax.bicep | 36 +- .../Files/InvalidModules_LF/main.tokens.bicep | 26 +- .../Files/InvalidOutputs_CRLF/main.bicep | 4 + .../main.diagnostics.bicep | 6 + .../InvalidOutputs_CRLF/main.formatted.bicep | 4 + .../InvalidOutputs_CRLF/main.symbols.bicep | 5 + .../InvalidOutputs_CRLF/main.syntax.bicep | 42 +- .../InvalidOutputs_CRLF/main.tokens.bicep | 26 +- .../Completions/justSymbols.json | 3750 +++++------ .../Completions/oneTwoThreePlusSymbols.json | 3834 +++++------ .../symbolsPlusParamDefaultFunctions.json | 3750 +++++------ .../Files/InvalidParameters_LF/main.bicep | 90 + .../main.diagnostics.bicep | 122 + .../InvalidParameters_LF/main.formatted.bicep | 86 + .../InvalidParameters_LF/main.symbols.bicep | 105 + .../InvalidParameters_LF/main.syntax.bicep | 693 ++ .../InvalidParameters_LF/main.tokens.bicep | 432 ++ .../Completions/arrayPlusSymbols.json | 4674 +++++++------- .../cleanupPreferencesPlusSymbols.json | 4729 +++++++------- .../cliPropertyAccessIndexesPlusSymbols.json | 5185 +++++++-------- .../createModeIndexPlusSymbols.json | 4681 +++++++------- .../Completions/defaultCreateModeIndexes.json | 5653 +++++++++-------- .../deploymentScriptKindsPlusSymbols.json | 4701 +++++++------- ...DiscriminatorPropertyIndexPlusSymbols.json | 4681 +++++++------- .../Completions/objectPlusSymbols.json | 4674 +++++++------- .../Completions/symbols.json | 14 + .../Files/InvalidResources_CRLF/main.bicep | 8 +- .../main.diagnostics.bicep | 9 + .../main.formatted.bicep | 6 + .../InvalidResources_CRLF/main.symbols.bicep | 8 + .../InvalidResources_CRLF/main.syntax.bicep | 52 +- .../InvalidResources_CRLF/main.tokens.bicep | 35 +- .../Completions/objectVarTopLevelIndexes.json | 14 + .../Completions/symbols.json | 14 + .../Completions/twoIndexPlusSymbols.json | 14 + .../Files/InvalidVariables_LF/main.bicep | 6 +- .../main.diagnostics.bicep | 6 + .../InvalidVariables_LF/main.formatted.bicep | 4 + .../InvalidVariables_LF/main.symbols.bicep | 6 + .../InvalidVariables_LF/main.syntax.bicep | 31 +- .../InvalidVariables_LF/main.tokens.bicep | 21 +- .../Files/Parameters_CRLF/main.bicep | 131 + .../Parameters_CRLF/main.diagnostics.bicep | 131 + .../Parameters_CRLF/main.formatted.bicep | 129 + .../Files/Parameters_CRLF/main.json | 438 +- .../Files/Parameters_CRLF/main.symbols.bicep | 148 + .../Files/Parameters_CRLF/main.syntax.bicep | 928 +++ .../Files/Parameters_CRLF/main.tokens.bicep | 590 ++ .../Files/Parameters_LF/main.bicep | 97 + .../Parameters_LF/main.diagnostics.bicep | 97 + .../Files/Parameters_LF/main.formatted.bicep | 95 + .../Files/Parameters_LF/main.json | 419 +- .../Files/Parameters_LF/main.symbols.bicep | 112 + .../Files/Parameters_LF/main.syntax.bicep | 705 +- .../Files/Parameters_LF/main.tokens.bicep | 448 +- .../Emit/ExpressionConverterTests.cs | 2 +- .../Semantics/SymbolContextTests.cs | 2 +- .../Az/AzResourceTypeProviderTests.cs | 4 +- .../Utils/CompilationHelper.cs | 2 +- ...actory.cs => SyntaxTreeGroupingFactory.cs} | 2 +- .../Diagnostics/DiagnosticBuilder.cs | 51 + src/Bicep.Core/Emit/TemplateWriter.cs | 100 +- .../Extensions/FunctionFlagsExtensions.cs | 18 + src/Bicep.Core/Parsing/Lexer.cs | 2 + src/Bicep.Core/Parsing/Parser.cs | 136 +- src/Bicep.Core/Parsing/TokenType.cs | 1 + .../PrettyPrint/DocumentBuildVisitor.cs | 78 +- src/Bicep.Core/Semantics/Decorator.cs | 56 + src/Bicep.Core/Semantics/DecoratorBuilder.cs | 71 + .../Semantics/NameBindingVisitor.cs | 55 +- src/Bicep.Core/Semantics/NamespaceSymbol.cs | 5 +- .../Semantics/Namespaces/AzNamespaceSymbol.cs | 3 +- .../Namespaces/SystemNamespaceSymbol.cs | 121 +- src/Bicep.Core/Semantics/SymbolValidator.cs | 44 +- src/Bicep.Core/Syntax/DecoratorSyntax.cs | 39 + src/Bicep.Core/Syntax/ISyntaxVisitor.cs | 4 + .../Syntax/MissingDeclarationSyntax.cs | 23 + .../Syntax/ModuleDeclarationSyntax.cs | 9 +- .../Syntax/ObjectSyntaxExtensions.cs | 53 + .../Syntax/OutputDeclarationSyntax.cs | 12 +- .../Syntax/ParameterDeclarationSyntax.cs | 9 +- .../Syntax/ResourceDeclarationSyntax.cs | 11 +- src/Bicep.Core/Syntax/StatementSyntax.cs | 19 + src/Bicep.Core/Syntax/SyntaxFactory.cs | 117 + src/Bicep.Core/Syntax/SyntaxRewriteVisitor.cs | 52 +- src/Bicep.Core/Syntax/SyntaxVisitor.cs | 19 +- src/Bicep.Core/Syntax/TargetScopeSyntax.cs | 20 +- .../Syntax/VariableDeclarationSyntax.cs | 22 +- .../TypeSystem/CyclicCheckVisitor.cs | 23 +- .../TypeSystem/DecoratorResolver.cs | 47 + src/Bicep.Core/TypeSystem/FunctionFlags.cs | 25 + src/Bicep.Core/TypeSystem/NamespaceType.cs | 9 +- .../TypeSystem/TypeAssignmentVisitor.cs | 75 +- .../Rewriters/DependsOnRemovalRewriter.cs | 2 + .../ParentChildResourceNameRewriter.cs | 1 + src/Bicep.Decompiler/TemplateConverter.cs | 9 + .../DefinitionTests.cs | 2 +- .../Helpers/IntegrationTestHelper.cs | 8 +- .../HoverTests.cs | 6 +- .../BicepCompletionProviderTests.cs | 18 +- 116 files changed, 33052 insertions(+), 25258 deletions(-) rename src/Bicep.Core.UnitTests/Utils/{SyntaxFactory.cs => SyntaxTreeGroupingFactory.cs} (95%) create mode 100644 src/Bicep.Core/Extensions/FunctionFlagsExtensions.cs create mode 100644 src/Bicep.Core/Semantics/Decorator.cs create mode 100644 src/Bicep.Core/Semantics/DecoratorBuilder.cs create mode 100644 src/Bicep.Core/Syntax/DecoratorSyntax.cs create mode 100644 src/Bicep.Core/Syntax/MissingDeclarationSyntax.cs create mode 100644 src/Bicep.Core/Syntax/StatementSyntax.cs create mode 100644 src/Bicep.Core/Syntax/SyntaxFactory.cs create mode 100644 src/Bicep.Core/TypeSystem/DecoratorResolver.cs diff --git a/docs/grammar.md b/docs/grammar.md index 8d3ae5da506..0171bd6622d 100644 --- a/docs/grammar.md +++ b/docs/grammar.md @@ -13,19 +13,21 @@ statement -> targetScopeDecl -> "targetScope" "=" expression -parameterDecl -> "parameter" IDENTIFIER(name) IDENTIFIER(type) (parameterDefaultValue | object(modifier))? NL +parameterDecl -> decorator* "parameter" IDENTIFIER(name) IDENTIFIER(type) parameterDefaultValue? NL parameterDefaultValue -> "=" expression -variableDecl -> "variable" IDENTIFIER(name) "=" expression NL +variableDecl -> decorator* "variable" IDENTIFIER(name) "=" expression NL -resourceDecl -> "resource" IDENTIFIER(name) interpString(type) "=" ifCondition? object NL +resourceDecl -> decorator* "resource" IDENTIFIER(name) interpString(type) "=" ifCondition? object NL -moduleDecl -> "module" IDENTIFIER(name) interpString(type) "=" object NL +moduleDecl -> decorator* "module" IDENTIFIER(name) interpString(type) "=" object NL -outputDecl -> "output" IDENTIFIER(name) IDENTIFIER(type) "=" expression NL +outputDecl -> decorator* "output" IDENTIFIER(name) IDENTIFIER(type) "=" expression NL NL -> ("\n" | "\r")+ +decorator -> "@" decoratorExpression NL + expression -> binaryExpression | binaryExpression "?" expression ":" expression @@ -79,6 +81,8 @@ primaryExpression -> object | parenthesizedExpression +decoratorExpression -> functionCall | memberExpression "." functionCall + functionCall -> IDENTIFIER "(" argumentList? ")" argumentList -> expression ("," expression)* diff --git a/src/Bicep.Core.IntegrationTests/Emit/TemplateEmitterTests.cs b/src/Bicep.Core.IntegrationTests/Emit/TemplateEmitterTests.cs index c63bdec60ad..148d5e54042 100644 --- a/src/Bicep.Core.IntegrationTests/Emit/TemplateEmitterTests.cs +++ b/src/Bicep.Core.IntegrationTests/Emit/TemplateEmitterTests.cs @@ -52,7 +52,7 @@ public void ValidBicep_TemplateEmiterShouldProduceExpectedTemplate(DataSet dataS [TestMethod] public void TemplateEmitter_output_should_not_include_UTF8_BOM() { - var syntaxTreeGrouping = SyntaxFactory.CreateFromText(""); + var syntaxTreeGrouping = SyntaxTreeGroupingFactory.CreateFromText(""); var compiledFilePath = FileHelper.GetResultFilePath(this.TestContext, "main.json"); // emitting the template should be successful diff --git a/src/Bicep.Core.IntegrationTests/ModuleTests.cs b/src/Bicep.Core.IntegrationTests/ModuleTests.cs index c682deae9db..5a0be4db304 100644 --- a/src/Bicep.Core.IntegrationTests/ModuleTests.cs +++ b/src/Bicep.Core.IntegrationTests/ModuleTests.cs @@ -72,7 +72,7 @@ param inputb string }; - var compilation = new Compilation(TestResourceTypeProvider.Create(), SyntaxFactory.CreateForFiles(files, mainUri)); + var compilation = new Compilation(TestResourceTypeProvider.Create(), SyntaxTreeGroupingFactory.CreateForFiles(files, mainUri)); var (success, diagnosticsByFile) = GetSuccessAndDiagnosticsByFile(compilation); diagnosticsByFile.Values.SelectMany(x => x).Should().BeEmpty(); @@ -102,7 +102,7 @@ param inputb string }; - var compilation = new Compilation(TestResourceTypeProvider.Create(), SyntaxFactory.CreateForFiles(files, mainUri)); + var compilation = new Compilation(TestResourceTypeProvider.Create(), SyntaxTreeGroupingFactory.CreateForFiles(files, mainUri)); var (success, diagnosticsByFile) = GetSuccessAndDiagnosticsByFile(compilation); diagnosticsByFile[mainUri].Should().HaveDiagnostics(new[] { @@ -157,7 +157,7 @@ param inputb string }; - var compilation = new Compilation(TestResourceTypeProvider.Create(), SyntaxFactory.CreateForFiles(files, mainUri)); + var compilation = new Compilation(TestResourceTypeProvider.Create(), SyntaxTreeGroupingFactory.CreateForFiles(files, mainUri)); var (success, diagnosticsByFile) = GetSuccessAndDiagnosticsByFile(compilation); diagnosticsByFile[mainUri].Should().HaveDiagnostics(new[] { diff --git a/src/Bicep.Core.IntegrationTests/Semantics/CompilationTests.cs b/src/Bicep.Core.IntegrationTests/Semantics/CompilationTests.cs index c35c2840d7e..13a30c3d4d8 100644 --- a/src/Bicep.Core.IntegrationTests/Semantics/CompilationTests.cs +++ b/src/Bicep.Core.IntegrationTests/Semantics/CompilationTests.cs @@ -15,7 +15,7 @@ public class CompilationTests [TestMethod] public void EmptyProgram_SyntaxTreeGrouping_should_be_persisted() { - var program = SyntaxFactory.CreateFromText(DataSets.Empty.Bicep); + var program = SyntaxTreeGroupingFactory.CreateFromText(DataSets.Empty.Bicep); var compilation = new Compilation(TestResourceTypeProvider.Create(), program); compilation.SyntaxTreeGrouping.Should().BeSameAs(program); diff --git a/src/Bicep.Core.IntegrationTests/Semantics/SemanticModelTests.cs b/src/Bicep.Core.IntegrationTests/Semantics/SemanticModelTests.cs index ee5f4ffc509..64c38fb222b 100644 --- a/src/Bicep.Core.IntegrationTests/Semantics/SemanticModelTests.cs +++ b/src/Bicep.Core.IntegrationTests/Semantics/SemanticModelTests.cs @@ -47,7 +47,7 @@ public void ProgramsShouldProduceExpectedDiagnostics(DataSet dataSet) [TestMethod] public void EndOfFileFollowingSpaceAfterParameterKeyWordShouldNotThrow() { - var compilation = new Compilation(TestResourceTypeProvider.Create(), SyntaxFactory.CreateFromText("parameter ")); + var compilation = new Compilation(TestResourceTypeProvider.Create(), SyntaxTreeGroupingFactory.CreateFromText("parameter ")); compilation.GetEntrypointSemanticModel().GetParseDiagnostics(); } diff --git a/src/Bicep.Core.IntegrationTests/TypeSystem/TypeValidationTests.cs b/src/Bicep.Core.IntegrationTests/TypeSystem/TypeValidationTests.cs index c6ee494e407..f807c3e3593 100644 --- a/src/Bicep.Core.IntegrationTests/TypeSystem/TypeValidationTests.cs +++ b/src/Bicep.Core.IntegrationTests/TypeSystem/TypeValidationTests.cs @@ -23,7 +23,7 @@ private static SemanticModel GetSemanticModelForTest(string programText, IEnumer { var typeProvider = ResourceTypeProviderHelper.CreateMockTypeProvider(definedTypes); - var compilation = new Compilation(typeProvider, SyntaxFactory.CreateFromText(programText)); + var compilation = new Compilation(typeProvider, SyntaxTreeGroupingFactory.CreateFromText(programText)); return compilation.GetEntrypointSemanticModel(); } diff --git a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.bicep b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.bicep index 8fbfbc71d0d..d73810cd55c 100644 --- a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.bicep @@ -246,4 +246,21 @@ var partialObject = { a # 22 c : d : % -} \ No newline at end of file +} + +// dangling decorators - to make sure the tests work, please do not add contents after this line +@concat() +@sys.secure() +xxxxx + + +// BCP132 should be on the line below the decorator +@minLength() + + + + + + + + diff --git a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.diagnostics.bicep b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.diagnostics.bicep index 63a500d65ec..49ce79e575d 100644 --- a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.diagnostics.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.diagnostics.bicep @@ -454,3 +454,23 @@ var partialObject = { d : % //@[7:8) [BCP009 (Error)] Expected a literal value, an array, an object, a parenthesized expression, or a function call at this location. |%| } + +// dangling decorators - to make sure the tests work, please do not add contents after this line +@concat() +@sys.secure() +xxxxx +//@[0:5) [BCP007 (Error)] This declaration type is not recognized. Specify a parameter, variable, resource, or output declaration. |xxxxx| + + +// BCP132 should be on the line below the decorator +@minLength() + + +//@[0:0) [BCP132 (Error)] Expected a declaration after the decorator. || + + + + + + + diff --git a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.formatted.bicep b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.formatted.bicep index ec834f2179e..83cdfcce9d2 100644 --- a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.formatted.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.formatted.bicep @@ -234,3 +234,11 @@ var partialObject = { c : d : % } + +// dangling decorators - to make sure the tests work, please do not add contents after this line +@concat() +@sys.secure() +xxxxx + +// BCP132 should be on the line below the decorator +@minLength() diff --git a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.symbols.bicep b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.symbols.bicep index 20947a75ce5..f95d5892fe4 100644 --- a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.symbols.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.symbols.bicep @@ -362,3 +362,21 @@ var partialObject = { c : d : % } + +// dangling decorators - to make sure the tests work, please do not add contents after this line +@concat() +@sys.secure() +xxxxx + + +// BCP132 should be on the line below the decorator +@minLength() + + + + + + + + + diff --git a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.syntax.bicep b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.syntax.bicep index 83e29b15482..7d25decdb31 100644 --- a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.syntax.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.syntax.bicep @@ -2494,4 +2494,59 @@ var partialObject = { //@[8:9) NewLine |\n| } //@[0:1) RightBrace |}| -//@[1:1) EndOfFile || +//@[1:3) NewLine |\n\n| + +// dangling decorators - to make sure the tests work, please do not add contents after this line +//@[96:97) NewLine |\n| +@concat() +//@[0:24) MissingDeclarationSyntax +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |concat| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +@sys.secure() +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) InstanceFunctionCallSyntax +//@[1:4) VariableAccessSyntax +//@[1:4) IdentifierSyntax +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:11) IdentifierSyntax +//@[5:11) Identifier |secure| +//@[11:12) LeftParen |(| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +xxxxx +//@[0:5) SkippedTriviaSyntax +//@[0:5) Identifier |xxxxx| +//@[5:8) NewLine |\n\n\n| + + +// BCP132 should be on the line below the decorator +//@[51:52) NewLine |\n| +@minLength() +//@[0:21) MissingDeclarationSyntax +//@[0:12) DecoratorSyntax +//@[0:1) At |@| +//@[1:12) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) RightParen |)| +//@[12:21) NewLine |\n\n\n\n\n\n\n\n\n| + + + + + + + + + +//@[0:0) SkippedTriviaSyntax +//@[0:0) EndOfFile || diff --git a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.tokens.bicep b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.tokens.bicep index e43cf76ebe3..a54f52de7c2 100644 --- a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.tokens.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/main.tokens.bicep @@ -1555,4 +1555,44 @@ var partialObject = { //@[8:9) NewLine |\n| } //@[0:1) RightBrace |}| -//@[1:1) EndOfFile || +//@[1:3) NewLine |\n\n| + +// dangling decorators - to make sure the tests work, please do not add contents after this line +//@[96:97) NewLine |\n| +@concat() +//@[0:1) At |@| +//@[1:7) Identifier |concat| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +@sys.secure() +//@[0:1) At |@| +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:11) Identifier |secure| +//@[11:12) LeftParen |(| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +xxxxx +//@[0:5) Identifier |xxxxx| +//@[5:8) NewLine |\n\n\n| + + +// BCP132 should be on the line below the decorator +//@[51:52) NewLine |\n| +@minLength() +//@[0:1) At |@| +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) RightParen |)| +//@[12:21) NewLine |\n\n\n\n\n\n\n\n\n| + + + + + + + + + +//@[0:0) EndOfFile || diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.bicep b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.bicep index 468f34652c5..103ed3e84d6 100644 --- a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.bicep @@ -265,4 +265,9 @@ module childCompletionB './ChildModules/' module childCompletionC './ChildModules/m' // #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40) -> childECompletions -module childCompletionD 'ChildModules/e' \ No newline at end of file +module childCompletionD 'ChildModules/e' + +@minValue() +module moduleWithNotAttachableDecorators './empty.bicep' = { + name: 'moduleWithNotAttachableDecorators' +} diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.diagnostics.bicep b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.diagnostics.bicep index 14db2028e6a..e05f453a761 100644 --- a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.diagnostics.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.diagnostics.bicep @@ -362,3 +362,10 @@ module childCompletionC './ChildModules/m' module childCompletionD 'ChildModules/e' //@[24:40) [BCP091 (Error)] An error occurred reading file. Could not find file '${TEST_OUTPUT_DIR}/ChildModules/e'. |'ChildModules/e'| //@[40:40) [BCP018 (Error)] Expected the "=" character at this location. || + +@minValue() +//@[1:9) [BCP128 (Error)] Function "minValue" cannot be used as a module decorator. |minValue| +module moduleWithNotAttachableDecorators './empty.bicep' = { + name: 'moduleWithNotAttachableDecorators' +} + diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.formatted.bicep b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.formatted.bicep index 1cae7260c50..de95d0aa1b8 100644 --- a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.formatted.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.formatted.bicep @@ -234,3 +234,8 @@ module childCompletionC './ChildModules/m' // #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40) -> childECompletions module childCompletionD 'ChildModules/e' + +@minValue() +module moduleWithNotAttachableDecorators './empty.bicep' = { + name: 'moduleWithNotAttachableDecorators' +} diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.symbols.bicep b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.symbols.bicep index c91653f9643..56759b60373 100644 --- a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.symbols.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.symbols.bicep @@ -333,3 +333,10 @@ module childCompletionC './ChildModules/m' // #completionTest(24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40) -> childECompletions module childCompletionD 'ChildModules/e' //@[7:23) Module childCompletionD. Type: error. Declaration start char: 0, length: 40 + +@minValue() +module moduleWithNotAttachableDecorators './empty.bicep' = { +//@[7:40) Module moduleWithNotAttachableDecorators. Type: module. Declaration start char: 0, length: 118 + name: 'moduleWithNotAttachableDecorators' +} + diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.syntax.bicep b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.syntax.bicep index e3377d525e2..14e1e7d8455 100644 --- a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.syntax.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.syntax.bicep @@ -1629,4 +1629,38 @@ module childCompletionD 'ChildModules/e' //@[40:40) SkippedTriviaSyntax //@[40:40) SkippedTriviaSyntax //@[40:40) SkippedTriviaSyntax -//@[40:40) EndOfFile || +//@[40:42) NewLine |\n\n| + +@minValue() +//@[0:118) ModuleDeclarationSyntax +//@[0:11) DecoratorSyntax +//@[0:1) At |@| +//@[1:11) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |minValue| +//@[9:10) LeftParen |(| +//@[10:11) RightParen |)| +//@[11:12) NewLine |\n| +module moduleWithNotAttachableDecorators './empty.bicep' = { +//@[0:6) Identifier |module| +//@[7:40) IdentifierSyntax +//@[7:40) Identifier |moduleWithNotAttachableDecorators| +//@[41:56) StringSyntax +//@[41:56) StringComplete |'./empty.bicep'| +//@[57:58) Assignment |=| +//@[59:106) ObjectSyntax +//@[59:60) LeftBrace |{| +//@[60:61) NewLine |\n| + name: 'moduleWithNotAttachableDecorators' +//@[2:43) ObjectPropertySyntax +//@[2:6) IdentifierSyntax +//@[2:6) Identifier |name| +//@[6:7) Colon |:| +//@[8:43) StringSyntax +//@[8:43) StringComplete |'moduleWithNotAttachableDecorators'| +//@[43:44) NewLine |\n| +} +//@[0:1) RightBrace |}| +//@[1:2) NewLine |\n| + +//@[0:0) EndOfFile || diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.tokens.bicep b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.tokens.bicep index e2056b1b42d..4752ecbccae 100644 --- a/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.tokens.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/main.tokens.bicep @@ -1064,4 +1064,28 @@ module childCompletionD 'ChildModules/e' //@[0:6) Identifier |module| //@[7:23) Identifier |childCompletionD| //@[24:40) StringComplete |'ChildModules/e'| -//@[40:40) EndOfFile || +//@[40:42) NewLine |\n\n| + +@minValue() +//@[0:1) At |@| +//@[1:9) Identifier |minValue| +//@[9:10) LeftParen |(| +//@[10:11) RightParen |)| +//@[11:12) NewLine |\n| +module moduleWithNotAttachableDecorators './empty.bicep' = { +//@[0:6) Identifier |module| +//@[7:40) Identifier |moduleWithNotAttachableDecorators| +//@[41:56) StringComplete |'./empty.bicep'| +//@[57:58) Assignment |=| +//@[59:60) LeftBrace |{| +//@[60:61) NewLine |\n| + name: 'moduleWithNotAttachableDecorators' +//@[2:6) Identifier |name| +//@[6:7) Colon |:| +//@[8:43) StringComplete |'moduleWithNotAttachableDecorators'| +//@[43:44) NewLine |\n| +} +//@[0:1) RightBrace |}| +//@[1:2) NewLine |\n| + +//@[0:0) EndOfFile || diff --git a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.bicep b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.bicep index e6161b974b1..d5ebc3d2ad9 100644 --- a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.bicep @@ -95,3 +95,7 @@ output exp string = 2 + 3 output union string = true ? 's' : 1 output bad int = true && !4 output deeper bool = true ? -true : (14 && 's') + 10 + +@sys.maxValue(20) +@minValue(10) +output notAttachableDecorators int = 32 diff --git a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.diagnostics.bicep b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.diagnostics.bicep index c6f2b5e0bea..33028f95800 100644 --- a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.diagnostics.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.diagnostics.bicep @@ -176,3 +176,9 @@ output deeper bool = true ? -true : (14 && 's') + 10 //@[28:33) [BCP044 (Error)] Cannot apply operator "-" to operand of type "bool". |-true| //@[37:46) [BCP045 (Error)] Cannot apply operator "&&" to operands of type "int" and "'s'". |14 && 's'| +@sys.maxValue(20) +//@[5:13) [BCP129 (Error)] Function "maxValue" cannot be used as an output decorator. |maxValue| +@minValue(10) +//@[1:9) [BCP129 (Error)] Function "minValue" cannot be used as an output decorator. |minValue| +output notAttachableDecorators int = 32 + diff --git a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.formatted.bicep b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.formatted.bicep index c6613af140b..9bf97ba5096 100644 --- a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.formatted.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.formatted.bicep @@ -87,3 +87,7 @@ output exp string = 2 + 3 output union string = true ? 's' : 1 output bad int = true && !4 output deeper bool = true ? -true : (14 && 's') + 10 + +@sys.maxValue(20) +@minValue(10) +output notAttachableDecorators int = 32 diff --git a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.symbols.bicep b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.symbols.bicep index ce242b35a8a..bf2ac4fbfa4 100644 --- a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.symbols.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.symbols.bicep @@ -140,3 +140,8 @@ output bad int = true && !4 output deeper bool = true ? -true : (14 && 's') + 10 //@[7:13) Output deeper. Type: bool. Declaration start char: 0, length: 52 +@sys.maxValue(20) +@minValue(10) +output notAttachableDecorators int = 32 +//@[7:30) Output notAttachableDecorators. Type: int. Declaration start char: 0, length: 73 + diff --git a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.syntax.bicep b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.syntax.bicep index dc1aecf42b0..dead78869ba 100644 --- a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.syntax.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.syntax.bicep @@ -598,6 +598,46 @@ output deeper bool = true ? -true : (14 && 's') + 10 //@[48:49) Plus |+| //@[50:52) IntegerLiteralSyntax //@[50:52) Integer |10| -//@[52:54) NewLine |\r\n| +//@[52:56) NewLine |\r\n\r\n| + +@sys.maxValue(20) +//@[0:73) OutputDeclarationSyntax +//@[0:17) DecoratorSyntax +//@[0:1) At |@| +//@[1:17) InstanceFunctionCallSyntax +//@[1:4) VariableAccessSyntax +//@[1:4) IdentifierSyntax +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:13) IdentifierSyntax +//@[5:13) Identifier |maxValue| +//@[13:14) LeftParen |(| +//@[14:16) FunctionArgumentSyntax +//@[14:16) IntegerLiteralSyntax +//@[14:16) Integer |20| +//@[16:17) RightParen |)| +//@[17:19) NewLine |\r\n| +@minValue(10) +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |minValue| +//@[9:10) LeftParen |(| +//@[10:12) FunctionArgumentSyntax +//@[10:12) IntegerLiteralSyntax +//@[10:12) Integer |10| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| +output notAttachableDecorators int = 32 +//@[0:6) Identifier |output| +//@[7:30) IdentifierSyntax +//@[7:30) Identifier |notAttachableDecorators| +//@[31:34) TypeSyntax +//@[31:34) Identifier |int| +//@[35:36) Assignment |=| +//@[37:39) IntegerLiteralSyntax +//@[37:39) Integer |32| +//@[39:41) NewLine |\r\n| //@[0:0) EndOfFile || diff --git a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.tokens.bicep b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.tokens.bicep index 240c0fa915f..bd432731072 100644 --- a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.tokens.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/main.tokens.bicep @@ -391,6 +391,30 @@ output deeper bool = true ? -true : (14 && 's') + 10 //@[46:47) RightParen |)| //@[48:49) Plus |+| //@[50:52) Integer |10| -//@[52:54) NewLine |\r\n| +//@[52:56) NewLine |\r\n\r\n| + +@sys.maxValue(20) +//@[0:1) At |@| +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:13) Identifier |maxValue| +//@[13:14) LeftParen |(| +//@[14:16) Integer |20| +//@[16:17) RightParen |)| +//@[17:19) NewLine |\r\n| +@minValue(10) +//@[0:1) At |@| +//@[1:9) Identifier |minValue| +//@[9:10) LeftParen |(| +//@[10:12) Integer |10| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| +output notAttachableDecorators int = 32 +//@[0:6) Identifier |output| +//@[7:30) Identifier |notAttachableDecorators| +//@[31:34) Identifier |int| +//@[35:36) Assignment |=| +//@[37:39) Integer |32| +//@[39:41) NewLine |\r\n| //@[0:0) EndOfFile || diff --git a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/justSymbols.json b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/justSymbols.json index 03342a42f18..8353e529c40 100644 --- a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/justSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/justSymbols.json @@ -1,1771 +1,1981 @@ -[ - { - "label": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", - "kind": "field", - "detail": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", - "deprecated": false, - "preselect": false, - "sortText": "2_WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong" - } - }, - { - "label": "any", - "kind": "function", - "detail": "any()", - "deprecated": false, - "preselect": false, - "sortText": "3_any", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "any($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "array", - "kind": "function", - "detail": "array()", - "deprecated": false, - "preselect": false, - "sortText": "3_array", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "array($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "az", - "kind": "folder", - "detail": "az", - "deprecated": false, - "preselect": false, - "sortText": "3_az", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "az" - } - }, - { - "label": "badInterpolatedString", - "kind": "field", - "detail": "badInterpolatedString", - "deprecated": false, - "preselect": false, - "sortText": "2_badInterpolatedString", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badInterpolatedString" - } - }, - { - "label": "badInterpolatedString2", - "kind": "field", - "detail": "badInterpolatedString2", - "deprecated": false, - "preselect": false, - "sortText": "2_badInterpolatedString2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badInterpolatedString2" - } - }, - { - "label": "base64", - "kind": "function", - "detail": "base64()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToJson", - "kind": "function", - "detail": "base64ToJson()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToJson", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToJson($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToString", - "kind": "function", - "detail": "base64ToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "bool", - "kind": "function", - "detail": "bool()", - "deprecated": false, - "preselect": false, - "sortText": "3_bool", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bool($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "coalesce", - "kind": "function", - "detail": "coalesce()", - "deprecated": false, - "preselect": false, - "sortText": "3_coalesce", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "coalesce($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "commaOne", - "kind": "field", - "detail": "commaOne", - "deprecated": false, - "preselect": false, - "sortText": "2_commaOne", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "commaOne" - } - }, - { - "label": "commaTwo", - "kind": "field", - "detail": "commaTwo", - "deprecated": false, - "preselect": false, - "sortText": "2_commaTwo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "commaTwo" - } - }, - { - "label": "concat", - "kind": "function", - "detail": "concat()", - "deprecated": false, - "preselect": false, - "sortText": "3_concat", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "concat($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "contains", - "kind": "function", - "detail": "contains()", - "deprecated": false, - "preselect": false, - "sortText": "3_contains", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "contains($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dataUri", - "kind": "function", - "detail": "dataUri()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dataUriToString", - "kind": "function", - "detail": "dataUriToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUriToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUriToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dateTimeAdd", - "kind": "function", - "detail": "dateTimeAdd()", - "deprecated": false, - "preselect": false, - "sortText": "3_dateTimeAdd", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dateTimeAdd($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "defaultValueCompletions", - "kind": "field", - "detail": "defaultValueCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_defaultValueCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "defaultValueCompletions" - } - }, - { - "label": "deployment", - "kind": "function", - "detail": "deployment()", - "deprecated": false, - "preselect": false, - "sortText": "3_deployment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "deployment()$0" - } - }, - { - "label": "duplicatedModifierProperty", - "kind": "field", - "detail": "duplicatedModifierProperty", - "deprecated": false, - "preselect": false, - "sortText": "2_duplicatedModifierProperty", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "duplicatedModifierProperty" - } - }, - { - "label": "empty", - "kind": "function", - "detail": "empty()", - "deprecated": false, - "preselect": false, - "sortText": "3_empty", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "empty($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "emptyAllowedInt", - "kind": "field", - "detail": "emptyAllowedInt", - "deprecated": false, - "preselect": false, - "sortText": "2_emptyAllowedInt", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "emptyAllowedInt" - } - }, - { - "label": "emptyAllowedString", - "kind": "field", - "detail": "emptyAllowedString", - "deprecated": false, - "preselect": false, - "sortText": "2_emptyAllowedString", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "emptyAllowedString" - } - }, - { - "label": "endsWith", - "kind": "function", - "detail": "endsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_endsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "endsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "environment", - "kind": "function", - "detail": "environment()", - "deprecated": false, - "preselect": false, - "sortText": "3_environment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "environment()$0" - } - }, - { - "label": "expressionInModifier", - "kind": "field", - "detail": "expressionInModifier", - "deprecated": false, - "preselect": false, - "sortText": "2_expressionInModifier", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "expressionInModifier" - } - }, - { - "label": "extensionResourceId", - "kind": "function", - "detail": "extensionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_extensionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "extensionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "first", - "kind": "function", - "detail": "first()", - "deprecated": false, - "preselect": false, - "sortText": "3_first", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "first($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "format", - "kind": "function", - "detail": "format()", - "deprecated": false, - "preselect": false, - "sortText": "3_format", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "format($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "guid", - "kind": "function", - "detail": "guid()", - "deprecated": false, - "preselect": false, - "sortText": "3_guid", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "guid($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "indexOf", - "kind": "function", - "detail": "indexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_indexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "indexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "int", - "kind": "function", - "detail": "int()", - "deprecated": false, - "preselect": false, - "sortText": "3_int", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "int($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "intModifierCompletions", - "kind": "field", - "detail": "intModifierCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_intModifierCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "intModifierCompletions" - } - }, - { - "label": "intersection", - "kind": "function", - "detail": "intersection()", - "deprecated": false, - "preselect": false, - "sortText": "3_intersection", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "intersection($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "json", - "kind": "function", - "detail": "json()", - "deprecated": false, - "preselect": false, - "sortText": "3_json", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "json($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "last", - "kind": "function", - "detail": "last()", - "deprecated": false, - "preselect": false, - "sortText": "3_last", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "last($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "lastIndexOf", - "kind": "function", - "detail": "lastIndexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_lastIndexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "lastIndexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "length", - "kind": "function", - "detail": "length()", - "deprecated": false, - "preselect": false, - "sortText": "3_length", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "length($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "malformedModifier", - "kind": "field", - "detail": "malformedModifier", - "deprecated": false, - "preselect": false, - "sortText": "2_malformedModifier", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "malformedModifier" - } - }, - { - "label": "malformedType", - "kind": "field", - "detail": "malformedType", - "deprecated": false, - "preselect": false, - "sortText": "2_malformedType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "malformedType" - } - }, - { - "label": "malformedType2", - "kind": "field", - "detail": "malformedType2", - "deprecated": false, - "preselect": false, - "sortText": "2_malformedType2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "malformedType2" - } - }, - { - "label": "max", - "kind": "function", - "detail": "max()", - "deprecated": false, - "preselect": false, - "sortText": "3_max", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "max($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "min", - "kind": "function", - "detail": "min()", - "deprecated": false, - "preselect": false, - "sortText": "3_min", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "min($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "missingType", - "kind": "field", - "detail": "missingType", - "deprecated": false, - "preselect": false, - "sortText": "2_missingType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingType" - } - }, - { - "label": "missingTypeWithSpaceAfter", - "kind": "field", - "detail": "missingTypeWithSpaceAfter", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTypeWithSpaceAfter", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTypeWithSpaceAfter" - } - }, - { - "label": "missingTypeWithTabAfter", - "kind": "field", - "detail": "missingTypeWithTabAfter", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTypeWithTabAfter", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTypeWithTabAfter" - } - }, - { - "label": "myBool", - "kind": "field", - "detail": "myBool", - "deprecated": false, - "preselect": false, - "sortText": "2_myBool", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myBool" - } - }, - { - "label": "myFalsehood", - "kind": "field", - "detail": "myFalsehood", - "deprecated": false, - "preselect": false, - "sortText": "2_myFalsehood", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myFalsehood" - } - }, - { - "label": "myInt", - "kind": "field", - "detail": "myInt", - "deprecated": false, - "preselect": false, - "sortText": "2_myInt", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myInt" - } - }, - { - "label": "myInt2", - "kind": "field", - "detail": "myInt2", - "deprecated": false, - "preselect": false, - "sortText": "2_myInt2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myInt2" - } - }, - { - "label": "myString", - "kind": "field", - "detail": "myString", - "deprecated": false, - "preselect": false, - "sortText": "2_myString", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myString" - } - }, - { - "label": "myString2", - "kind": "field", - "detail": "myString2", - "deprecated": false, - "preselect": false, - "sortText": "2_myString2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myString2" - } - }, - { - "label": "myTruth", - "kind": "field", - "detail": "myTruth", - "deprecated": false, - "preselect": false, - "sortText": "2_myTruth", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myTruth" - } - }, - { - "label": "newGuid", - "kind": "function", - "detail": "newGuid()", - "deprecated": false, - "preselect": false, - "sortText": "3_newGuid", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "newGuid()$0" - } - }, - { - "label": "noValueAfterColon", - "kind": "field", - "detail": "noValueAfterColon", - "deprecated": false, - "preselect": false, - "sortText": "2_noValueAfterColon", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "noValueAfterColon" - } - }, - { - "label": "nonCompileTimeConstant", - "kind": "field", - "detail": "nonCompileTimeConstant", - "deprecated": false, - "preselect": false, - "sortText": "2_nonCompileTimeConstant", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nonCompileTimeConstant" - } - }, - { - "label": "padLeft", - "kind": "function", - "detail": "padLeft()", - "deprecated": false, - "preselect": false, - "sortText": "3_padLeft", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "padLeft($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "paramAccessingOutput", - "kind": "field", - "detail": "paramAccessingOutput", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingOutput", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingOutput" - } - }, - { - "label": "paramAccessingOutput2", - "kind": "field", - "detail": "paramAccessingOutput2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingOutput2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingOutput2" - } - }, - { - "label": "paramAccessingResource", - "kind": "field", - "detail": "paramAccessingResource", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingResource", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingResource" - } - }, - { - "label": "paramAccessingResource2", - "kind": "field", - "detail": "paramAccessingResource2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingResource2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingResource2" - } - }, - { - "label": "paramAccessingVar", - "kind": "field", - "detail": "paramAccessingVar", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingVar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingVar" - } - }, - { - "label": "paramAccessingVar2", - "kind": "field", - "detail": "paramAccessingVar2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingVar2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingVar2" - } - }, - { - "label": "paramDefaultOneCycle", - "kind": "field", - "detail": "paramDefaultOneCycle", - "deprecated": false, - "preselect": false, - "sortText": "2_paramDefaultOneCycle", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramDefaultOneCycle" - } - }, - { - "label": "paramDefaultTwoCycle1", - "kind": "field", - "detail": "paramDefaultTwoCycle1", - "deprecated": false, - "preselect": false, - "sortText": "2_paramDefaultTwoCycle1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramDefaultTwoCycle1" - } - }, - { - "label": "paramDefaultTwoCycle2", - "kind": "field", - "detail": "paramDefaultTwoCycle2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramDefaultTwoCycle2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramDefaultTwoCycle2" - } - }, - { - "label": "paramMixedTwoCycle1", - "kind": "field", - "detail": "paramMixedTwoCycle1", - "deprecated": false, - "preselect": false, - "sortText": "2_paramMixedTwoCycle1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramMixedTwoCycle1" - } - }, - { - "label": "paramMixedTwoCycle2", - "kind": "field", - "detail": "paramMixedTwoCycle2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramMixedTwoCycle2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramMixedTwoCycle2" - } - }, - { - "label": "paramModifierOneCycle", - "kind": "field", - "detail": "paramModifierOneCycle", - "deprecated": false, - "preselect": false, - "sortText": "2_paramModifierOneCycle", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramModifierOneCycle" - } - }, - { - "label": "paramModifierSelfCycle", - "kind": "field", - "detail": "paramModifierSelfCycle", - "deprecated": false, - "preselect": false, - "sortText": "2_paramModifierSelfCycle", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramModifierSelfCycle" - } - }, - { - "label": "paramModifierTwoCycle1", - "kind": "field", - "detail": "paramModifierTwoCycle1", - "deprecated": false, - "preselect": false, - "sortText": "2_paramModifierTwoCycle1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramModifierTwoCycle1" - } - }, - { - "label": "paramModifierTwoCycle2", - "kind": "field", - "detail": "paramModifierTwoCycle2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramModifierTwoCycle2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramModifierTwoCycle2" - } - }, - { - "label": "partialType", - "kind": "field", - "detail": "partialType", - "deprecated": false, - "preselect": false, - "sortText": "2_partialType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "partialType" - } - }, - { - "label": "pickZones", - "kind": "function", - "detail": "pickZones()", - "deprecated": false, - "preselect": false, - "sortText": "3_pickZones", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "pickZones($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "providers", - "kind": "function", - "detail": "providers()", - "deprecated": false, - "preselect": false, - "sortText": "3_providers", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "providers($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "range", - "kind": "function", - "detail": "range()", - "deprecated": false, - "preselect": false, - "sortText": "3_range", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "range($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "reference", - "kind": "function", - "detail": "reference()", - "deprecated": false, - "preselect": false, - "sortText": "3_reference", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "reference($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "replace", - "kind": "function", - "detail": "replace()", - "deprecated": false, - "preselect": false, - "sortText": "3_replace", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "replace($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceGroup", - "kind": "function", - "detail": "resourceGroup()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceGroup", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceGroup($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceId", - "kind": "function", - "detail": "resourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "sampleResource", - "kind": "interface", - "detail": "sampleResource", - "deprecated": false, - "preselect": false, - "sortText": "2_sampleResource", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sampleResource" - } - }, - { - "label": "sampleVar", - "kind": "variable", - "detail": "sampleVar", - "deprecated": false, - "preselect": false, - "sortText": "2_sampleVar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sampleVar" - } - }, - { - "label": "secureInt", - "kind": "field", - "detail": "secureInt", - "deprecated": false, - "preselect": false, - "sortText": "2_secureInt", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "secureInt" - } - }, - { - "label": "skip", - "kind": "function", - "detail": "skip()", - "deprecated": false, - "preselect": false, - "sortText": "3_skip", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "skip($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "someArray", - "kind": "field", - "detail": "someArray", - "deprecated": false, - "preselect": false, - "sortText": "2_someArray", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "someArray" - } - }, - { - "label": "split", - "kind": "function", - "detail": "split()", - "deprecated": false, - "preselect": false, - "sortText": "3_split", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "split($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "startsWith", - "kind": "function", - "detail": "startsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_startsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "string", - "kind": "function", - "detail": "string()", - "deprecated": false, - "preselect": false, - "sortText": "3_string", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "string($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "stringLiteral", - "kind": "field", - "detail": "stringLiteral", - "deprecated": false, - "preselect": false, - "sortText": "2_stringLiteral", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "stringLiteral" - } - }, - { - "label": "stringLiteral2", - "kind": "field", - "detail": "stringLiteral2", - "deprecated": false, - "preselect": false, - "sortText": "2_stringLiteral2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "stringLiteral2" - } - }, - { - "label": "stringLiteral3", - "kind": "field", - "detail": "stringLiteral3", - "deprecated": false, - "preselect": false, - "sortText": "2_stringLiteral3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "stringLiteral3" - } - }, - { - "label": "stringModifierCompletions", - "kind": "field", - "detail": "stringModifierCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_stringModifierCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "stringModifierCompletions" - } - }, - { - "label": "subscription", - "kind": "function", - "detail": "subscription()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscription", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscription($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscriptionResourceId", - "kind": "function", - "detail": "subscriptionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscriptionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscriptionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "substring", - "kind": "function", - "detail": "substring()", - "deprecated": false, - "preselect": false, - "sortText": "3_substring", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "substring($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "sys", - "kind": "folder", - "detail": "sys", - "deprecated": false, - "preselect": false, - "sortText": "3_sys", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sys" - } - }, - { - "label": "take", - "kind": "function", - "detail": "take()", - "deprecated": false, - "preselect": false, - "sortText": "3_take", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "take($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "tenant", - "kind": "function", - "detail": "tenant()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenant", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenant()$0" - } - }, - { - "label": "tenantResourceId", - "kind": "function", - "detail": "tenantResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenantResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenantResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toLower", - "kind": "function", - "detail": "toLower()", - "deprecated": false, - "preselect": false, - "sortText": "3_toLower", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toLower($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toUpper", - "kind": "function", - "detail": "toUpper()", - "deprecated": false, - "preselect": false, - "sortText": "3_toUpper", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toUpper($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "trailingSpace", - "kind": "field", - "detail": "trailingSpace", - "deprecated": false, - "preselect": false, - "sortText": "2_trailingSpace", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trailingSpace" - } - }, - { - "label": "trim", - "kind": "function", - "detail": "trim()", - "deprecated": false, - "preselect": false, - "sortText": "3_trim", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trim($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "union", - "kind": "function", - "detail": "union()", - "deprecated": false, - "preselect": false, - "sortText": "3_union", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "union($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uniqueString", - "kind": "function", - "detail": "uniqueString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uniqueString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uniqueString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uri", - "kind": "function", - "detail": "uri()", - "deprecated": false, - "preselect": false, - "sortText": "3_uri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponent", - "kind": "function", - "detail": "uriComponent()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponent", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponent($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponentToString", - "kind": "function", - "detail": "uriComponentToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponentToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponentToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "utcNow", - "kind": "function", - "detail": "utcNow()", - "deprecated": false, - "preselect": false, - "sortText": "3_utcNow", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "utcNow($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "wrongAssignmentToken", - "kind": "field", - "detail": "wrongAssignmentToken", - "deprecated": false, - "preselect": false, - "sortText": "2_wrongAssignmentToken", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "wrongAssignmentToken" - } - }, - { - "label": "wrongDefaultValue", - "kind": "field", - "detail": "wrongDefaultValue", - "deprecated": false, - "preselect": false, - "sortText": "2_wrongDefaultValue", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "wrongDefaultValue" - } - }, - { - "label": "wrongIntModifier", - "kind": "field", - "detail": "wrongIntModifier", - "deprecated": false, - "preselect": false, - "sortText": "2_wrongIntModifier", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "wrongIntModifier" - } - }, - { - "label": "wrongMetadataSchema", - "kind": "field", - "detail": "wrongMetadataSchema", - "deprecated": false, - "preselect": false, - "sortText": "2_wrongMetadataSchema", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "wrongMetadataSchema" - } - }, - { - "label": "wrongType", - "kind": "field", - "detail": "wrongType", - "deprecated": false, - "preselect": false, - "sortText": "2_wrongType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "wrongType" - } - } +[ + { + "label": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", + "kind": "field", + "detail": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", + "deprecated": false, + "preselect": false, + "sortText": "2_WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong" + } + }, + { + "label": "any", + "kind": "function", + "detail": "any()", + "deprecated": false, + "preselect": false, + "sortText": "3_any", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "any($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "array", + "kind": "function", + "detail": "array()", + "deprecated": false, + "preselect": false, + "sortText": "3_array", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "array($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "az", + "kind": "folder", + "detail": "az", + "deprecated": false, + "preselect": false, + "sortText": "3_az", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "az" + } + }, + { + "label": "badInterpolatedString", + "kind": "field", + "detail": "badInterpolatedString", + "deprecated": false, + "preselect": false, + "sortText": "2_badInterpolatedString", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badInterpolatedString" + } + }, + { + "label": "badInterpolatedString2", + "kind": "field", + "detail": "badInterpolatedString2", + "deprecated": false, + "preselect": false, + "sortText": "2_badInterpolatedString2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badInterpolatedString2" + } + }, + { + "label": "base64", + "kind": "function", + "detail": "base64()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToJson", + "kind": "function", + "detail": "base64ToJson()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToJson", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToJson($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToString", + "kind": "function", + "detail": "base64ToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "bool", + "kind": "function", + "detail": "bool()", + "deprecated": false, + "preselect": false, + "sortText": "3_bool", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bool($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "coalesce", + "kind": "function", + "detail": "coalesce()", + "deprecated": false, + "preselect": false, + "sortText": "3_coalesce", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "coalesce($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "commaOne", + "kind": "field", + "detail": "commaOne", + "deprecated": false, + "preselect": false, + "sortText": "2_commaOne", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "commaOne" + } + }, + { + "label": "commaOneWithDecorator", + "kind": "field", + "detail": "commaOneWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_commaOneWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "commaOneWithDecorator" + } + }, + { + "label": "commaTwo", + "kind": "field", + "detail": "commaTwo", + "deprecated": false, + "preselect": false, + "sortText": "2_commaTwo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "commaTwo" + } + }, + { + "label": "concat", + "kind": "function", + "detail": "concat()", + "deprecated": false, + "preselect": false, + "sortText": "3_concat", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "concat($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "contains", + "kind": "function", + "detail": "contains()", + "deprecated": false, + "preselect": false, + "sortText": "3_contains", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "contains($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dataUri", + "kind": "function", + "detail": "dataUri()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dataUriToString", + "kind": "function", + "detail": "dataUriToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUriToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUriToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dateTimeAdd", + "kind": "function", + "detail": "dateTimeAdd()", + "deprecated": false, + "preselect": false, + "sortText": "3_dateTimeAdd", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dateTimeAdd($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "defaultValueCompletions", + "kind": "field", + "detail": "defaultValueCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_defaultValueCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "defaultValueCompletions" + } + }, + { + "label": "deployment", + "kind": "function", + "detail": "deployment()", + "deprecated": false, + "preselect": false, + "sortText": "3_deployment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "deployment()$0" + } + }, + { + "label": "duplicatedModifierProperty", + "kind": "field", + "detail": "duplicatedModifierProperty", + "deprecated": false, + "preselect": false, + "sortText": "2_duplicatedModifierProperty", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "duplicatedModifierProperty" + } + }, + { + "label": "empty", + "kind": "function", + "detail": "empty()", + "deprecated": false, + "preselect": false, + "sortText": "3_empty", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "empty($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "emptyAllowedInt", + "kind": "field", + "detail": "emptyAllowedInt", + "deprecated": false, + "preselect": false, + "sortText": "2_emptyAllowedInt", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "emptyAllowedInt" + } + }, + { + "label": "emptyAllowedIntWithDecorator", + "kind": "field", + "detail": "emptyAllowedIntWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_emptyAllowedIntWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "emptyAllowedIntWithDecorator" + } + }, + { + "label": "emptyAllowedString", + "kind": "field", + "detail": "emptyAllowedString", + "deprecated": false, + "preselect": false, + "sortText": "2_emptyAllowedString", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "emptyAllowedString" + } + }, + { + "label": "emptyAllowedStringWithDecorator", + "kind": "field", + "detail": "emptyAllowedStringWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_emptyAllowedStringWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "emptyAllowedStringWithDecorator" + } + }, + { + "label": "endsWith", + "kind": "function", + "detail": "endsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_endsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "endsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "environment", + "kind": "function", + "detail": "environment()", + "deprecated": false, + "preselect": false, + "sortText": "3_environment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "environment()$0" + } + }, + { + "label": "expressionInModifier", + "kind": "field", + "detail": "expressionInModifier", + "deprecated": false, + "preselect": false, + "sortText": "2_expressionInModifier", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "expressionInModifier" + } + }, + { + "label": "expressionInModifierWithDecorator", + "kind": "field", + "detail": "expressionInModifierWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_expressionInModifierWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "expressionInModifierWithDecorator" + } + }, + { + "label": "extensionResourceId", + "kind": "function", + "detail": "extensionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_extensionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "extensionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "first", + "kind": "function", + "detail": "first()", + "deprecated": false, + "preselect": false, + "sortText": "3_first", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "first($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "format", + "kind": "function", + "detail": "format()", + "deprecated": false, + "preselect": false, + "sortText": "3_format", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "format($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "guid", + "kind": "function", + "detail": "guid()", + "deprecated": false, + "preselect": false, + "sortText": "3_guid", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "guid($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "incompleteDecorators", + "kind": "field", + "detail": "incompleteDecorators", + "deprecated": false, + "preselect": false, + "sortText": "2_incompleteDecorators", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incompleteDecorators" + } + }, + { + "label": "indexOf", + "kind": "function", + "detail": "indexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_indexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "indexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "int", + "kind": "function", + "detail": "int()", + "deprecated": false, + "preselect": false, + "sortText": "3_int", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "int($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "intModifierCompletions", + "kind": "field", + "detail": "intModifierCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_intModifierCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "intModifierCompletions" + } + }, + { + "label": "intersection", + "kind": "function", + "detail": "intersection()", + "deprecated": false, + "preselect": false, + "sortText": "3_intersection", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "intersection($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "json", + "kind": "function", + "detail": "json()", + "deprecated": false, + "preselect": false, + "sortText": "3_json", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "json($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "last", + "kind": "function", + "detail": "last()", + "deprecated": false, + "preselect": false, + "sortText": "3_last", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "last($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "lastIndexOf", + "kind": "function", + "detail": "lastIndexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_lastIndexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "lastIndexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "length", + "kind": "function", + "detail": "length()", + "deprecated": false, + "preselect": false, + "sortText": "3_length", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "length($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "malformedModifier", + "kind": "field", + "detail": "malformedModifier", + "deprecated": false, + "preselect": false, + "sortText": "2_malformedModifier", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "malformedModifier" + } + }, + { + "label": "malformedType", + "kind": "field", + "detail": "malformedType", + "deprecated": false, + "preselect": false, + "sortText": "2_malformedType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "malformedType" + } + }, + { + "label": "malformedType2", + "kind": "field", + "detail": "malformedType2", + "deprecated": false, + "preselect": false, + "sortText": "2_malformedType2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "malformedType2" + } + }, + { + "label": "max", + "kind": "function", + "detail": "max()", + "deprecated": false, + "preselect": false, + "sortText": "3_max", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "max($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "min", + "kind": "function", + "detail": "min()", + "deprecated": false, + "preselect": false, + "sortText": "3_min", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "min($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "missingType", + "kind": "field", + "detail": "missingType", + "deprecated": false, + "preselect": false, + "sortText": "2_missingType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingType" + } + }, + { + "label": "missingTypeWithSpaceAfter", + "kind": "field", + "detail": "missingTypeWithSpaceAfter", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTypeWithSpaceAfter", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTypeWithSpaceAfter" + } + }, + { + "label": "missingTypeWithTabAfter", + "kind": "field", + "detail": "missingTypeWithTabAfter", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTypeWithTabAfter", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTypeWithTabAfter" + } + }, + { + "label": "myBool", + "kind": "field", + "detail": "myBool", + "deprecated": false, + "preselect": false, + "sortText": "2_myBool", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myBool" + } + }, + { + "label": "myFalsehood", + "kind": "field", + "detail": "myFalsehood", + "deprecated": false, + "preselect": false, + "sortText": "2_myFalsehood", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myFalsehood" + } + }, + { + "label": "myInt", + "kind": "field", + "detail": "myInt", + "deprecated": false, + "preselect": false, + "sortText": "2_myInt", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myInt" + } + }, + { + "label": "myInt2", + "kind": "field", + "detail": "myInt2", + "deprecated": false, + "preselect": false, + "sortText": "2_myInt2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myInt2" + } + }, + { + "label": "myString", + "kind": "field", + "detail": "myString", + "deprecated": false, + "preselect": false, + "sortText": "2_myString", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myString" + } + }, + { + "label": "myString2", + "kind": "field", + "detail": "myString2", + "deprecated": false, + "preselect": false, + "sortText": "2_myString2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myString2" + } + }, + { + "label": "myTruth", + "kind": "field", + "detail": "myTruth", + "deprecated": false, + "preselect": false, + "sortText": "2_myTruth", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myTruth" + } + }, + { + "label": "newGuid", + "kind": "function", + "detail": "newGuid()", + "deprecated": false, + "preselect": false, + "sortText": "3_newGuid", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "newGuid()$0" + } + }, + { + "label": "noValueAfterColon", + "kind": "field", + "detail": "noValueAfterColon", + "deprecated": false, + "preselect": false, + "sortText": "2_noValueAfterColon", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "noValueAfterColon" + } + }, + { + "label": "nonCompileTimeConstant", + "kind": "field", + "detail": "nonCompileTimeConstant", + "deprecated": false, + "preselect": false, + "sortText": "2_nonCompileTimeConstant", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nonCompileTimeConstant" + } + }, + { + "label": "nonCompileTimeConstantWithDecorator", + "kind": "field", + "detail": "nonCompileTimeConstantWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_nonCompileTimeConstantWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nonCompileTimeConstantWithDecorator" + } + }, + { + "label": "padLeft", + "kind": "function", + "detail": "padLeft()", + "deprecated": false, + "preselect": false, + "sortText": "3_padLeft", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "padLeft($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "paramAccessingOutput", + "kind": "field", + "detail": "paramAccessingOutput", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingOutput", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingOutput" + } + }, + { + "label": "paramAccessingOutput2", + "kind": "field", + "detail": "paramAccessingOutput2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingOutput2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingOutput2" + } + }, + { + "label": "paramAccessingResource", + "kind": "field", + "detail": "paramAccessingResource", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingResource", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingResource" + } + }, + { + "label": "paramAccessingResource2", + "kind": "field", + "detail": "paramAccessingResource2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingResource2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingResource2" + } + }, + { + "label": "paramAccessingVar", + "kind": "field", + "detail": "paramAccessingVar", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingVar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingVar" + } + }, + { + "label": "paramAccessingVar2", + "kind": "field", + "detail": "paramAccessingVar2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingVar2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingVar2" + } + }, + { + "label": "paramDefaultOneCycle", + "kind": "field", + "detail": "paramDefaultOneCycle", + "deprecated": false, + "preselect": false, + "sortText": "2_paramDefaultOneCycle", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramDefaultOneCycle" + } + }, + { + "label": "paramDefaultTwoCycle1", + "kind": "field", + "detail": "paramDefaultTwoCycle1", + "deprecated": false, + "preselect": false, + "sortText": "2_paramDefaultTwoCycle1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramDefaultTwoCycle1" + } + }, + { + "label": "paramDefaultTwoCycle2", + "kind": "field", + "detail": "paramDefaultTwoCycle2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramDefaultTwoCycle2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramDefaultTwoCycle2" + } + }, + { + "label": "paramMixedTwoCycle1", + "kind": "field", + "detail": "paramMixedTwoCycle1", + "deprecated": false, + "preselect": false, + "sortText": "2_paramMixedTwoCycle1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramMixedTwoCycle1" + } + }, + { + "label": "paramMixedTwoCycle2", + "kind": "field", + "detail": "paramMixedTwoCycle2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramMixedTwoCycle2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramMixedTwoCycle2" + } + }, + { + "label": "paramModifierOneCycle", + "kind": "field", + "detail": "paramModifierOneCycle", + "deprecated": false, + "preselect": false, + "sortText": "2_paramModifierOneCycle", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramModifierOneCycle" + } + }, + { + "label": "paramModifierSelfCycle", + "kind": "field", + "detail": "paramModifierSelfCycle", + "deprecated": false, + "preselect": false, + "sortText": "2_paramModifierSelfCycle", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramModifierSelfCycle" + } + }, + { + "label": "paramModifierSelfCycleWithDecorator", + "kind": "field", + "detail": "paramModifierSelfCycleWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_paramModifierSelfCycleWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramModifierSelfCycleWithDecorator" + } + }, + { + "label": "paramModifierTwoCycle1", + "kind": "field", + "detail": "paramModifierTwoCycle1", + "deprecated": false, + "preselect": false, + "sortText": "2_paramModifierTwoCycle1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramModifierTwoCycle1" + } + }, + { + "label": "paramModifierTwoCycle2", + "kind": "field", + "detail": "paramModifierTwoCycle2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramModifierTwoCycle2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramModifierTwoCycle2" + } + }, + { + "label": "partialType", + "kind": "field", + "detail": "partialType", + "deprecated": false, + "preselect": false, + "sortText": "2_partialType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "partialType" + } + }, + { + "label": "pickZones", + "kind": "function", + "detail": "pickZones()", + "deprecated": false, + "preselect": false, + "sortText": "3_pickZones", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "pickZones($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "providers", + "kind": "function", + "detail": "providers()", + "deprecated": false, + "preselect": false, + "sortText": "3_providers", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "providers($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "range", + "kind": "function", + "detail": "range()", + "deprecated": false, + "preselect": false, + "sortText": "3_range", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "range($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "reference", + "kind": "function", + "detail": "reference()", + "deprecated": false, + "preselect": false, + "sortText": "3_reference", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "reference($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "replace", + "kind": "function", + "detail": "replace()", + "deprecated": false, + "preselect": false, + "sortText": "3_replace", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "replace($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceGroup", + "kind": "function", + "detail": "resourceGroup()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceGroup", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceGroup($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceId", + "kind": "function", + "detail": "resourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "sampleResource", + "kind": "interface", + "detail": "sampleResource", + "deprecated": false, + "preselect": false, + "sortText": "2_sampleResource", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sampleResource" + } + }, + { + "label": "sampleVar", + "kind": "variable", + "detail": "sampleVar", + "deprecated": false, + "preselect": false, + "sortText": "2_sampleVar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sampleVar" + } + }, + { + "label": "secureInt", + "kind": "field", + "detail": "secureInt", + "deprecated": false, + "preselect": false, + "sortText": "2_secureInt", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "secureInt" + } + }, + { + "label": "secureIntWithDecorator", + "kind": "field", + "detail": "secureIntWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_secureIntWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "secureIntWithDecorator" + } + }, + { + "label": "skip", + "kind": "function", + "detail": "skip()", + "deprecated": false, + "preselect": false, + "sortText": "3_skip", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "skip($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "someArray", + "kind": "field", + "detail": "someArray", + "deprecated": false, + "preselect": false, + "sortText": "2_someArray", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "someArray" + } + }, + { + "label": "someArrayWithDecorator", + "kind": "field", + "detail": "someArrayWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_someArrayWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "someArrayWithDecorator" + } + }, + { + "label": "someInteger", + "kind": "field", + "detail": "someInteger", + "deprecated": false, + "preselect": false, + "sortText": "2_someInteger", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "someInteger" + } + }, + { + "label": "someString", + "kind": "field", + "detail": "someString", + "deprecated": false, + "preselect": false, + "sortText": "2_someString", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "someString" + } + }, + { + "label": "split", + "kind": "function", + "detail": "split()", + "deprecated": false, + "preselect": false, + "sortText": "3_split", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "split($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "startsWith", + "kind": "function", + "detail": "startsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_startsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "string", + "kind": "function", + "detail": "string()", + "deprecated": false, + "preselect": false, + "sortText": "3_string", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "string($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "stringLiteral", + "kind": "field", + "detail": "stringLiteral", + "deprecated": false, + "preselect": false, + "sortText": "2_stringLiteral", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "stringLiteral" + } + }, + { + "label": "stringLiteral2", + "kind": "field", + "detail": "stringLiteral2", + "deprecated": false, + "preselect": false, + "sortText": "2_stringLiteral2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "stringLiteral2" + } + }, + { + "label": "stringLiteral3", + "kind": "field", + "detail": "stringLiteral3", + "deprecated": false, + "preselect": false, + "sortText": "2_stringLiteral3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "stringLiteral3" + } + }, + { + "label": "stringModifierCompletions", + "kind": "field", + "detail": "stringModifierCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_stringModifierCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "stringModifierCompletions" + } + }, + { + "label": "subscription", + "kind": "function", + "detail": "subscription()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscription", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscription($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscriptionResourceId", + "kind": "function", + "detail": "subscriptionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscriptionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscriptionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "substring", + "kind": "function", + "detail": "substring()", + "deprecated": false, + "preselect": false, + "sortText": "3_substring", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "substring($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "sys", + "kind": "folder", + "detail": "sys", + "deprecated": false, + "preselect": false, + "sortText": "3_sys", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sys" + } + }, + { + "label": "take", + "kind": "function", + "detail": "take()", + "deprecated": false, + "preselect": false, + "sortText": "3_take", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "take($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "tenant", + "kind": "function", + "detail": "tenant()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenant", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenant()$0" + } + }, + { + "label": "tenantResourceId", + "kind": "function", + "detail": "tenantResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenantResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenantResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLower", + "kind": "function", + "detail": "toLower()", + "deprecated": false, + "preselect": false, + "sortText": "3_toLower", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toLower($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toUpper", + "kind": "function", + "detail": "toUpper()", + "deprecated": false, + "preselect": false, + "sortText": "3_toUpper", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toUpper($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "tooManyArguments1", + "kind": "field", + "detail": "tooManyArguments1", + "deprecated": false, + "preselect": false, + "sortText": "2_tooManyArguments1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tooManyArguments1" + } + }, + { + "label": "tooManyArguments2", + "kind": "field", + "detail": "tooManyArguments2", + "deprecated": false, + "preselect": false, + "sortText": "2_tooManyArguments2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tooManyArguments2" + } + }, + { + "label": "trailingSpace", + "kind": "field", + "detail": "trailingSpace", + "deprecated": false, + "preselect": false, + "sortText": "2_trailingSpace", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trailingSpace" + } + }, + { + "label": "trim", + "kind": "function", + "detail": "trim()", + "deprecated": false, + "preselect": false, + "sortText": "3_trim", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trim($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "union", + "kind": "function", + "detail": "union()", + "deprecated": false, + "preselect": false, + "sortText": "3_union", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "union($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uniqueString", + "kind": "function", + "detail": "uniqueString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uniqueString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uniqueString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uri", + "kind": "function", + "detail": "uri()", + "deprecated": false, + "preselect": false, + "sortText": "3_uri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponent", + "kind": "function", + "detail": "uriComponent()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponent", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponent($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponentToString", + "kind": "function", + "detail": "uriComponentToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponentToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponentToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "utcNow", + "kind": "function", + "detail": "utcNow()", + "deprecated": false, + "preselect": false, + "sortText": "3_utcNow", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "utcNow($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "wrongAssignmentToken", + "kind": "field", + "detail": "wrongAssignmentToken", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongAssignmentToken", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongAssignmentToken" + } + }, + { + "label": "wrongDefaultValue", + "kind": "field", + "detail": "wrongDefaultValue", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongDefaultValue", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongDefaultValue" + } + }, + { + "label": "wrongIntModifier", + "kind": "field", + "detail": "wrongIntModifier", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongIntModifier", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongIntModifier" + } + }, + { + "label": "wrongIntModifierWithDecorator", + "kind": "field", + "detail": "wrongIntModifierWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongIntModifierWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongIntModifierWithDecorator" + } + }, + { + "label": "wrongMetadataSchema", + "kind": "field", + "detail": "wrongMetadataSchema", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongMetadataSchema", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongMetadataSchema" + } + }, + { + "label": "wrongMetadataSchemaWithDecorator", + "kind": "field", + "detail": "wrongMetadataSchemaWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongMetadataSchemaWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongMetadataSchemaWithDecorator" + } + }, + { + "label": "wrongType", + "kind": "field", + "detail": "wrongType", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongType" + } + } ] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/oneTwoThreePlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/oneTwoThreePlusSymbols.json index 54ee77e81a7..80cf816825b 100644 --- a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/oneTwoThreePlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/oneTwoThreePlusSymbols.json @@ -1,1813 +1,2023 @@ -[ - { - "label": "'one'", - "kind": "enumMember", - "detail": "'one'", - "deprecated": false, - "preselect": true, - "sortText": "2_'one'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'one'" - } - }, - { - "label": "'three'", - "kind": "enumMember", - "detail": "'three'", - "deprecated": false, - "preselect": true, - "sortText": "2_'three'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'three'" - } - }, - { - "label": "'two'", - "kind": "enumMember", - "detail": "'two'", - "deprecated": false, - "preselect": true, - "sortText": "2_'two'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'two'" - } - }, - { - "label": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", - "kind": "field", - "detail": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", - "deprecated": false, - "preselect": false, - "sortText": "2_WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong" - } - }, - { - "label": "any", - "kind": "function", - "detail": "any()", - "deprecated": false, - "preselect": false, - "sortText": "3_any", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "any($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "array", - "kind": "function", - "detail": "array()", - "deprecated": false, - "preselect": false, - "sortText": "3_array", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "array($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "az", - "kind": "folder", - "detail": "az", - "deprecated": false, - "preselect": false, - "sortText": "3_az", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "az" - } - }, - { - "label": "badInterpolatedString", - "kind": "field", - "detail": "badInterpolatedString", - "deprecated": false, - "preselect": false, - "sortText": "2_badInterpolatedString", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badInterpolatedString" - } - }, - { - "label": "badInterpolatedString2", - "kind": "field", - "detail": "badInterpolatedString2", - "deprecated": false, - "preselect": false, - "sortText": "2_badInterpolatedString2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badInterpolatedString2" - } - }, - { - "label": "base64", - "kind": "function", - "detail": "base64()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToJson", - "kind": "function", - "detail": "base64ToJson()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToJson", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToJson($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToString", - "kind": "function", - "detail": "base64ToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "bool", - "kind": "function", - "detail": "bool()", - "deprecated": false, - "preselect": false, - "sortText": "3_bool", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bool($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "coalesce", - "kind": "function", - "detail": "coalesce()", - "deprecated": false, - "preselect": false, - "sortText": "3_coalesce", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "coalesce($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "commaOne", - "kind": "field", - "detail": "commaOne", - "deprecated": false, - "preselect": false, - "sortText": "2_commaOne", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "commaOne" - } - }, - { - "label": "commaTwo", - "kind": "field", - "detail": "commaTwo", - "deprecated": false, - "preselect": false, - "sortText": "2_commaTwo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "commaTwo" - } - }, - { - "label": "concat", - "kind": "function", - "detail": "concat()", - "deprecated": false, - "preselect": false, - "sortText": "3_concat", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "concat($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "contains", - "kind": "function", - "detail": "contains()", - "deprecated": false, - "preselect": false, - "sortText": "3_contains", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "contains($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dataUri", - "kind": "function", - "detail": "dataUri()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dataUriToString", - "kind": "function", - "detail": "dataUriToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUriToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUriToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dateTimeAdd", - "kind": "function", - "detail": "dateTimeAdd()", - "deprecated": false, - "preselect": false, - "sortText": "3_dateTimeAdd", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dateTimeAdd($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "defaultValueOneLinerCompletions", - "kind": "field", - "detail": "defaultValueOneLinerCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_defaultValueOneLinerCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "defaultValueOneLinerCompletions" - } - }, - { - "label": "deployment", - "kind": "function", - "detail": "deployment()", - "deprecated": false, - "preselect": false, - "sortText": "3_deployment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "deployment()$0" - } - }, - { - "label": "duplicatedModifierProperty", - "kind": "field", - "detail": "duplicatedModifierProperty", - "deprecated": false, - "preselect": false, - "sortText": "2_duplicatedModifierProperty", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "duplicatedModifierProperty" - } - }, - { - "label": "empty", - "kind": "function", - "detail": "empty()", - "deprecated": false, - "preselect": false, - "sortText": "3_empty", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "empty($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "emptyAllowedInt", - "kind": "field", - "detail": "emptyAllowedInt", - "deprecated": false, - "preselect": false, - "sortText": "2_emptyAllowedInt", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "emptyAllowedInt" - } - }, - { - "label": "emptyAllowedString", - "kind": "field", - "detail": "emptyAllowedString", - "deprecated": false, - "preselect": false, - "sortText": "2_emptyAllowedString", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "emptyAllowedString" - } - }, - { - "label": "endsWith", - "kind": "function", - "detail": "endsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_endsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "endsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "environment", - "kind": "function", - "detail": "environment()", - "deprecated": false, - "preselect": false, - "sortText": "3_environment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "environment()$0" - } - }, - { - "label": "expressionInModifier", - "kind": "field", - "detail": "expressionInModifier", - "deprecated": false, - "preselect": false, - "sortText": "2_expressionInModifier", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "expressionInModifier" - } - }, - { - "label": "extensionResourceId", - "kind": "function", - "detail": "extensionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_extensionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "extensionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "first", - "kind": "function", - "detail": "first()", - "deprecated": false, - "preselect": false, - "sortText": "3_first", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "first($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "format", - "kind": "function", - "detail": "format()", - "deprecated": false, - "preselect": false, - "sortText": "3_format", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "format($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "guid", - "kind": "function", - "detail": "guid()", - "deprecated": false, - "preselect": false, - "sortText": "3_guid", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "guid($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "indexOf", - "kind": "function", - "detail": "indexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_indexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "indexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "int", - "kind": "function", - "detail": "int()", - "deprecated": false, - "preselect": false, - "sortText": "3_int", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "int($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "intModifierCompletions", - "kind": "field", - "detail": "intModifierCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_intModifierCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "intModifierCompletions" - } - }, - { - "label": "intersection", - "kind": "function", - "detail": "intersection()", - "deprecated": false, - "preselect": false, - "sortText": "3_intersection", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "intersection($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "json", - "kind": "function", - "detail": "json()", - "deprecated": false, - "preselect": false, - "sortText": "3_json", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "json($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "last", - "kind": "function", - "detail": "last()", - "deprecated": false, - "preselect": false, - "sortText": "3_last", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "last($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "lastIndexOf", - "kind": "function", - "detail": "lastIndexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_lastIndexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "lastIndexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "length", - "kind": "function", - "detail": "length()", - "deprecated": false, - "preselect": false, - "sortText": "3_length", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "length($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "malformedModifier", - "kind": "field", - "detail": "malformedModifier", - "deprecated": false, - "preselect": false, - "sortText": "2_malformedModifier", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "malformedModifier" - } - }, - { - "label": "malformedType", - "kind": "field", - "detail": "malformedType", - "deprecated": false, - "preselect": false, - "sortText": "2_malformedType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "malformedType" - } - }, - { - "label": "malformedType2", - "kind": "field", - "detail": "malformedType2", - "deprecated": false, - "preselect": false, - "sortText": "2_malformedType2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "malformedType2" - } - }, - { - "label": "max", - "kind": "function", - "detail": "max()", - "deprecated": false, - "preselect": false, - "sortText": "3_max", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "max($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "min", - "kind": "function", - "detail": "min()", - "deprecated": false, - "preselect": false, - "sortText": "3_min", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "min($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "missingType", - "kind": "field", - "detail": "missingType", - "deprecated": false, - "preselect": false, - "sortText": "2_missingType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingType" - } - }, - { - "label": "missingTypeWithSpaceAfter", - "kind": "field", - "detail": "missingTypeWithSpaceAfter", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTypeWithSpaceAfter", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTypeWithSpaceAfter" - } - }, - { - "label": "missingTypeWithTabAfter", - "kind": "field", - "detail": "missingTypeWithTabAfter", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTypeWithTabAfter", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTypeWithTabAfter" - } - }, - { - "label": "myBool", - "kind": "field", - "detail": "myBool", - "deprecated": false, - "preselect": false, - "sortText": "2_myBool", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myBool" - } - }, - { - "label": "myFalsehood", - "kind": "field", - "detail": "myFalsehood", - "deprecated": false, - "preselect": false, - "sortText": "2_myFalsehood", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myFalsehood" - } - }, - { - "label": "myInt", - "kind": "field", - "detail": "myInt", - "deprecated": false, - "preselect": false, - "sortText": "2_myInt", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myInt" - } - }, - { - "label": "myInt2", - "kind": "field", - "detail": "myInt2", - "deprecated": false, - "preselect": false, - "sortText": "2_myInt2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myInt2" - } - }, - { - "label": "myString", - "kind": "field", - "detail": "myString", - "deprecated": false, - "preselect": false, - "sortText": "2_myString", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myString" - } - }, - { - "label": "myString2", - "kind": "field", - "detail": "myString2", - "deprecated": false, - "preselect": false, - "sortText": "2_myString2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myString2" - } - }, - { - "label": "myTruth", - "kind": "field", - "detail": "myTruth", - "deprecated": false, - "preselect": false, - "sortText": "2_myTruth", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myTruth" - } - }, - { - "label": "newGuid", - "kind": "function", - "detail": "newGuid()", - "deprecated": false, - "preselect": false, - "sortText": "3_newGuid", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "newGuid()$0" - } - }, - { - "label": "noValueAfterColon", - "kind": "field", - "detail": "noValueAfterColon", - "deprecated": false, - "preselect": false, - "sortText": "2_noValueAfterColon", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "noValueAfterColon" - } - }, - { - "label": "nonCompileTimeConstant", - "kind": "field", - "detail": "nonCompileTimeConstant", - "deprecated": false, - "preselect": false, - "sortText": "2_nonCompileTimeConstant", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nonCompileTimeConstant" - } - }, - { - "label": "padLeft", - "kind": "function", - "detail": "padLeft()", - "deprecated": false, - "preselect": false, - "sortText": "3_padLeft", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "padLeft($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "paramAccessingOutput", - "kind": "field", - "detail": "paramAccessingOutput", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingOutput", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingOutput" - } - }, - { - "label": "paramAccessingOutput2", - "kind": "field", - "detail": "paramAccessingOutput2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingOutput2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingOutput2" - } - }, - { - "label": "paramAccessingResource", - "kind": "field", - "detail": "paramAccessingResource", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingResource", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingResource" - } - }, - { - "label": "paramAccessingResource2", - "kind": "field", - "detail": "paramAccessingResource2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingResource2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingResource2" - } - }, - { - "label": "paramAccessingVar", - "kind": "field", - "detail": "paramAccessingVar", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingVar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingVar" - } - }, - { - "label": "paramAccessingVar2", - "kind": "field", - "detail": "paramAccessingVar2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingVar2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingVar2" - } - }, - { - "label": "paramDefaultOneCycle", - "kind": "field", - "detail": "paramDefaultOneCycle", - "deprecated": false, - "preselect": false, - "sortText": "2_paramDefaultOneCycle", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramDefaultOneCycle" - } - }, - { - "label": "paramDefaultTwoCycle1", - "kind": "field", - "detail": "paramDefaultTwoCycle1", - "deprecated": false, - "preselect": false, - "sortText": "2_paramDefaultTwoCycle1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramDefaultTwoCycle1" - } - }, - { - "label": "paramDefaultTwoCycle2", - "kind": "field", - "detail": "paramDefaultTwoCycle2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramDefaultTwoCycle2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramDefaultTwoCycle2" - } - }, - { - "label": "paramMixedTwoCycle1", - "kind": "field", - "detail": "paramMixedTwoCycle1", - "deprecated": false, - "preselect": false, - "sortText": "2_paramMixedTwoCycle1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramMixedTwoCycle1" - } - }, - { - "label": "paramMixedTwoCycle2", - "kind": "field", - "detail": "paramMixedTwoCycle2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramMixedTwoCycle2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramMixedTwoCycle2" - } - }, - { - "label": "paramModifierOneCycle", - "kind": "field", - "detail": "paramModifierOneCycle", - "deprecated": false, - "preselect": false, - "sortText": "2_paramModifierOneCycle", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramModifierOneCycle" - } - }, - { - "label": "paramModifierSelfCycle", - "kind": "field", - "detail": "paramModifierSelfCycle", - "deprecated": false, - "preselect": false, - "sortText": "2_paramModifierSelfCycle", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramModifierSelfCycle" - } - }, - { - "label": "paramModifierTwoCycle1", - "kind": "field", - "detail": "paramModifierTwoCycle1", - "deprecated": false, - "preselect": false, - "sortText": "2_paramModifierTwoCycle1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramModifierTwoCycle1" - } - }, - { - "label": "paramModifierTwoCycle2", - "kind": "field", - "detail": "paramModifierTwoCycle2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramModifierTwoCycle2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramModifierTwoCycle2" - } - }, - { - "label": "partialType", - "kind": "field", - "detail": "partialType", - "deprecated": false, - "preselect": false, - "sortText": "2_partialType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "partialType" - } - }, - { - "label": "pickZones", - "kind": "function", - "detail": "pickZones()", - "deprecated": false, - "preselect": false, - "sortText": "3_pickZones", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "pickZones($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "providers", - "kind": "function", - "detail": "providers()", - "deprecated": false, - "preselect": false, - "sortText": "3_providers", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "providers($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "range", - "kind": "function", - "detail": "range()", - "deprecated": false, - "preselect": false, - "sortText": "3_range", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "range($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "reference", - "kind": "function", - "detail": "reference()", - "deprecated": false, - "preselect": false, - "sortText": "3_reference", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "reference($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "replace", - "kind": "function", - "detail": "replace()", - "deprecated": false, - "preselect": false, - "sortText": "3_replace", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "replace($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceGroup", - "kind": "function", - "detail": "resourceGroup()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceGroup", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceGroup($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceId", - "kind": "function", - "detail": "resourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "sampleResource", - "kind": "interface", - "detail": "sampleResource", - "deprecated": false, - "preselect": false, - "sortText": "2_sampleResource", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sampleResource" - } - }, - { - "label": "sampleVar", - "kind": "variable", - "detail": "sampleVar", - "deprecated": false, - "preselect": false, - "sortText": "2_sampleVar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sampleVar" - } - }, - { - "label": "secureInt", - "kind": "field", - "detail": "secureInt", - "deprecated": false, - "preselect": false, - "sortText": "2_secureInt", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "secureInt" - } - }, - { - "label": "skip", - "kind": "function", - "detail": "skip()", - "deprecated": false, - "preselect": false, - "sortText": "3_skip", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "skip($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "someArray", - "kind": "field", - "detail": "someArray", - "deprecated": false, - "preselect": false, - "sortText": "2_someArray", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "someArray" - } - }, - { - "label": "split", - "kind": "function", - "detail": "split()", - "deprecated": false, - "preselect": false, - "sortText": "3_split", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "split($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "startsWith", - "kind": "function", - "detail": "startsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_startsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "string", - "kind": "function", - "detail": "string()", - "deprecated": false, - "preselect": false, - "sortText": "3_string", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "string($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "stringLiteral", - "kind": "field", - "detail": "stringLiteral", - "deprecated": false, - "preselect": false, - "sortText": "2_stringLiteral", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "stringLiteral" - } - }, - { - "label": "stringLiteral2", - "kind": "field", - "detail": "stringLiteral2", - "deprecated": false, - "preselect": false, - "sortText": "2_stringLiteral2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "stringLiteral2" - } - }, - { - "label": "stringLiteral3", - "kind": "field", - "detail": "stringLiteral3", - "deprecated": false, - "preselect": false, - "sortText": "2_stringLiteral3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "stringLiteral3" - } - }, - { - "label": "stringModifierCompletions", - "kind": "field", - "detail": "stringModifierCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_stringModifierCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "stringModifierCompletions" - } - }, - { - "label": "subscription", - "kind": "function", - "detail": "subscription()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscription", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscription($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscriptionResourceId", - "kind": "function", - "detail": "subscriptionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscriptionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscriptionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "substring", - "kind": "function", - "detail": "substring()", - "deprecated": false, - "preselect": false, - "sortText": "3_substring", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "substring($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "sys", - "kind": "folder", - "detail": "sys", - "deprecated": false, - "preselect": false, - "sortText": "3_sys", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sys" - } - }, - { - "label": "take", - "kind": "function", - "detail": "take()", - "deprecated": false, - "preselect": false, - "sortText": "3_take", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "take($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "tenant", - "kind": "function", - "detail": "tenant()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenant", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenant()$0" - } - }, - { - "label": "tenantResourceId", - "kind": "function", - "detail": "tenantResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenantResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenantResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toLower", - "kind": "function", - "detail": "toLower()", - "deprecated": false, - "preselect": false, - "sortText": "3_toLower", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toLower($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toUpper", - "kind": "function", - "detail": "toUpper()", - "deprecated": false, - "preselect": false, - "sortText": "3_toUpper", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toUpper($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "trailingSpace", - "kind": "field", - "detail": "trailingSpace", - "deprecated": false, - "preselect": false, - "sortText": "2_trailingSpace", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trailingSpace" - } - }, - { - "label": "trim", - "kind": "function", - "detail": "trim()", - "deprecated": false, - "preselect": false, - "sortText": "3_trim", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trim($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "union", - "kind": "function", - "detail": "union()", - "deprecated": false, - "preselect": false, - "sortText": "3_union", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "union($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uniqueString", - "kind": "function", - "detail": "uniqueString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uniqueString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uniqueString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uri", - "kind": "function", - "detail": "uri()", - "deprecated": false, - "preselect": false, - "sortText": "3_uri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponent", - "kind": "function", - "detail": "uriComponent()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponent", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponent($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponentToString", - "kind": "function", - "detail": "uriComponentToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponentToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponentToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "utcNow", - "kind": "function", - "detail": "utcNow()", - "deprecated": false, - "preselect": false, - "sortText": "3_utcNow", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "utcNow($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "wrongAssignmentToken", - "kind": "field", - "detail": "wrongAssignmentToken", - "deprecated": false, - "preselect": false, - "sortText": "2_wrongAssignmentToken", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "wrongAssignmentToken" - } - }, - { - "label": "wrongDefaultValue", - "kind": "field", - "detail": "wrongDefaultValue", - "deprecated": false, - "preselect": false, - "sortText": "2_wrongDefaultValue", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "wrongDefaultValue" - } - }, - { - "label": "wrongIntModifier", - "kind": "field", - "detail": "wrongIntModifier", - "deprecated": false, - "preselect": false, - "sortText": "2_wrongIntModifier", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "wrongIntModifier" - } - }, - { - "label": "wrongMetadataSchema", - "kind": "field", - "detail": "wrongMetadataSchema", - "deprecated": false, - "preselect": false, - "sortText": "2_wrongMetadataSchema", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "wrongMetadataSchema" - } - }, - { - "label": "wrongType", - "kind": "field", - "detail": "wrongType", - "deprecated": false, - "preselect": false, - "sortText": "2_wrongType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "wrongType" - } - } +[ + { + "label": "'one'", + "kind": "enumMember", + "detail": "'one'", + "deprecated": false, + "preselect": true, + "sortText": "2_'one'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'one'" + } + }, + { + "label": "'three'", + "kind": "enumMember", + "detail": "'three'", + "deprecated": false, + "preselect": true, + "sortText": "2_'three'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'three'" + } + }, + { + "label": "'two'", + "kind": "enumMember", + "detail": "'two'", + "deprecated": false, + "preselect": true, + "sortText": "2_'two'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'two'" + } + }, + { + "label": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", + "kind": "field", + "detail": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", + "deprecated": false, + "preselect": false, + "sortText": "2_WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong" + } + }, + { + "label": "any", + "kind": "function", + "detail": "any()", + "deprecated": false, + "preselect": false, + "sortText": "3_any", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "any($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "array", + "kind": "function", + "detail": "array()", + "deprecated": false, + "preselect": false, + "sortText": "3_array", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "array($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "az", + "kind": "folder", + "detail": "az", + "deprecated": false, + "preselect": false, + "sortText": "3_az", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "az" + } + }, + { + "label": "badInterpolatedString", + "kind": "field", + "detail": "badInterpolatedString", + "deprecated": false, + "preselect": false, + "sortText": "2_badInterpolatedString", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badInterpolatedString" + } + }, + { + "label": "badInterpolatedString2", + "kind": "field", + "detail": "badInterpolatedString2", + "deprecated": false, + "preselect": false, + "sortText": "2_badInterpolatedString2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badInterpolatedString2" + } + }, + { + "label": "base64", + "kind": "function", + "detail": "base64()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToJson", + "kind": "function", + "detail": "base64ToJson()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToJson", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToJson($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToString", + "kind": "function", + "detail": "base64ToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "bool", + "kind": "function", + "detail": "bool()", + "deprecated": false, + "preselect": false, + "sortText": "3_bool", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bool($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "coalesce", + "kind": "function", + "detail": "coalesce()", + "deprecated": false, + "preselect": false, + "sortText": "3_coalesce", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "coalesce($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "commaOne", + "kind": "field", + "detail": "commaOne", + "deprecated": false, + "preselect": false, + "sortText": "2_commaOne", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "commaOne" + } + }, + { + "label": "commaOneWithDecorator", + "kind": "field", + "detail": "commaOneWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_commaOneWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "commaOneWithDecorator" + } + }, + { + "label": "commaTwo", + "kind": "field", + "detail": "commaTwo", + "deprecated": false, + "preselect": false, + "sortText": "2_commaTwo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "commaTwo" + } + }, + { + "label": "concat", + "kind": "function", + "detail": "concat()", + "deprecated": false, + "preselect": false, + "sortText": "3_concat", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "concat($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "contains", + "kind": "function", + "detail": "contains()", + "deprecated": false, + "preselect": false, + "sortText": "3_contains", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "contains($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dataUri", + "kind": "function", + "detail": "dataUri()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dataUriToString", + "kind": "function", + "detail": "dataUriToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUriToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUriToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dateTimeAdd", + "kind": "function", + "detail": "dateTimeAdd()", + "deprecated": false, + "preselect": false, + "sortText": "3_dateTimeAdd", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dateTimeAdd($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "defaultValueOneLinerCompletions", + "kind": "field", + "detail": "defaultValueOneLinerCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_defaultValueOneLinerCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "defaultValueOneLinerCompletions" + } + }, + { + "label": "deployment", + "kind": "function", + "detail": "deployment()", + "deprecated": false, + "preselect": false, + "sortText": "3_deployment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "deployment()$0" + } + }, + { + "label": "duplicatedModifierProperty", + "kind": "field", + "detail": "duplicatedModifierProperty", + "deprecated": false, + "preselect": false, + "sortText": "2_duplicatedModifierProperty", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "duplicatedModifierProperty" + } + }, + { + "label": "empty", + "kind": "function", + "detail": "empty()", + "deprecated": false, + "preselect": false, + "sortText": "3_empty", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "empty($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "emptyAllowedInt", + "kind": "field", + "detail": "emptyAllowedInt", + "deprecated": false, + "preselect": false, + "sortText": "2_emptyAllowedInt", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "emptyAllowedInt" + } + }, + { + "label": "emptyAllowedIntWithDecorator", + "kind": "field", + "detail": "emptyAllowedIntWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_emptyAllowedIntWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "emptyAllowedIntWithDecorator" + } + }, + { + "label": "emptyAllowedString", + "kind": "field", + "detail": "emptyAllowedString", + "deprecated": false, + "preselect": false, + "sortText": "2_emptyAllowedString", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "emptyAllowedString" + } + }, + { + "label": "emptyAllowedStringWithDecorator", + "kind": "field", + "detail": "emptyAllowedStringWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_emptyAllowedStringWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "emptyAllowedStringWithDecorator" + } + }, + { + "label": "endsWith", + "kind": "function", + "detail": "endsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_endsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "endsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "environment", + "kind": "function", + "detail": "environment()", + "deprecated": false, + "preselect": false, + "sortText": "3_environment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "environment()$0" + } + }, + { + "label": "expressionInModifier", + "kind": "field", + "detail": "expressionInModifier", + "deprecated": false, + "preselect": false, + "sortText": "2_expressionInModifier", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "expressionInModifier" + } + }, + { + "label": "expressionInModifierWithDecorator", + "kind": "field", + "detail": "expressionInModifierWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_expressionInModifierWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "expressionInModifierWithDecorator" + } + }, + { + "label": "extensionResourceId", + "kind": "function", + "detail": "extensionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_extensionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "extensionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "first", + "kind": "function", + "detail": "first()", + "deprecated": false, + "preselect": false, + "sortText": "3_first", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "first($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "format", + "kind": "function", + "detail": "format()", + "deprecated": false, + "preselect": false, + "sortText": "3_format", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "format($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "guid", + "kind": "function", + "detail": "guid()", + "deprecated": false, + "preselect": false, + "sortText": "3_guid", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "guid($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "incompleteDecorators", + "kind": "field", + "detail": "incompleteDecorators", + "deprecated": false, + "preselect": false, + "sortText": "2_incompleteDecorators", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incompleteDecorators" + } + }, + { + "label": "indexOf", + "kind": "function", + "detail": "indexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_indexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "indexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "int", + "kind": "function", + "detail": "int()", + "deprecated": false, + "preselect": false, + "sortText": "3_int", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "int($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "intModifierCompletions", + "kind": "field", + "detail": "intModifierCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_intModifierCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "intModifierCompletions" + } + }, + { + "label": "intersection", + "kind": "function", + "detail": "intersection()", + "deprecated": false, + "preselect": false, + "sortText": "3_intersection", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "intersection($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "json", + "kind": "function", + "detail": "json()", + "deprecated": false, + "preselect": false, + "sortText": "3_json", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "json($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "last", + "kind": "function", + "detail": "last()", + "deprecated": false, + "preselect": false, + "sortText": "3_last", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "last($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "lastIndexOf", + "kind": "function", + "detail": "lastIndexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_lastIndexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "lastIndexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "length", + "kind": "function", + "detail": "length()", + "deprecated": false, + "preselect": false, + "sortText": "3_length", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "length($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "malformedModifier", + "kind": "field", + "detail": "malformedModifier", + "deprecated": false, + "preselect": false, + "sortText": "2_malformedModifier", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "malformedModifier" + } + }, + { + "label": "malformedType", + "kind": "field", + "detail": "malformedType", + "deprecated": false, + "preselect": false, + "sortText": "2_malformedType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "malformedType" + } + }, + { + "label": "malformedType2", + "kind": "field", + "detail": "malformedType2", + "deprecated": false, + "preselect": false, + "sortText": "2_malformedType2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "malformedType2" + } + }, + { + "label": "max", + "kind": "function", + "detail": "max()", + "deprecated": false, + "preselect": false, + "sortText": "3_max", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "max($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "min", + "kind": "function", + "detail": "min()", + "deprecated": false, + "preselect": false, + "sortText": "3_min", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "min($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "missingType", + "kind": "field", + "detail": "missingType", + "deprecated": false, + "preselect": false, + "sortText": "2_missingType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingType" + } + }, + { + "label": "missingTypeWithSpaceAfter", + "kind": "field", + "detail": "missingTypeWithSpaceAfter", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTypeWithSpaceAfter", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTypeWithSpaceAfter" + } + }, + { + "label": "missingTypeWithTabAfter", + "kind": "field", + "detail": "missingTypeWithTabAfter", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTypeWithTabAfter", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTypeWithTabAfter" + } + }, + { + "label": "myBool", + "kind": "field", + "detail": "myBool", + "deprecated": false, + "preselect": false, + "sortText": "2_myBool", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myBool" + } + }, + { + "label": "myFalsehood", + "kind": "field", + "detail": "myFalsehood", + "deprecated": false, + "preselect": false, + "sortText": "2_myFalsehood", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myFalsehood" + } + }, + { + "label": "myInt", + "kind": "field", + "detail": "myInt", + "deprecated": false, + "preselect": false, + "sortText": "2_myInt", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myInt" + } + }, + { + "label": "myInt2", + "kind": "field", + "detail": "myInt2", + "deprecated": false, + "preselect": false, + "sortText": "2_myInt2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myInt2" + } + }, + { + "label": "myString", + "kind": "field", + "detail": "myString", + "deprecated": false, + "preselect": false, + "sortText": "2_myString", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myString" + } + }, + { + "label": "myString2", + "kind": "field", + "detail": "myString2", + "deprecated": false, + "preselect": false, + "sortText": "2_myString2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myString2" + } + }, + { + "label": "myTruth", + "kind": "field", + "detail": "myTruth", + "deprecated": false, + "preselect": false, + "sortText": "2_myTruth", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myTruth" + } + }, + { + "label": "newGuid", + "kind": "function", + "detail": "newGuid()", + "deprecated": false, + "preselect": false, + "sortText": "3_newGuid", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "newGuid()$0" + } + }, + { + "label": "noValueAfterColon", + "kind": "field", + "detail": "noValueAfterColon", + "deprecated": false, + "preselect": false, + "sortText": "2_noValueAfterColon", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "noValueAfterColon" + } + }, + { + "label": "nonCompileTimeConstant", + "kind": "field", + "detail": "nonCompileTimeConstant", + "deprecated": false, + "preselect": false, + "sortText": "2_nonCompileTimeConstant", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nonCompileTimeConstant" + } + }, + { + "label": "nonCompileTimeConstantWithDecorator", + "kind": "field", + "detail": "nonCompileTimeConstantWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_nonCompileTimeConstantWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nonCompileTimeConstantWithDecorator" + } + }, + { + "label": "padLeft", + "kind": "function", + "detail": "padLeft()", + "deprecated": false, + "preselect": false, + "sortText": "3_padLeft", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "padLeft($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "paramAccessingOutput", + "kind": "field", + "detail": "paramAccessingOutput", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingOutput", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingOutput" + } + }, + { + "label": "paramAccessingOutput2", + "kind": "field", + "detail": "paramAccessingOutput2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingOutput2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingOutput2" + } + }, + { + "label": "paramAccessingResource", + "kind": "field", + "detail": "paramAccessingResource", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingResource", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingResource" + } + }, + { + "label": "paramAccessingResource2", + "kind": "field", + "detail": "paramAccessingResource2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingResource2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingResource2" + } + }, + { + "label": "paramAccessingVar", + "kind": "field", + "detail": "paramAccessingVar", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingVar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingVar" + } + }, + { + "label": "paramAccessingVar2", + "kind": "field", + "detail": "paramAccessingVar2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingVar2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingVar2" + } + }, + { + "label": "paramDefaultOneCycle", + "kind": "field", + "detail": "paramDefaultOneCycle", + "deprecated": false, + "preselect": false, + "sortText": "2_paramDefaultOneCycle", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramDefaultOneCycle" + } + }, + { + "label": "paramDefaultTwoCycle1", + "kind": "field", + "detail": "paramDefaultTwoCycle1", + "deprecated": false, + "preselect": false, + "sortText": "2_paramDefaultTwoCycle1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramDefaultTwoCycle1" + } + }, + { + "label": "paramDefaultTwoCycle2", + "kind": "field", + "detail": "paramDefaultTwoCycle2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramDefaultTwoCycle2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramDefaultTwoCycle2" + } + }, + { + "label": "paramMixedTwoCycle1", + "kind": "field", + "detail": "paramMixedTwoCycle1", + "deprecated": false, + "preselect": false, + "sortText": "2_paramMixedTwoCycle1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramMixedTwoCycle1" + } + }, + { + "label": "paramMixedTwoCycle2", + "kind": "field", + "detail": "paramMixedTwoCycle2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramMixedTwoCycle2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramMixedTwoCycle2" + } + }, + { + "label": "paramModifierOneCycle", + "kind": "field", + "detail": "paramModifierOneCycle", + "deprecated": false, + "preselect": false, + "sortText": "2_paramModifierOneCycle", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramModifierOneCycle" + } + }, + { + "label": "paramModifierSelfCycle", + "kind": "field", + "detail": "paramModifierSelfCycle", + "deprecated": false, + "preselect": false, + "sortText": "2_paramModifierSelfCycle", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramModifierSelfCycle" + } + }, + { + "label": "paramModifierSelfCycleWithDecorator", + "kind": "field", + "detail": "paramModifierSelfCycleWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_paramModifierSelfCycleWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramModifierSelfCycleWithDecorator" + } + }, + { + "label": "paramModifierTwoCycle1", + "kind": "field", + "detail": "paramModifierTwoCycle1", + "deprecated": false, + "preselect": false, + "sortText": "2_paramModifierTwoCycle1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramModifierTwoCycle1" + } + }, + { + "label": "paramModifierTwoCycle2", + "kind": "field", + "detail": "paramModifierTwoCycle2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramModifierTwoCycle2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramModifierTwoCycle2" + } + }, + { + "label": "partialType", + "kind": "field", + "detail": "partialType", + "deprecated": false, + "preselect": false, + "sortText": "2_partialType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "partialType" + } + }, + { + "label": "pickZones", + "kind": "function", + "detail": "pickZones()", + "deprecated": false, + "preselect": false, + "sortText": "3_pickZones", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "pickZones($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "providers", + "kind": "function", + "detail": "providers()", + "deprecated": false, + "preselect": false, + "sortText": "3_providers", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "providers($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "range", + "kind": "function", + "detail": "range()", + "deprecated": false, + "preselect": false, + "sortText": "3_range", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "range($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "reference", + "kind": "function", + "detail": "reference()", + "deprecated": false, + "preselect": false, + "sortText": "3_reference", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "reference($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "replace", + "kind": "function", + "detail": "replace()", + "deprecated": false, + "preselect": false, + "sortText": "3_replace", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "replace($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceGroup", + "kind": "function", + "detail": "resourceGroup()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceGroup", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceGroup($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceId", + "kind": "function", + "detail": "resourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "sampleResource", + "kind": "interface", + "detail": "sampleResource", + "deprecated": false, + "preselect": false, + "sortText": "2_sampleResource", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sampleResource" + } + }, + { + "label": "sampleVar", + "kind": "variable", + "detail": "sampleVar", + "deprecated": false, + "preselect": false, + "sortText": "2_sampleVar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sampleVar" + } + }, + { + "label": "secureInt", + "kind": "field", + "detail": "secureInt", + "deprecated": false, + "preselect": false, + "sortText": "2_secureInt", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "secureInt" + } + }, + { + "label": "secureIntWithDecorator", + "kind": "field", + "detail": "secureIntWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_secureIntWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "secureIntWithDecorator" + } + }, + { + "label": "skip", + "kind": "function", + "detail": "skip()", + "deprecated": false, + "preselect": false, + "sortText": "3_skip", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "skip($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "someArray", + "kind": "field", + "detail": "someArray", + "deprecated": false, + "preselect": false, + "sortText": "2_someArray", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "someArray" + } + }, + { + "label": "someArrayWithDecorator", + "kind": "field", + "detail": "someArrayWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_someArrayWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "someArrayWithDecorator" + } + }, + { + "label": "someInteger", + "kind": "field", + "detail": "someInteger", + "deprecated": false, + "preselect": false, + "sortText": "2_someInteger", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "someInteger" + } + }, + { + "label": "someString", + "kind": "field", + "detail": "someString", + "deprecated": false, + "preselect": false, + "sortText": "2_someString", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "someString" + } + }, + { + "label": "split", + "kind": "function", + "detail": "split()", + "deprecated": false, + "preselect": false, + "sortText": "3_split", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "split($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "startsWith", + "kind": "function", + "detail": "startsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_startsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "string", + "kind": "function", + "detail": "string()", + "deprecated": false, + "preselect": false, + "sortText": "3_string", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "string($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "stringLiteral", + "kind": "field", + "detail": "stringLiteral", + "deprecated": false, + "preselect": false, + "sortText": "2_stringLiteral", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "stringLiteral" + } + }, + { + "label": "stringLiteral2", + "kind": "field", + "detail": "stringLiteral2", + "deprecated": false, + "preselect": false, + "sortText": "2_stringLiteral2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "stringLiteral2" + } + }, + { + "label": "stringLiteral3", + "kind": "field", + "detail": "stringLiteral3", + "deprecated": false, + "preselect": false, + "sortText": "2_stringLiteral3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "stringLiteral3" + } + }, + { + "label": "stringModifierCompletions", + "kind": "field", + "detail": "stringModifierCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_stringModifierCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "stringModifierCompletions" + } + }, + { + "label": "subscription", + "kind": "function", + "detail": "subscription()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscription", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscription($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscriptionResourceId", + "kind": "function", + "detail": "subscriptionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscriptionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscriptionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "substring", + "kind": "function", + "detail": "substring()", + "deprecated": false, + "preselect": false, + "sortText": "3_substring", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "substring($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "sys", + "kind": "folder", + "detail": "sys", + "deprecated": false, + "preselect": false, + "sortText": "3_sys", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sys" + } + }, + { + "label": "take", + "kind": "function", + "detail": "take()", + "deprecated": false, + "preselect": false, + "sortText": "3_take", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "take($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "tenant", + "kind": "function", + "detail": "tenant()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenant", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenant()$0" + } + }, + { + "label": "tenantResourceId", + "kind": "function", + "detail": "tenantResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenantResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenantResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLower", + "kind": "function", + "detail": "toLower()", + "deprecated": false, + "preselect": false, + "sortText": "3_toLower", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toLower($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toUpper", + "kind": "function", + "detail": "toUpper()", + "deprecated": false, + "preselect": false, + "sortText": "3_toUpper", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toUpper($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "tooManyArguments1", + "kind": "field", + "detail": "tooManyArguments1", + "deprecated": false, + "preselect": false, + "sortText": "2_tooManyArguments1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tooManyArguments1" + } + }, + { + "label": "tooManyArguments2", + "kind": "field", + "detail": "tooManyArguments2", + "deprecated": false, + "preselect": false, + "sortText": "2_tooManyArguments2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tooManyArguments2" + } + }, + { + "label": "trailingSpace", + "kind": "field", + "detail": "trailingSpace", + "deprecated": false, + "preselect": false, + "sortText": "2_trailingSpace", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trailingSpace" + } + }, + { + "label": "trim", + "kind": "function", + "detail": "trim()", + "deprecated": false, + "preselect": false, + "sortText": "3_trim", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trim($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "union", + "kind": "function", + "detail": "union()", + "deprecated": false, + "preselect": false, + "sortText": "3_union", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "union($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uniqueString", + "kind": "function", + "detail": "uniqueString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uniqueString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uniqueString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uri", + "kind": "function", + "detail": "uri()", + "deprecated": false, + "preselect": false, + "sortText": "3_uri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponent", + "kind": "function", + "detail": "uriComponent()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponent", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponent($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponentToString", + "kind": "function", + "detail": "uriComponentToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponentToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponentToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "utcNow", + "kind": "function", + "detail": "utcNow()", + "deprecated": false, + "preselect": false, + "sortText": "3_utcNow", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "utcNow($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "wrongAssignmentToken", + "kind": "field", + "detail": "wrongAssignmentToken", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongAssignmentToken", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongAssignmentToken" + } + }, + { + "label": "wrongDefaultValue", + "kind": "field", + "detail": "wrongDefaultValue", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongDefaultValue", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongDefaultValue" + } + }, + { + "label": "wrongIntModifier", + "kind": "field", + "detail": "wrongIntModifier", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongIntModifier", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongIntModifier" + } + }, + { + "label": "wrongIntModifierWithDecorator", + "kind": "field", + "detail": "wrongIntModifierWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongIntModifierWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongIntModifierWithDecorator" + } + }, + { + "label": "wrongMetadataSchema", + "kind": "field", + "detail": "wrongMetadataSchema", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongMetadataSchema", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongMetadataSchema" + } + }, + { + "label": "wrongMetadataSchemaWithDecorator", + "kind": "field", + "detail": "wrongMetadataSchemaWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongMetadataSchemaWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongMetadataSchemaWithDecorator" + } + }, + { + "label": "wrongType", + "kind": "field", + "detail": "wrongType", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongType" + } + } ] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/symbolsPlusParamDefaultFunctions.json b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/symbolsPlusParamDefaultFunctions.json index 6cc81784a79..d2c2472f21e 100644 --- a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/symbolsPlusParamDefaultFunctions.json +++ b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/symbolsPlusParamDefaultFunctions.json @@ -1,1771 +1,1981 @@ -[ - { - "label": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", - "kind": "field", - "detail": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", - "deprecated": false, - "preselect": false, - "sortText": "2_WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong" - } - }, - { - "label": "any", - "kind": "function", - "detail": "any()", - "deprecated": false, - "preselect": false, - "sortText": "3_any", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "any($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "array", - "kind": "function", - "detail": "array()", - "deprecated": false, - "preselect": false, - "sortText": "3_array", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "array($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "az", - "kind": "folder", - "detail": "az", - "deprecated": false, - "preselect": false, - "sortText": "3_az", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "az" - } - }, - { - "label": "badInterpolatedString", - "kind": "field", - "detail": "badInterpolatedString", - "deprecated": false, - "preselect": false, - "sortText": "2_badInterpolatedString", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badInterpolatedString" - } - }, - { - "label": "badInterpolatedString2", - "kind": "field", - "detail": "badInterpolatedString2", - "deprecated": false, - "preselect": false, - "sortText": "2_badInterpolatedString2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badInterpolatedString2" - } - }, - { - "label": "base64", - "kind": "function", - "detail": "base64()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToJson", - "kind": "function", - "detail": "base64ToJson()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToJson", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToJson($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToString", - "kind": "function", - "detail": "base64ToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "bool", - "kind": "function", - "detail": "bool()", - "deprecated": false, - "preselect": false, - "sortText": "3_bool", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bool($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "coalesce", - "kind": "function", - "detail": "coalesce()", - "deprecated": false, - "preselect": false, - "sortText": "3_coalesce", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "coalesce($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "commaOne", - "kind": "field", - "detail": "commaOne", - "deprecated": false, - "preselect": false, - "sortText": "2_commaOne", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "commaOne" - } - }, - { - "label": "commaTwo", - "kind": "field", - "detail": "commaTwo", - "deprecated": false, - "preselect": false, - "sortText": "2_commaTwo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "commaTwo" - } - }, - { - "label": "concat", - "kind": "function", - "detail": "concat()", - "deprecated": false, - "preselect": false, - "sortText": "3_concat", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "concat($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "contains", - "kind": "function", - "detail": "contains()", - "deprecated": false, - "preselect": false, - "sortText": "3_contains", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "contains($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dataUri", - "kind": "function", - "detail": "dataUri()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dataUriToString", - "kind": "function", - "detail": "dataUriToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUriToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUriToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dateTimeAdd", - "kind": "function", - "detail": "dateTimeAdd()", - "deprecated": false, - "preselect": false, - "sortText": "3_dateTimeAdd", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dateTimeAdd($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "defaultValueCompletions", - "kind": "field", - "detail": "defaultValueCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_defaultValueCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "defaultValueCompletions" - } - }, - { - "label": "defaultValueOneLinerCompletions", - "kind": "field", - "detail": "defaultValueOneLinerCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_defaultValueOneLinerCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "defaultValueOneLinerCompletions" - } - }, - { - "label": "deployment", - "kind": "function", - "detail": "deployment()", - "deprecated": false, - "preselect": false, - "sortText": "3_deployment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "deployment()$0" - } - }, - { - "label": "duplicatedModifierProperty", - "kind": "field", - "detail": "duplicatedModifierProperty", - "deprecated": false, - "preselect": false, - "sortText": "2_duplicatedModifierProperty", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "duplicatedModifierProperty" - } - }, - { - "label": "empty", - "kind": "function", - "detail": "empty()", - "deprecated": false, - "preselect": false, - "sortText": "3_empty", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "empty($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "emptyAllowedInt", - "kind": "field", - "detail": "emptyAllowedInt", - "deprecated": false, - "preselect": false, - "sortText": "2_emptyAllowedInt", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "emptyAllowedInt" - } - }, - { - "label": "emptyAllowedString", - "kind": "field", - "detail": "emptyAllowedString", - "deprecated": false, - "preselect": false, - "sortText": "2_emptyAllowedString", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "emptyAllowedString" - } - }, - { - "label": "endsWith", - "kind": "function", - "detail": "endsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_endsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "endsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "environment", - "kind": "function", - "detail": "environment()", - "deprecated": false, - "preselect": false, - "sortText": "3_environment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "environment()$0" - } - }, - { - "label": "extensionResourceId", - "kind": "function", - "detail": "extensionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_extensionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "extensionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "first", - "kind": "function", - "detail": "first()", - "deprecated": false, - "preselect": false, - "sortText": "3_first", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "first($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "format", - "kind": "function", - "detail": "format()", - "deprecated": false, - "preselect": false, - "sortText": "3_format", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "format($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "guid", - "kind": "function", - "detail": "guid()", - "deprecated": false, - "preselect": false, - "sortText": "3_guid", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "guid($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "indexOf", - "kind": "function", - "detail": "indexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_indexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "indexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "int", - "kind": "function", - "detail": "int()", - "deprecated": false, - "preselect": false, - "sortText": "3_int", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "int($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "intModifierCompletions", - "kind": "field", - "detail": "intModifierCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_intModifierCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "intModifierCompletions" - } - }, - { - "label": "intersection", - "kind": "function", - "detail": "intersection()", - "deprecated": false, - "preselect": false, - "sortText": "3_intersection", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "intersection($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "json", - "kind": "function", - "detail": "json()", - "deprecated": false, - "preselect": false, - "sortText": "3_json", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "json($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "last", - "kind": "function", - "detail": "last()", - "deprecated": false, - "preselect": false, - "sortText": "3_last", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "last($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "lastIndexOf", - "kind": "function", - "detail": "lastIndexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_lastIndexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "lastIndexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "length", - "kind": "function", - "detail": "length()", - "deprecated": false, - "preselect": false, - "sortText": "3_length", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "length($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "malformedModifier", - "kind": "field", - "detail": "malformedModifier", - "deprecated": false, - "preselect": false, - "sortText": "2_malformedModifier", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "malformedModifier" - } - }, - { - "label": "malformedType", - "kind": "field", - "detail": "malformedType", - "deprecated": false, - "preselect": false, - "sortText": "2_malformedType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "malformedType" - } - }, - { - "label": "malformedType2", - "kind": "field", - "detail": "malformedType2", - "deprecated": false, - "preselect": false, - "sortText": "2_malformedType2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "malformedType2" - } - }, - { - "label": "max", - "kind": "function", - "detail": "max()", - "deprecated": false, - "preselect": false, - "sortText": "3_max", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "max($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "min", - "kind": "function", - "detail": "min()", - "deprecated": false, - "preselect": false, - "sortText": "3_min", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "min($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "missingType", - "kind": "field", - "detail": "missingType", - "deprecated": false, - "preselect": false, - "sortText": "2_missingType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingType" - } - }, - { - "label": "missingTypeWithSpaceAfter", - "kind": "field", - "detail": "missingTypeWithSpaceAfter", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTypeWithSpaceAfter", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTypeWithSpaceAfter" - } - }, - { - "label": "missingTypeWithTabAfter", - "kind": "field", - "detail": "missingTypeWithTabAfter", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTypeWithTabAfter", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTypeWithTabAfter" - } - }, - { - "label": "myBool", - "kind": "field", - "detail": "myBool", - "deprecated": false, - "preselect": false, - "sortText": "2_myBool", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myBool" - } - }, - { - "label": "myFalsehood", - "kind": "field", - "detail": "myFalsehood", - "deprecated": false, - "preselect": false, - "sortText": "2_myFalsehood", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myFalsehood" - } - }, - { - "label": "myInt", - "kind": "field", - "detail": "myInt", - "deprecated": false, - "preselect": false, - "sortText": "2_myInt", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myInt" - } - }, - { - "label": "myInt2", - "kind": "field", - "detail": "myInt2", - "deprecated": false, - "preselect": false, - "sortText": "2_myInt2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myInt2" - } - }, - { - "label": "myString", - "kind": "field", - "detail": "myString", - "deprecated": false, - "preselect": false, - "sortText": "2_myString", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myString" - } - }, - { - "label": "myString2", - "kind": "field", - "detail": "myString2", - "deprecated": false, - "preselect": false, - "sortText": "2_myString2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myString2" - } - }, - { - "label": "myTruth", - "kind": "field", - "detail": "myTruth", - "deprecated": false, - "preselect": false, - "sortText": "2_myTruth", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "myTruth" - } - }, - { - "label": "newGuid", - "kind": "function", - "detail": "newGuid()", - "deprecated": false, - "preselect": false, - "sortText": "3_newGuid", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "newGuid()$0" - } - }, - { - "label": "noValueAfterColon", - "kind": "field", - "detail": "noValueAfterColon", - "deprecated": false, - "preselect": false, - "sortText": "2_noValueAfterColon", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "noValueAfterColon" - } - }, - { - "label": "nonCompileTimeConstant", - "kind": "field", - "detail": "nonCompileTimeConstant", - "deprecated": false, - "preselect": false, - "sortText": "2_nonCompileTimeConstant", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nonCompileTimeConstant" - } - }, - { - "label": "padLeft", - "kind": "function", - "detail": "padLeft()", - "deprecated": false, - "preselect": false, - "sortText": "3_padLeft", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "padLeft($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "paramAccessingOutput", - "kind": "field", - "detail": "paramAccessingOutput", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingOutput", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingOutput" - } - }, - { - "label": "paramAccessingOutput2", - "kind": "field", - "detail": "paramAccessingOutput2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingOutput2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingOutput2" - } - }, - { - "label": "paramAccessingResource", - "kind": "field", - "detail": "paramAccessingResource", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingResource", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingResource" - } - }, - { - "label": "paramAccessingResource2", - "kind": "field", - "detail": "paramAccessingResource2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingResource2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingResource2" - } - }, - { - "label": "paramAccessingVar", - "kind": "field", - "detail": "paramAccessingVar", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingVar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingVar" - } - }, - { - "label": "paramAccessingVar2", - "kind": "field", - "detail": "paramAccessingVar2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramAccessingVar2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramAccessingVar2" - } - }, - { - "label": "paramDefaultOneCycle", - "kind": "field", - "detail": "paramDefaultOneCycle", - "deprecated": false, - "preselect": false, - "sortText": "2_paramDefaultOneCycle", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramDefaultOneCycle" - } - }, - { - "label": "paramDefaultTwoCycle1", - "kind": "field", - "detail": "paramDefaultTwoCycle1", - "deprecated": false, - "preselect": false, - "sortText": "2_paramDefaultTwoCycle1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramDefaultTwoCycle1" - } - }, - { - "label": "paramDefaultTwoCycle2", - "kind": "field", - "detail": "paramDefaultTwoCycle2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramDefaultTwoCycle2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramDefaultTwoCycle2" - } - }, - { - "label": "paramMixedTwoCycle1", - "kind": "field", - "detail": "paramMixedTwoCycle1", - "deprecated": false, - "preselect": false, - "sortText": "2_paramMixedTwoCycle1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramMixedTwoCycle1" - } - }, - { - "label": "paramMixedTwoCycle2", - "kind": "field", - "detail": "paramMixedTwoCycle2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramMixedTwoCycle2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramMixedTwoCycle2" - } - }, - { - "label": "paramModifierOneCycle", - "kind": "field", - "detail": "paramModifierOneCycle", - "deprecated": false, - "preselect": false, - "sortText": "2_paramModifierOneCycle", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramModifierOneCycle" - } - }, - { - "label": "paramModifierSelfCycle", - "kind": "field", - "detail": "paramModifierSelfCycle", - "deprecated": false, - "preselect": false, - "sortText": "2_paramModifierSelfCycle", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramModifierSelfCycle" - } - }, - { - "label": "paramModifierTwoCycle1", - "kind": "field", - "detail": "paramModifierTwoCycle1", - "deprecated": false, - "preselect": false, - "sortText": "2_paramModifierTwoCycle1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramModifierTwoCycle1" - } - }, - { - "label": "paramModifierTwoCycle2", - "kind": "field", - "detail": "paramModifierTwoCycle2", - "deprecated": false, - "preselect": false, - "sortText": "2_paramModifierTwoCycle2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "paramModifierTwoCycle2" - } - }, - { - "label": "partialType", - "kind": "field", - "detail": "partialType", - "deprecated": false, - "preselect": false, - "sortText": "2_partialType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "partialType" - } - }, - { - "label": "pickZones", - "kind": "function", - "detail": "pickZones()", - "deprecated": false, - "preselect": false, - "sortText": "3_pickZones", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "pickZones($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "providers", - "kind": "function", - "detail": "providers()", - "deprecated": false, - "preselect": false, - "sortText": "3_providers", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "providers($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "range", - "kind": "function", - "detail": "range()", - "deprecated": false, - "preselect": false, - "sortText": "3_range", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "range($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "reference", - "kind": "function", - "detail": "reference()", - "deprecated": false, - "preselect": false, - "sortText": "3_reference", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "reference($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "replace", - "kind": "function", - "detail": "replace()", - "deprecated": false, - "preselect": false, - "sortText": "3_replace", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "replace($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceGroup", - "kind": "function", - "detail": "resourceGroup()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceGroup", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceGroup($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceId", - "kind": "function", - "detail": "resourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "sampleResource", - "kind": "interface", - "detail": "sampleResource", - "deprecated": false, - "preselect": false, - "sortText": "2_sampleResource", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sampleResource" - } - }, - { - "label": "sampleVar", - "kind": "variable", - "detail": "sampleVar", - "deprecated": false, - "preselect": false, - "sortText": "2_sampleVar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sampleVar" - } - }, - { - "label": "secureInt", - "kind": "field", - "detail": "secureInt", - "deprecated": false, - "preselect": false, - "sortText": "2_secureInt", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "secureInt" - } - }, - { - "label": "skip", - "kind": "function", - "detail": "skip()", - "deprecated": false, - "preselect": false, - "sortText": "3_skip", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "skip($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "someArray", - "kind": "field", - "detail": "someArray", - "deprecated": false, - "preselect": false, - "sortText": "2_someArray", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "someArray" - } - }, - { - "label": "split", - "kind": "function", - "detail": "split()", - "deprecated": false, - "preselect": false, - "sortText": "3_split", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "split($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "startsWith", - "kind": "function", - "detail": "startsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_startsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "string", - "kind": "function", - "detail": "string()", - "deprecated": false, - "preselect": false, - "sortText": "3_string", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "string($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "stringLiteral", - "kind": "field", - "detail": "stringLiteral", - "deprecated": false, - "preselect": false, - "sortText": "2_stringLiteral", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "stringLiteral" - } - }, - { - "label": "stringLiteral2", - "kind": "field", - "detail": "stringLiteral2", - "deprecated": false, - "preselect": false, - "sortText": "2_stringLiteral2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "stringLiteral2" - } - }, - { - "label": "stringLiteral3", - "kind": "field", - "detail": "stringLiteral3", - "deprecated": false, - "preselect": false, - "sortText": "2_stringLiteral3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "stringLiteral3" - } - }, - { - "label": "stringModifierCompletions", - "kind": "field", - "detail": "stringModifierCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_stringModifierCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "stringModifierCompletions" - } - }, - { - "label": "subscription", - "kind": "function", - "detail": "subscription()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscription", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscription($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscriptionResourceId", - "kind": "function", - "detail": "subscriptionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscriptionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscriptionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "substring", - "kind": "function", - "detail": "substring()", - "deprecated": false, - "preselect": false, - "sortText": "3_substring", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "substring($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "sys", - "kind": "folder", - "detail": "sys", - "deprecated": false, - "preselect": false, - "sortText": "3_sys", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sys" - } - }, - { - "label": "take", - "kind": "function", - "detail": "take()", - "deprecated": false, - "preselect": false, - "sortText": "3_take", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "take($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "tenant", - "kind": "function", - "detail": "tenant()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenant", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenant()$0" - } - }, - { - "label": "tenantResourceId", - "kind": "function", - "detail": "tenantResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenantResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenantResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toLower", - "kind": "function", - "detail": "toLower()", - "deprecated": false, - "preselect": false, - "sortText": "3_toLower", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toLower($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toUpper", - "kind": "function", - "detail": "toUpper()", - "deprecated": false, - "preselect": false, - "sortText": "3_toUpper", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toUpper($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "trailingSpace", - "kind": "field", - "detail": "trailingSpace", - "deprecated": false, - "preselect": false, - "sortText": "2_trailingSpace", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trailingSpace" - } - }, - { - "label": "trim", - "kind": "function", - "detail": "trim()", - "deprecated": false, - "preselect": false, - "sortText": "3_trim", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trim($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "union", - "kind": "function", - "detail": "union()", - "deprecated": false, - "preselect": false, - "sortText": "3_union", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "union($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uniqueString", - "kind": "function", - "detail": "uniqueString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uniqueString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uniqueString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uri", - "kind": "function", - "detail": "uri()", - "deprecated": false, - "preselect": false, - "sortText": "3_uri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponent", - "kind": "function", - "detail": "uriComponent()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponent", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponent($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponentToString", - "kind": "function", - "detail": "uriComponentToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponentToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponentToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "utcNow", - "kind": "function", - "detail": "utcNow()", - "deprecated": false, - "preselect": false, - "sortText": "3_utcNow", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "utcNow($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "wrongAssignmentToken", - "kind": "field", - "detail": "wrongAssignmentToken", - "deprecated": false, - "preselect": false, - "sortText": "2_wrongAssignmentToken", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "wrongAssignmentToken" - } - }, - { - "label": "wrongDefaultValue", - "kind": "field", - "detail": "wrongDefaultValue", - "deprecated": false, - "preselect": false, - "sortText": "2_wrongDefaultValue", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "wrongDefaultValue" - } - }, - { - "label": "wrongIntModifier", - "kind": "field", - "detail": "wrongIntModifier", - "deprecated": false, - "preselect": false, - "sortText": "2_wrongIntModifier", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "wrongIntModifier" - } - }, - { - "label": "wrongMetadataSchema", - "kind": "field", - "detail": "wrongMetadataSchema", - "deprecated": false, - "preselect": false, - "sortText": "2_wrongMetadataSchema", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "wrongMetadataSchema" - } - }, - { - "label": "wrongType", - "kind": "field", - "detail": "wrongType", - "deprecated": false, - "preselect": false, - "sortText": "2_wrongType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "wrongType" - } - } +[ + { + "label": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", + "kind": "field", + "detail": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", + "deprecated": false, + "preselect": false, + "sortText": "2_WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "WhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLongWhySoLong" + } + }, + { + "label": "any", + "kind": "function", + "detail": "any()", + "deprecated": false, + "preselect": false, + "sortText": "3_any", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "any($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "array", + "kind": "function", + "detail": "array()", + "deprecated": false, + "preselect": false, + "sortText": "3_array", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "array($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "az", + "kind": "folder", + "detail": "az", + "deprecated": false, + "preselect": false, + "sortText": "3_az", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "az" + } + }, + { + "label": "badInterpolatedString", + "kind": "field", + "detail": "badInterpolatedString", + "deprecated": false, + "preselect": false, + "sortText": "2_badInterpolatedString", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badInterpolatedString" + } + }, + { + "label": "badInterpolatedString2", + "kind": "field", + "detail": "badInterpolatedString2", + "deprecated": false, + "preselect": false, + "sortText": "2_badInterpolatedString2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badInterpolatedString2" + } + }, + { + "label": "base64", + "kind": "function", + "detail": "base64()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToJson", + "kind": "function", + "detail": "base64ToJson()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToJson", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToJson($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToString", + "kind": "function", + "detail": "base64ToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "bool", + "kind": "function", + "detail": "bool()", + "deprecated": false, + "preselect": false, + "sortText": "3_bool", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bool($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "coalesce", + "kind": "function", + "detail": "coalesce()", + "deprecated": false, + "preselect": false, + "sortText": "3_coalesce", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "coalesce($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "commaOne", + "kind": "field", + "detail": "commaOne", + "deprecated": false, + "preselect": false, + "sortText": "2_commaOne", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "commaOne" + } + }, + { + "label": "commaOneWithDecorator", + "kind": "field", + "detail": "commaOneWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_commaOneWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "commaOneWithDecorator" + } + }, + { + "label": "commaTwo", + "kind": "field", + "detail": "commaTwo", + "deprecated": false, + "preselect": false, + "sortText": "2_commaTwo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "commaTwo" + } + }, + { + "label": "concat", + "kind": "function", + "detail": "concat()", + "deprecated": false, + "preselect": false, + "sortText": "3_concat", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "concat($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "contains", + "kind": "function", + "detail": "contains()", + "deprecated": false, + "preselect": false, + "sortText": "3_contains", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "contains($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dataUri", + "kind": "function", + "detail": "dataUri()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dataUriToString", + "kind": "function", + "detail": "dataUriToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUriToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUriToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dateTimeAdd", + "kind": "function", + "detail": "dateTimeAdd()", + "deprecated": false, + "preselect": false, + "sortText": "3_dateTimeAdd", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dateTimeAdd($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "defaultValueCompletions", + "kind": "field", + "detail": "defaultValueCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_defaultValueCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "defaultValueCompletions" + } + }, + { + "label": "defaultValueOneLinerCompletions", + "kind": "field", + "detail": "defaultValueOneLinerCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_defaultValueOneLinerCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "defaultValueOneLinerCompletions" + } + }, + { + "label": "deployment", + "kind": "function", + "detail": "deployment()", + "deprecated": false, + "preselect": false, + "sortText": "3_deployment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "deployment()$0" + } + }, + { + "label": "duplicatedModifierProperty", + "kind": "field", + "detail": "duplicatedModifierProperty", + "deprecated": false, + "preselect": false, + "sortText": "2_duplicatedModifierProperty", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "duplicatedModifierProperty" + } + }, + { + "label": "empty", + "kind": "function", + "detail": "empty()", + "deprecated": false, + "preselect": false, + "sortText": "3_empty", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "empty($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "emptyAllowedInt", + "kind": "field", + "detail": "emptyAllowedInt", + "deprecated": false, + "preselect": false, + "sortText": "2_emptyAllowedInt", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "emptyAllowedInt" + } + }, + { + "label": "emptyAllowedIntWithDecorator", + "kind": "field", + "detail": "emptyAllowedIntWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_emptyAllowedIntWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "emptyAllowedIntWithDecorator" + } + }, + { + "label": "emptyAllowedString", + "kind": "field", + "detail": "emptyAllowedString", + "deprecated": false, + "preselect": false, + "sortText": "2_emptyAllowedString", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "emptyAllowedString" + } + }, + { + "label": "emptyAllowedStringWithDecorator", + "kind": "field", + "detail": "emptyAllowedStringWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_emptyAllowedStringWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "emptyAllowedStringWithDecorator" + } + }, + { + "label": "endsWith", + "kind": "function", + "detail": "endsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_endsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "endsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "environment", + "kind": "function", + "detail": "environment()", + "deprecated": false, + "preselect": false, + "sortText": "3_environment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "environment()$0" + } + }, + { + "label": "expressionInModifierWithDecorator", + "kind": "field", + "detail": "expressionInModifierWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_expressionInModifierWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "expressionInModifierWithDecorator" + } + }, + { + "label": "extensionResourceId", + "kind": "function", + "detail": "extensionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_extensionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "extensionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "first", + "kind": "function", + "detail": "first()", + "deprecated": false, + "preselect": false, + "sortText": "3_first", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "first($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "format", + "kind": "function", + "detail": "format()", + "deprecated": false, + "preselect": false, + "sortText": "3_format", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "format($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "guid", + "kind": "function", + "detail": "guid()", + "deprecated": false, + "preselect": false, + "sortText": "3_guid", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "guid($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "incompleteDecorators", + "kind": "field", + "detail": "incompleteDecorators", + "deprecated": false, + "preselect": false, + "sortText": "2_incompleteDecorators", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incompleteDecorators" + } + }, + { + "label": "indexOf", + "kind": "function", + "detail": "indexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_indexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "indexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "int", + "kind": "function", + "detail": "int()", + "deprecated": false, + "preselect": false, + "sortText": "3_int", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "int($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "intModifierCompletions", + "kind": "field", + "detail": "intModifierCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_intModifierCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "intModifierCompletions" + } + }, + { + "label": "intersection", + "kind": "function", + "detail": "intersection()", + "deprecated": false, + "preselect": false, + "sortText": "3_intersection", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "intersection($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "json", + "kind": "function", + "detail": "json()", + "deprecated": false, + "preselect": false, + "sortText": "3_json", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "json($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "last", + "kind": "function", + "detail": "last()", + "deprecated": false, + "preselect": false, + "sortText": "3_last", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "last($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "lastIndexOf", + "kind": "function", + "detail": "lastIndexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_lastIndexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "lastIndexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "length", + "kind": "function", + "detail": "length()", + "deprecated": false, + "preselect": false, + "sortText": "3_length", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "length($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "malformedModifier", + "kind": "field", + "detail": "malformedModifier", + "deprecated": false, + "preselect": false, + "sortText": "2_malformedModifier", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "malformedModifier" + } + }, + { + "label": "malformedType", + "kind": "field", + "detail": "malformedType", + "deprecated": false, + "preselect": false, + "sortText": "2_malformedType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "malformedType" + } + }, + { + "label": "malformedType2", + "kind": "field", + "detail": "malformedType2", + "deprecated": false, + "preselect": false, + "sortText": "2_malformedType2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "malformedType2" + } + }, + { + "label": "max", + "kind": "function", + "detail": "max()", + "deprecated": false, + "preselect": false, + "sortText": "3_max", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "max($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "min", + "kind": "function", + "detail": "min()", + "deprecated": false, + "preselect": false, + "sortText": "3_min", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "min($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "missingType", + "kind": "field", + "detail": "missingType", + "deprecated": false, + "preselect": false, + "sortText": "2_missingType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingType" + } + }, + { + "label": "missingTypeWithSpaceAfter", + "kind": "field", + "detail": "missingTypeWithSpaceAfter", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTypeWithSpaceAfter", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTypeWithSpaceAfter" + } + }, + { + "label": "missingTypeWithTabAfter", + "kind": "field", + "detail": "missingTypeWithTabAfter", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTypeWithTabAfter", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTypeWithTabAfter" + } + }, + { + "label": "myBool", + "kind": "field", + "detail": "myBool", + "deprecated": false, + "preselect": false, + "sortText": "2_myBool", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myBool" + } + }, + { + "label": "myFalsehood", + "kind": "field", + "detail": "myFalsehood", + "deprecated": false, + "preselect": false, + "sortText": "2_myFalsehood", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myFalsehood" + } + }, + { + "label": "myInt", + "kind": "field", + "detail": "myInt", + "deprecated": false, + "preselect": false, + "sortText": "2_myInt", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myInt" + } + }, + { + "label": "myInt2", + "kind": "field", + "detail": "myInt2", + "deprecated": false, + "preselect": false, + "sortText": "2_myInt2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myInt2" + } + }, + { + "label": "myString", + "kind": "field", + "detail": "myString", + "deprecated": false, + "preselect": false, + "sortText": "2_myString", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myString" + } + }, + { + "label": "myString2", + "kind": "field", + "detail": "myString2", + "deprecated": false, + "preselect": false, + "sortText": "2_myString2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myString2" + } + }, + { + "label": "myTruth", + "kind": "field", + "detail": "myTruth", + "deprecated": false, + "preselect": false, + "sortText": "2_myTruth", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "myTruth" + } + }, + { + "label": "newGuid", + "kind": "function", + "detail": "newGuid()", + "deprecated": false, + "preselect": false, + "sortText": "3_newGuid", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "newGuid()$0" + } + }, + { + "label": "noValueAfterColon", + "kind": "field", + "detail": "noValueAfterColon", + "deprecated": false, + "preselect": false, + "sortText": "2_noValueAfterColon", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "noValueAfterColon" + } + }, + { + "label": "nonCompileTimeConstant", + "kind": "field", + "detail": "nonCompileTimeConstant", + "deprecated": false, + "preselect": false, + "sortText": "2_nonCompileTimeConstant", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nonCompileTimeConstant" + } + }, + { + "label": "nonCompileTimeConstantWithDecorator", + "kind": "field", + "detail": "nonCompileTimeConstantWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_nonCompileTimeConstantWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nonCompileTimeConstantWithDecorator" + } + }, + { + "label": "padLeft", + "kind": "function", + "detail": "padLeft()", + "deprecated": false, + "preselect": false, + "sortText": "3_padLeft", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "padLeft($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "paramAccessingOutput", + "kind": "field", + "detail": "paramAccessingOutput", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingOutput", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingOutput" + } + }, + { + "label": "paramAccessingOutput2", + "kind": "field", + "detail": "paramAccessingOutput2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingOutput2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingOutput2" + } + }, + { + "label": "paramAccessingResource", + "kind": "field", + "detail": "paramAccessingResource", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingResource", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingResource" + } + }, + { + "label": "paramAccessingResource2", + "kind": "field", + "detail": "paramAccessingResource2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingResource2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingResource2" + } + }, + { + "label": "paramAccessingVar", + "kind": "field", + "detail": "paramAccessingVar", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingVar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingVar" + } + }, + { + "label": "paramAccessingVar2", + "kind": "field", + "detail": "paramAccessingVar2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramAccessingVar2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramAccessingVar2" + } + }, + { + "label": "paramDefaultOneCycle", + "kind": "field", + "detail": "paramDefaultOneCycle", + "deprecated": false, + "preselect": false, + "sortText": "2_paramDefaultOneCycle", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramDefaultOneCycle" + } + }, + { + "label": "paramDefaultTwoCycle1", + "kind": "field", + "detail": "paramDefaultTwoCycle1", + "deprecated": false, + "preselect": false, + "sortText": "2_paramDefaultTwoCycle1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramDefaultTwoCycle1" + } + }, + { + "label": "paramDefaultTwoCycle2", + "kind": "field", + "detail": "paramDefaultTwoCycle2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramDefaultTwoCycle2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramDefaultTwoCycle2" + } + }, + { + "label": "paramMixedTwoCycle1", + "kind": "field", + "detail": "paramMixedTwoCycle1", + "deprecated": false, + "preselect": false, + "sortText": "2_paramMixedTwoCycle1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramMixedTwoCycle1" + } + }, + { + "label": "paramMixedTwoCycle2", + "kind": "field", + "detail": "paramMixedTwoCycle2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramMixedTwoCycle2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramMixedTwoCycle2" + } + }, + { + "label": "paramModifierOneCycle", + "kind": "field", + "detail": "paramModifierOneCycle", + "deprecated": false, + "preselect": false, + "sortText": "2_paramModifierOneCycle", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramModifierOneCycle" + } + }, + { + "label": "paramModifierSelfCycle", + "kind": "field", + "detail": "paramModifierSelfCycle", + "deprecated": false, + "preselect": false, + "sortText": "2_paramModifierSelfCycle", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramModifierSelfCycle" + } + }, + { + "label": "paramModifierSelfCycleWithDecorator", + "kind": "field", + "detail": "paramModifierSelfCycleWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_paramModifierSelfCycleWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramModifierSelfCycleWithDecorator" + } + }, + { + "label": "paramModifierTwoCycle1", + "kind": "field", + "detail": "paramModifierTwoCycle1", + "deprecated": false, + "preselect": false, + "sortText": "2_paramModifierTwoCycle1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramModifierTwoCycle1" + } + }, + { + "label": "paramModifierTwoCycle2", + "kind": "field", + "detail": "paramModifierTwoCycle2", + "deprecated": false, + "preselect": false, + "sortText": "2_paramModifierTwoCycle2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "paramModifierTwoCycle2" + } + }, + { + "label": "partialType", + "kind": "field", + "detail": "partialType", + "deprecated": false, + "preselect": false, + "sortText": "2_partialType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "partialType" + } + }, + { + "label": "pickZones", + "kind": "function", + "detail": "pickZones()", + "deprecated": false, + "preselect": false, + "sortText": "3_pickZones", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "pickZones($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "providers", + "kind": "function", + "detail": "providers()", + "deprecated": false, + "preselect": false, + "sortText": "3_providers", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "providers($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "range", + "kind": "function", + "detail": "range()", + "deprecated": false, + "preselect": false, + "sortText": "3_range", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "range($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "reference", + "kind": "function", + "detail": "reference()", + "deprecated": false, + "preselect": false, + "sortText": "3_reference", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "reference($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "replace", + "kind": "function", + "detail": "replace()", + "deprecated": false, + "preselect": false, + "sortText": "3_replace", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "replace($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceGroup", + "kind": "function", + "detail": "resourceGroup()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceGroup", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceGroup($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceId", + "kind": "function", + "detail": "resourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "sampleResource", + "kind": "interface", + "detail": "sampleResource", + "deprecated": false, + "preselect": false, + "sortText": "2_sampleResource", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sampleResource" + } + }, + { + "label": "sampleVar", + "kind": "variable", + "detail": "sampleVar", + "deprecated": false, + "preselect": false, + "sortText": "2_sampleVar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sampleVar" + } + }, + { + "label": "secureInt", + "kind": "field", + "detail": "secureInt", + "deprecated": false, + "preselect": false, + "sortText": "2_secureInt", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "secureInt" + } + }, + { + "label": "secureIntWithDecorator", + "kind": "field", + "detail": "secureIntWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_secureIntWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "secureIntWithDecorator" + } + }, + { + "label": "skip", + "kind": "function", + "detail": "skip()", + "deprecated": false, + "preselect": false, + "sortText": "3_skip", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "skip($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "someArray", + "kind": "field", + "detail": "someArray", + "deprecated": false, + "preselect": false, + "sortText": "2_someArray", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "someArray" + } + }, + { + "label": "someArrayWithDecorator", + "kind": "field", + "detail": "someArrayWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_someArrayWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "someArrayWithDecorator" + } + }, + { + "label": "someInteger", + "kind": "field", + "detail": "someInteger", + "deprecated": false, + "preselect": false, + "sortText": "2_someInteger", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "someInteger" + } + }, + { + "label": "someString", + "kind": "field", + "detail": "someString", + "deprecated": false, + "preselect": false, + "sortText": "2_someString", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "someString" + } + }, + { + "label": "split", + "kind": "function", + "detail": "split()", + "deprecated": false, + "preselect": false, + "sortText": "3_split", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "split($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "startsWith", + "kind": "function", + "detail": "startsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_startsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "string", + "kind": "function", + "detail": "string()", + "deprecated": false, + "preselect": false, + "sortText": "3_string", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "string($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "stringLiteral", + "kind": "field", + "detail": "stringLiteral", + "deprecated": false, + "preselect": false, + "sortText": "2_stringLiteral", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "stringLiteral" + } + }, + { + "label": "stringLiteral2", + "kind": "field", + "detail": "stringLiteral2", + "deprecated": false, + "preselect": false, + "sortText": "2_stringLiteral2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "stringLiteral2" + } + }, + { + "label": "stringLiteral3", + "kind": "field", + "detail": "stringLiteral3", + "deprecated": false, + "preselect": false, + "sortText": "2_stringLiteral3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "stringLiteral3" + } + }, + { + "label": "stringModifierCompletions", + "kind": "field", + "detail": "stringModifierCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_stringModifierCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "stringModifierCompletions" + } + }, + { + "label": "subscription", + "kind": "function", + "detail": "subscription()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscription", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscription($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscriptionResourceId", + "kind": "function", + "detail": "subscriptionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscriptionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscriptionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "substring", + "kind": "function", + "detail": "substring()", + "deprecated": false, + "preselect": false, + "sortText": "3_substring", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "substring($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "sys", + "kind": "folder", + "detail": "sys", + "deprecated": false, + "preselect": false, + "sortText": "3_sys", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sys" + } + }, + { + "label": "take", + "kind": "function", + "detail": "take()", + "deprecated": false, + "preselect": false, + "sortText": "3_take", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "take($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "tenant", + "kind": "function", + "detail": "tenant()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenant", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenant()$0" + } + }, + { + "label": "tenantResourceId", + "kind": "function", + "detail": "tenantResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenantResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenantResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLower", + "kind": "function", + "detail": "toLower()", + "deprecated": false, + "preselect": false, + "sortText": "3_toLower", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toLower($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toUpper", + "kind": "function", + "detail": "toUpper()", + "deprecated": false, + "preselect": false, + "sortText": "3_toUpper", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toUpper($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "tooManyArguments1", + "kind": "field", + "detail": "tooManyArguments1", + "deprecated": false, + "preselect": false, + "sortText": "2_tooManyArguments1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tooManyArguments1" + } + }, + { + "label": "tooManyArguments2", + "kind": "field", + "detail": "tooManyArguments2", + "deprecated": false, + "preselect": false, + "sortText": "2_tooManyArguments2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tooManyArguments2" + } + }, + { + "label": "trailingSpace", + "kind": "field", + "detail": "trailingSpace", + "deprecated": false, + "preselect": false, + "sortText": "2_trailingSpace", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trailingSpace" + } + }, + { + "label": "trim", + "kind": "function", + "detail": "trim()", + "deprecated": false, + "preselect": false, + "sortText": "3_trim", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trim($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "union", + "kind": "function", + "detail": "union()", + "deprecated": false, + "preselect": false, + "sortText": "3_union", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "union($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uniqueString", + "kind": "function", + "detail": "uniqueString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uniqueString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uniqueString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uri", + "kind": "function", + "detail": "uri()", + "deprecated": false, + "preselect": false, + "sortText": "3_uri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponent", + "kind": "function", + "detail": "uriComponent()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponent", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponent($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponentToString", + "kind": "function", + "detail": "uriComponentToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponentToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponentToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "utcNow", + "kind": "function", + "detail": "utcNow()", + "deprecated": false, + "preselect": false, + "sortText": "3_utcNow", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "utcNow($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "wrongAssignmentToken", + "kind": "field", + "detail": "wrongAssignmentToken", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongAssignmentToken", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongAssignmentToken" + } + }, + { + "label": "wrongDefaultValue", + "kind": "field", + "detail": "wrongDefaultValue", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongDefaultValue", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongDefaultValue" + } + }, + { + "label": "wrongIntModifier", + "kind": "field", + "detail": "wrongIntModifier", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongIntModifier", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongIntModifier" + } + }, + { + "label": "wrongIntModifierWithDecorator", + "kind": "field", + "detail": "wrongIntModifierWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongIntModifierWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongIntModifierWithDecorator" + } + }, + { + "label": "wrongMetadataSchema", + "kind": "field", + "detail": "wrongMetadataSchema", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongMetadataSchema", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongMetadataSchema" + } + }, + { + "label": "wrongMetadataSchemaWithDecorator", + "kind": "field", + "detail": "wrongMetadataSchemaWithDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongMetadataSchemaWithDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongMetadataSchemaWithDecorator" + } + }, + { + "label": "wrongType", + "kind": "field", + "detail": "wrongType", + "deprecated": false, + "preselect": false, + "sortText": "2_wrongType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "wrongType" + } + } ] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.bicep b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.bicep index 92e73e71c62..85b72abb344 100644 --- a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.bicep @@ -90,6 +90,10 @@ param someArray arra { maxLength: 24 } +@minLength(3) +@maxLength(24) +param someArrayWithDecorator arra + // duplicate modifier property param duplicatedModifierProperty string { minLength: 3 @@ -103,6 +107,11 @@ param secureInt int { maxLength: 123 } +@secure() +@minLength(3) +@maxLength(123) +param secureIntWithDecorator int + // wrong modifier value types param wrongIntModifier int { default: true @@ -117,6 +126,17 @@ param wrongIntModifier int { metadata: 'wrong' } +@allowed([ + 'test' + true +]) +@minValue({ +}) +@maxValue([ +]) +@metadata('wrong') +param wrongIntModifierWithDecorator int = true + // wrong metadata schema param wrongMetadataSchema string { metadata: { @@ -124,6 +144,11 @@ param wrongMetadataSchema string { } } +@metadata({ + description: true +}) +param wrongMetadataSchemaWithDecorator string + // expression in modifier param expressionInModifier string { // #completionTest(10,11) -> symbolsPlusParamDefaultFunctions @@ -135,6 +160,13 @@ param expressionInModifier string { ] } +@maxLength(a + 2) +@minLength(foo()) +@allowed([ + i +]) +param expressionInModifierWithDecorator string = 2 + 3 + param nonCompileTimeConstant string { maxLength: 2 + 3 minLength: length([]) @@ -143,14 +175,28 @@ param nonCompileTimeConstant string { ] } +@maxLength(2 + 3) +@minLength(length([])) +@allowed([ + resourceGroup().id +]) +param nonCompileTimeConstantWithDecorator string + + param emptyAllowedString string { allowed: [] } +@allowed([]) +param emptyAllowedStringWithDecorator string + param emptyAllowedInt int { allowed: [] } +@allowed([]) +param emptyAllowedIntWithDecorator int + // 1-cycle in params param paramDefaultOneCycle string = paramDefaultOneCycle @@ -170,6 +216,11 @@ param paramModifierSelfCycle string { ] } +@allowed([ + paramModifierSelfCycleWithDecorator +]) +param paramModifierSelfCycleWithDecorator string + // 2-cycle in modifier params param paramModifierTwoCycle1 string { default: paramModifierTwoCycle2 @@ -278,6 +329,15 @@ param commaOne string { default: 'abc' } +@metadata({ + description: 'Name of Virtual Machine' +}) +@allowed([ + 'abc', + 'def' +]) +param commaOneWithDecorator string + // invalid comma separator (object) param commaTwo string { metadata: { @@ -291,5 +351,35 @@ param commaTwo string { default: 'abc' } +@secure +@ +@&& xxx +param incompleteDecorators string + +@concat(1, 2) +@sys.concat('a', 'b') +@secure() +// wrong target type +@minValue(20) +param someString string { + // using decorators and modifier at the same time + secure: true +} + +@allowed([ + true + 10 + 'foo' +]) +@secure() +param someInteger int = 20 + +@allowed([], [], 2) +param tooManyArguments1 int = 20 + +@metadata({}, {}, true) +param tooManyArguments2 string + + // unterminated multi-line comment /* \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.diagnostics.bicep b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.diagnostics.bicep index 79e9f0e48c0..4c4984fc07f 100644 --- a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.diagnostics.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.diagnostics.bicep @@ -168,6 +168,11 @@ param someArray arra { maxLength: 24 } +@minLength(3) +@maxLength(24) +param someArrayWithDecorator arra +//@[29:33) [BCP031 (Error)] The parameter type is not valid. Please specify one of the following types: "array", "bool", "int", "object", "string". |arra| + // duplicate modifier property param duplicatedModifierProperty string { minLength: 3 @@ -186,6 +191,14 @@ param secureInt int { //@[2:11) [BCP038 (Error)] The property "maxLength" is not allowed on objects of type "ParameterModifier". Permissible properties include "allowed", "default", "maxValue", "metadata", "minValue". |maxLength| } +@secure() +//@[0:9) [BCP124 (Error)] The decorator "secure" can only be attached to targets of type "object | string", but the target has type "int". |@secure()| +@minLength(3) +//@[0:13) [BCP124 (Error)] The decorator "minLength" can only be attached to targets of type "array | string", but the target has type "int". |@minLength(3)| +@maxLength(123) +//@[0:15) [BCP124 (Error)] The decorator "maxLength" can only be attached to targets of type "array | string", but the target has type "int". |@maxLength(123)| +param secureIntWithDecorator int + // wrong modifier value types param wrongIntModifier int { default: true @@ -206,6 +219,23 @@ param wrongIntModifier int { //@[12:19) [BCP036 (Error)] The property "metadata" expected a value of type "ParameterModifierMetadata" but the provided value is of type "'wrong'". |'wrong'| } +@allowed([ + 'test' +//@[2:8) [BCP034 (Error)] The enclosing array expected an item of type "int", but the provided item was of type "'test'". |'test'| + true +//@[2:6) [BCP034 (Error)] The enclosing array expected an item of type "int", but the provided item was of type "bool". |true| +]) +@minValue({ +//@[10:13) [BCP070 (Error)] Argument of type "object" is not assignable to parameter of type "int". |{\n}| +}) +@maxValue([ +//@[10:13) [BCP070 (Error)] Argument of type "array" is not assignable to parameter of type "int". |[\n]| +]) +@metadata('wrong') +//@[10:17) [BCP070 (Error)] Argument of type "'wrong'" is not assignable to parameter of type "object". |'wrong'| +param wrongIntModifierWithDecorator int = true +//@[42:46) [BCP027 (Error)] The parameter expects a default value of type "int" but provided value is of type "bool". |true| + // wrong metadata schema param wrongMetadataSchema string { metadata: { @@ -214,6 +244,12 @@ param wrongMetadataSchema string { } } +@metadata({ + description: true +//@[15:19) [BCP036 (Error)] The property "description" expected a value of type "string" but the provided value is of type "bool". |true| +}) +param wrongMetadataSchemaWithDecorator string + // expression in modifier param expressionInModifier string { // #completionTest(10,11) -> symbolsPlusParamDefaultFunctions @@ -228,6 +264,17 @@ param expressionInModifier string { ] } +@maxLength(a + 2) +//@[11:12) [BCP057 (Error)] The name "a" does not exist in the current context. |a| +@minLength(foo()) +//@[11:14) [BCP057 (Error)] The name "foo" does not exist in the current context. |foo| +@allowed([ + i +//@[2:3) [BCP057 (Error)] The name "i" does not exist in the current context. |i| +]) +param expressionInModifierWithDecorator string = 2 + 3 +//@[49:54) [BCP027 (Error)] The parameter expects a default value of type "string" but provided value is of type "int". |2 + 3| + param nonCompileTimeConstant string { maxLength: 2 + 3 //@[13:18) [BCP032 (Error)] The value must be a compile-time constant. |2 + 3| @@ -239,16 +286,35 @@ param nonCompileTimeConstant string { ] } +@maxLength(2 + 3) +//@[11:16) [BCP032 (Error)] The value must be a compile-time constant. |2 + 3| +@minLength(length([])) +//@[11:21) [BCP032 (Error)] The value must be a compile-time constant. |length([])| +@allowed([ + resourceGroup().id +//@[2:20) [BCP032 (Error)] The value must be a compile-time constant. |resourceGroup().id| +]) +param nonCompileTimeConstantWithDecorator string + + param emptyAllowedString string { allowed: [] //@[11:13) [BCP099 (Error)] The "allowed" array must contain one or more items. |[]| } +@allowed([]) +//@[9:11) [BCP099 (Error)] The "allowed" array must contain one or more items. |[]| +param emptyAllowedStringWithDecorator string + param emptyAllowedInt int { allowed: [] //@[11:13) [BCP099 (Error)] The "allowed" array must contain one or more items. |[]| } +@allowed([]) +//@[9:11) [BCP099 (Error)] The "allowed" array must contain one or more items. |[]| +param emptyAllowedIntWithDecorator int + // 1-cycle in params param paramDefaultOneCycle string = paramDefaultOneCycle //@[36:56) [BCP079 (Error)] This expression is referencing its own declaration, which is not allowed. |paramDefaultOneCycle| @@ -273,6 +339,12 @@ param paramModifierSelfCycle string { ] } +@allowed([ + paramModifierSelfCycleWithDecorator +//@[2:37) [BCP079 (Error)] This expression is referencing its own declaration, which is not allowed. |paramModifierSelfCycleWithDecorator| +]) +param paramModifierSelfCycleWithDecorator string + // 2-cycle in modifier params param paramModifierTwoCycle1 string { default: paramModifierTwoCycle2 @@ -398,6 +470,16 @@ param commaOne string { default: 'abc' } +@metadata({ + description: 'Name of Virtual Machine' +}) +@allowed([ + 'abc', +//@[7:8) [BCP106 (Error)] Expected a new line character at this location. Commas are not used as separator delimiters. |,| + 'def' +]) +param commaOneWithDecorator string + // invalid comma separator (object) param commaTwo string { metadata: { @@ -412,6 +494,46 @@ param commaTwo string { default: 'abc' } +@secure +//@[1:7) [BCP063 (Error)] The name "secure" is not a parameter, variable, resource or module. |secure| +@ +//@[1:1) [BCP123 (Error)] Expected a namespace or decorator name at this location. || +@&& xxx +//@[1:3) [BCP123 (Error)] Expected a namespace or decorator name at this location. |&&| +param incompleteDecorators string + +@concat(1, 2) +@sys.concat('a', 'b') +@secure() +// wrong target type +@minValue(20) +//@[0:13) [BCP124 (Error)] The decorator "minValue" can only be attached to targets of type "int", but the target has type "string". |@minValue(20)| +param someString string { +//@[24:25) [BCP131 (Error)] Parameter modifiers and decorators cannot be used together. Please use decorators only. |{| + // using decorators and modifier at the same time + secure: true +} + +@allowed([ + true +//@[4:8) [BCP034 (Error)] The enclosing array expected an item of type "int", but the provided item was of type "bool". |true| + 10 + 'foo' +//@[4:9) [BCP034 (Error)] The enclosing array expected an item of type "int", but the provided item was of type "'foo'". |'foo'| +]) +@secure() +//@[0:9) [BCP124 (Error)] The decorator "secure" can only be attached to targets of type "object | string", but the target has type "int". |@secure()| +param someInteger int = 20 + +@allowed([], [], 2) +//@[8:19) [BCP071 (Error)] Expected 1 argument, but got 3. |([], [], 2)| +param tooManyArguments1 int = 20 + +@metadata({}, {}, true) +//@[9:23) [BCP071 (Error)] Expected 1 argument, but got 3. |({}, {}, true)| +param tooManyArguments2 string + + // unterminated multi-line comment /* //@[0:6) [BCP002 (Error)] The multi-line comment at this location is not terminated. Terminate it with the */ character sequence. |/* | diff --git a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.formatted.bicep b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.formatted.bicep index 2e509b37535..dc5fb4e85a9 100644 --- a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.formatted.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.formatted.bicep @@ -90,6 +90,10 @@ param someArray arra { maxLength: 24 } +@minLength(3) +@maxLength(24) +param someArrayWithDecorator arra + // duplicate modifier property param duplicatedModifierProperty string { minLength: 3 @@ -103,6 +107,11 @@ param secureInt int { maxLength: 123 } +@secure() +@minLength(3) +@maxLength(123) +param secureIntWithDecorator int + // wrong modifier value types param wrongIntModifier int { default: true @@ -115,6 +124,15 @@ param wrongIntModifier int { metadata: 'wrong' } +@allowed([ + 'test' + true +]) +@minValue({}) +@maxValue([]) +@metadata('wrong') +param wrongIntModifierWithDecorator int = true + // wrong metadata schema param wrongMetadataSchema string { metadata: { @@ -122,6 +140,11 @@ param wrongMetadataSchema string { } } +@metadata({ + description: true +}) +param wrongMetadataSchemaWithDecorator string + // expression in modifier param expressionInModifier string { // #completionTest(10,11) -> symbolsPlusParamDefaultFunctions @@ -133,6 +156,13 @@ param expressionInModifier string { ] } +@maxLength(a + 2) +@minLength(foo()) +@allowed([ + i +]) +param expressionInModifierWithDecorator string = 2 + 3 + param nonCompileTimeConstant string { maxLength: 2 + 3 minLength: length([]) @@ -141,14 +171,27 @@ param nonCompileTimeConstant string { ] } +@maxLength(2 + 3) +@minLength(length([])) +@allowed([ + resourceGroup().id +]) +param nonCompileTimeConstantWithDecorator string + param emptyAllowedString string { allowed: [] } +@allowed([]) +param emptyAllowedStringWithDecorator string + param emptyAllowedInt int { allowed: [] } +@allowed([]) +param emptyAllowedIntWithDecorator int + // 1-cycle in params param paramDefaultOneCycle string = paramDefaultOneCycle @@ -168,6 +211,11 @@ param paramModifierSelfCycle string { ] } +@allowed([ + paramModifierSelfCycleWithDecorator +]) +param paramModifierSelfCycleWithDecorator string + // 2-cycle in modifier params param paramModifierTwoCycle1 string { default: paramModifierTwoCycle2 @@ -274,6 +322,15 @@ param commaOne string { default: 'abc' } +@metadata({ + description: 'Name of Virtual Machine' +}) +@allowed([ + 'abc', + 'def' +]) +param commaOneWithDecorator string + // invalid comma separator (object) param commaTwo string { metadata: { @@ -287,5 +344,34 @@ param commaTwo string { default: 'abc' } +@secure +@ +@&& xxx +param incompleteDecorators string + +@concat(1, 2) +@sys.concat('a', 'b') +@secure() +// wrong target type +@minValue(20) +param someString string { + // using decorators and modifier at the same time + secure: true +} + +@allowed([ + true + 10 + 'foo' +]) +@secure() +param someInteger int = 20 + +@allowed([], [], 2) +param tooManyArguments1 int = 20 + +@metadata({}, {}, true) +param tooManyArguments2 string + // unterminated multi-line comment /* diff --git a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.symbols.bicep b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.symbols.bicep index 8098dcd78f6..40224b80965 100644 --- a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.symbols.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.symbols.bicep @@ -131,6 +131,11 @@ param someArray arra { maxLength: 24 } +@minLength(3) +@maxLength(24) +param someArrayWithDecorator arra +//@[6:28) Parameter someArrayWithDecorator. Type: error. Declaration start char: 0, length: 62 + // duplicate modifier property param duplicatedModifierProperty string { //@[6:32) Parameter duplicatedModifierProperty. Type: string. Declaration start char: 0, length: 74 @@ -146,6 +151,12 @@ param secureInt int { maxLength: 123 } +@secure() +@minLength(3) +@maxLength(123) +param secureIntWithDecorator int +//@[6:28) Parameter secureIntWithDecorator. Type: int. Declaration start char: 0, length: 72 + // wrong modifier value types param wrongIntModifier int { //@[6:22) Parameter wrongIntModifier. Type: int. Declaration start char: 0, length: 139 @@ -161,6 +172,18 @@ param wrongIntModifier int { metadata: 'wrong' } +@allowed([ + 'test' + true +]) +@minValue({ +}) +@maxValue([ +]) +@metadata('wrong') +param wrongIntModifierWithDecorator int = true +//@[6:35) Parameter wrongIntModifierWithDecorator. Type: int. Declaration start char: 0, length: 125 + // wrong metadata schema param wrongMetadataSchema string { //@[6:25) Parameter wrongMetadataSchema. Type: string. Declaration start char: 0, length: 76 @@ -169,6 +192,12 @@ param wrongMetadataSchema string { } } +@metadata({ + description: true +}) +param wrongMetadataSchemaWithDecorator string +//@[6:38) Parameter wrongMetadataSchemaWithDecorator. Type: string. Declaration start char: 0, length: 80 + // expression in modifier param expressionInModifier string { //@[6:26) Parameter expressionInModifier. Type: string. Declaration start char: 0, length: 179 @@ -181,6 +210,14 @@ param expressionInModifier string { ] } +@maxLength(a + 2) +@minLength(foo()) +@allowed([ + i +]) +param expressionInModifierWithDecorator string = 2 + 3 +//@[6:39) Parameter expressionInModifierWithDecorator. Type: string. Declaration start char: 0, length: 108 + param nonCompileTimeConstant string { //@[6:28) Parameter nonCompileTimeConstant. Type: string. Declaration start char: 0, length: 122 maxLength: 2 + 3 @@ -190,16 +227,33 @@ param nonCompileTimeConstant string { ] } +@maxLength(2 + 3) +@minLength(length([])) +@allowed([ + resourceGroup().id +]) +param nonCompileTimeConstantWithDecorator string +//@[6:41) Parameter nonCompileTimeConstantWithDecorator. Type: string. Declaration start char: 0, length: 124 + + param emptyAllowedString string { //@[6:24) Parameter emptyAllowedString. Type: error. Declaration start char: 0, length: 49 allowed: [] } +@allowed([]) +param emptyAllowedStringWithDecorator string +//@[6:37) Parameter emptyAllowedStringWithDecorator. Type: string. Declaration start char: 0, length: 57 + param emptyAllowedInt int { //@[6:21) Parameter emptyAllowedInt. Type: error. Declaration start char: 0, length: 43 allowed: [] } +@allowed([]) +param emptyAllowedIntWithDecorator int +//@[6:34) Parameter emptyAllowedIntWithDecorator. Type: int. Declaration start char: 0, length: 51 + // 1-cycle in params param paramDefaultOneCycle string = paramDefaultOneCycle //@[6:26) Parameter paramDefaultOneCycle. Type: string. Declaration start char: 0, length: 56 @@ -224,6 +278,12 @@ param paramModifierSelfCycle string { ] } +@allowed([ + paramModifierSelfCycleWithDecorator +]) +param paramModifierSelfCycleWithDecorator string +//@[6:41) Parameter paramModifierSelfCycleWithDecorator. Type: string. Declaration start char: 0, length: 100 + // 2-cycle in modifier params param paramModifierTwoCycle1 string { //@[6:28) Parameter paramModifierTwoCycle1. Type: string. Declaration start char: 0, length: 73 @@ -354,6 +414,16 @@ param commaOne string { default: 'abc' } +@metadata({ + description: 'Name of Virtual Machine' +}) +@allowed([ + 'abc', + 'def' +]) +param commaOneWithDecorator string +//@[6:27) Parameter commaOneWithDecorator. Type: string. Declaration start char: 0, length: 121 + // invalid comma separator (object) param commaTwo string { //@[6:14) Parameter commaTwo. Type: 'abc' | 'def'. Declaration start char: 0, length: 174 @@ -368,5 +438,40 @@ param commaTwo string { default: 'abc' } +@secure +@ +@&& xxx +param incompleteDecorators string +//@[6:26) Parameter incompleteDecorators. Type: string. Declaration start char: 0, length: 51 + +@concat(1, 2) +@sys.concat('a', 'b') +@secure() +// wrong target type +@minValue(20) +param someString string { +//@[6:16) Parameter someString. Type: string. Declaration start char: 0, length: 109 + // using decorators and modifier at the same time + secure: true +} + +@allowed([ + true + 10 + 'foo' +]) +@secure() +param someInteger int = 20 +//@[6:17) Parameter someInteger. Type: int. Declaration start char: 0, length: 76 + +@allowed([], [], 2) +param tooManyArguments1 int = 20 +//@[6:23) Parameter tooManyArguments1. Type: int. Declaration start char: 0, length: 52 + +@metadata({}, {}, true) +param tooManyArguments2 string +//@[6:23) Parameter tooManyArguments2. Type: string. Declaration start char: 0, length: 54 + + // unterminated multi-line comment /* diff --git a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.syntax.bicep b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.syntax.bicep index a2c0096546f..1abe912435a 100644 --- a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.syntax.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.syntax.bicep @@ -603,6 +603,39 @@ param someArray arra { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@minLength(3) +//@[0:62) ParameterDeclarationSyntax +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) FunctionArgumentSyntax +//@[11:12) IntegerLiteralSyntax +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +@maxLength(24) +//@[0:14) DecoratorSyntax +//@[0:1) At |@| +//@[1:14) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) FunctionArgumentSyntax +//@[11:13) IntegerLiteralSyntax +//@[11:13) Integer |24| +//@[13:14) RightParen |)| +//@[14:15) NewLine |\n| +param someArrayWithDecorator arra +//@[0:5) Identifier |param| +//@[6:28) IdentifierSyntax +//@[6:28) Identifier |someArrayWithDecorator| +//@[29:33) TypeSyntax +//@[29:33) Identifier |arra| +//@[33:35) NewLine |\n\n| + // duplicate modifier property //@[30:31) NewLine |\n| param duplicatedModifierProperty string { @@ -675,6 +708,48 @@ param secureInt int { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@secure() +//@[0:72) ParameterDeclarationSyntax +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +@minLength(3) +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) FunctionArgumentSyntax +//@[11:12) IntegerLiteralSyntax +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +@maxLength(123) +//@[0:15) DecoratorSyntax +//@[0:1) At |@| +//@[1:15) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:14) FunctionArgumentSyntax +//@[11:14) IntegerLiteralSyntax +//@[11:14) Integer |123| +//@[14:15) RightParen |)| +//@[15:16) NewLine |\n| +param secureIntWithDecorator int +//@[0:5) Identifier |param| +//@[6:28) IdentifierSyntax +//@[6:28) Identifier |secureIntWithDecorator| +//@[29:32) TypeSyntax +//@[29:32) Identifier |int| +//@[32:34) NewLine |\n\n| + // wrong modifier value types //@[29:30) NewLine |\n| param wrongIntModifier int { @@ -750,6 +825,86 @@ param wrongIntModifier int { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@allowed([ +//@[0:125) ParameterDeclarationSyntax +//@[0:29) DecoratorSyntax +//@[0:1) At |@| +//@[1:29) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:28) FunctionArgumentSyntax +//@[9:28) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + 'test' +//@[2:8) ArrayItemSyntax +//@[2:8) StringSyntax +//@[2:8) StringComplete |'test'| +//@[8:9) NewLine |\n| + true +//@[2:6) ArrayItemSyntax +//@[2:6) BooleanLiteralSyntax +//@[2:6) TrueKeyword |true| +//@[6:7) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +@minValue({ +//@[0:14) DecoratorSyntax +//@[0:1) At |@| +//@[1:14) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |minValue| +//@[9:10) LeftParen |(| +//@[10:13) FunctionArgumentSyntax +//@[10:13) ObjectSyntax +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +@maxValue([ +//@[0:14) DecoratorSyntax +//@[0:1) At |@| +//@[1:14) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |maxValue| +//@[9:10) LeftParen |(| +//@[10:13) FunctionArgumentSyntax +//@[10:13) ArraySyntax +//@[10:11) LeftSquare |[| +//@[11:12) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +@metadata('wrong') +//@[0:18) DecoratorSyntax +//@[0:1) At |@| +//@[1:18) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:17) FunctionArgumentSyntax +//@[10:17) StringSyntax +//@[10:17) StringComplete |'wrong'| +//@[17:18) RightParen |)| +//@[18:19) NewLine |\n| +param wrongIntModifierWithDecorator int = true +//@[0:5) Identifier |param| +//@[6:35) IdentifierSyntax +//@[6:35) Identifier |wrongIntModifierWithDecorator| +//@[36:39) TypeSyntax +//@[36:39) Identifier |int| +//@[40:46) ParameterDefaultValueSyntax +//@[40:41) Assignment |=| +//@[42:46) BooleanLiteralSyntax +//@[42:46) TrueKeyword |true| +//@[46:48) NewLine |\n\n| + // wrong metadata schema //@[24:25) NewLine |\n| param wrongMetadataSchema string { @@ -785,6 +940,38 @@ param wrongMetadataSchema string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@metadata({ +//@[0:80) ParameterDeclarationSyntax +//@[0:34) DecoratorSyntax +//@[0:1) At |@| +//@[1:34) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:33) FunctionArgumentSyntax +//@[10:33) ObjectSyntax +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| + description: true +//@[2:19) ObjectPropertySyntax +//@[2:13) IdentifierSyntax +//@[2:13) Identifier |description| +//@[13:14) Colon |:| +//@[15:19) BooleanLiteralSyntax +//@[15:19) TrueKeyword |true| +//@[19:20) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param wrongMetadataSchemaWithDecorator string +//@[0:5) Identifier |param| +//@[6:38) IdentifierSyntax +//@[6:38) Identifier |wrongMetadataSchemaWithDecorator| +//@[39:45) TypeSyntax +//@[39:45) Identifier |string| +//@[45:47) NewLine |\n\n| + // expression in modifier //@[25:26) NewLine |\n| param expressionInModifier string { @@ -856,6 +1043,76 @@ param expressionInModifier string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@maxLength(a + 2) +//@[0:108) ParameterDeclarationSyntax +//@[0:17) DecoratorSyntax +//@[0:1) At |@| +//@[1:17) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:16) FunctionArgumentSyntax +//@[11:16) BinaryOperationSyntax +//@[11:12) VariableAccessSyntax +//@[11:12) IdentifierSyntax +//@[11:12) Identifier |a| +//@[13:14) Plus |+| +//@[15:16) IntegerLiteralSyntax +//@[15:16) Integer |2| +//@[16:17) RightParen |)| +//@[17:18) NewLine |\n| +@minLength(foo()) +//@[0:17) DecoratorSyntax +//@[0:1) At |@| +//@[1:17) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:16) FunctionArgumentSyntax +//@[11:16) FunctionCallSyntax +//@[11:14) IdentifierSyntax +//@[11:14) Identifier |foo| +//@[14:15) LeftParen |(| +//@[15:16) RightParen |)| +//@[16:17) RightParen |)| +//@[17:18) NewLine |\n| +@allowed([ +//@[0:17) DecoratorSyntax +//@[0:1) At |@| +//@[1:17) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:16) FunctionArgumentSyntax +//@[9:16) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + i +//@[2:3) ArrayItemSyntax +//@[2:3) VariableAccessSyntax +//@[2:3) IdentifierSyntax +//@[2:3) Identifier |i| +//@[3:4) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param expressionInModifierWithDecorator string = 2 + 3 +//@[0:5) Identifier |param| +//@[6:39) IdentifierSyntax +//@[6:39) Identifier |expressionInModifierWithDecorator| +//@[40:46) TypeSyntax +//@[40:46) Identifier |string| +//@[47:54) ParameterDefaultValueSyntax +//@[47:48) Assignment |=| +//@[49:54) BinaryOperationSyntax +//@[49:50) IntegerLiteralSyntax +//@[49:50) Integer |2| +//@[51:52) Plus |+| +//@[53:54) IntegerLiteralSyntax +//@[53:54) Integer |3| +//@[54:56) NewLine |\n\n| + param nonCompileTimeConstant string { //@[0:122) ParameterDeclarationSyntax //@[0:5) Identifier |param| @@ -920,6 +1177,78 @@ param nonCompileTimeConstant string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@maxLength(2 + 3) +//@[0:124) ParameterDeclarationSyntax +//@[0:17) DecoratorSyntax +//@[0:1) At |@| +//@[1:17) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:16) FunctionArgumentSyntax +//@[11:16) BinaryOperationSyntax +//@[11:12) IntegerLiteralSyntax +//@[11:12) Integer |2| +//@[13:14) Plus |+| +//@[15:16) IntegerLiteralSyntax +//@[15:16) Integer |3| +//@[16:17) RightParen |)| +//@[17:18) NewLine |\n| +@minLength(length([])) +//@[0:22) DecoratorSyntax +//@[0:1) At |@| +//@[1:22) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:21) FunctionArgumentSyntax +//@[11:21) FunctionCallSyntax +//@[11:17) IdentifierSyntax +//@[11:17) Identifier |length| +//@[17:18) LeftParen |(| +//@[18:20) FunctionArgumentSyntax +//@[18:20) ArraySyntax +//@[18:19) LeftSquare |[| +//@[19:20) RightSquare |]| +//@[20:21) RightParen |)| +//@[21:22) RightParen |)| +//@[22:23) NewLine |\n| +@allowed([ +//@[0:34) DecoratorSyntax +//@[0:1) At |@| +//@[1:34) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:33) FunctionArgumentSyntax +//@[9:33) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + resourceGroup().id +//@[2:20) ArrayItemSyntax +//@[2:20) PropertyAccessSyntax +//@[2:17) FunctionCallSyntax +//@[2:15) IdentifierSyntax +//@[2:15) Identifier |resourceGroup| +//@[15:16) LeftParen |(| +//@[16:17) RightParen |)| +//@[17:18) Dot |.| +//@[18:20) IdentifierSyntax +//@[18:20) Identifier |id| +//@[20:21) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param nonCompileTimeConstantWithDecorator string +//@[0:5) Identifier |param| +//@[6:41) IdentifierSyntax +//@[6:41) Identifier |nonCompileTimeConstantWithDecorator| +//@[42:48) TypeSyntax +//@[42:48) Identifier |string| +//@[48:51) NewLine |\n\n\n| + + param emptyAllowedString string { //@[0:49) ParameterDeclarationSyntax //@[0:5) Identifier |param| @@ -943,6 +1272,28 @@ param emptyAllowedString string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@allowed([]) +//@[0:57) ParameterDeclarationSyntax +//@[0:12) DecoratorSyntax +//@[0:1) At |@| +//@[1:12) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:11) FunctionArgumentSyntax +//@[9:11) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:11) RightSquare |]| +//@[11:12) RightParen |)| +//@[12:13) NewLine |\n| +param emptyAllowedStringWithDecorator string +//@[0:5) Identifier |param| +//@[6:37) IdentifierSyntax +//@[6:37) Identifier |emptyAllowedStringWithDecorator| +//@[38:44) TypeSyntax +//@[38:44) Identifier |string| +//@[44:46) NewLine |\n\n| + param emptyAllowedInt int { //@[0:43) ParameterDeclarationSyntax //@[0:5) Identifier |param| @@ -966,6 +1317,28 @@ param emptyAllowedInt int { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@allowed([]) +//@[0:51) ParameterDeclarationSyntax +//@[0:12) DecoratorSyntax +//@[0:1) At |@| +//@[1:12) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:11) FunctionArgumentSyntax +//@[9:11) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:11) RightSquare |]| +//@[11:12) RightParen |)| +//@[12:13) NewLine |\n| +param emptyAllowedIntWithDecorator int +//@[0:5) Identifier |param| +//@[6:34) IdentifierSyntax +//@[6:34) Identifier |emptyAllowedIntWithDecorator| +//@[35:38) TypeSyntax +//@[35:38) Identifier |int| +//@[38:40) NewLine |\n\n| + // 1-cycle in params //@[20:21) NewLine |\n| param paramDefaultOneCycle string = paramDefaultOneCycle @@ -1069,6 +1442,36 @@ param paramModifierSelfCycle string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@allowed([ +//@[0:100) ParameterDeclarationSyntax +//@[0:51) DecoratorSyntax +//@[0:1) At |@| +//@[1:51) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:50) FunctionArgumentSyntax +//@[9:50) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + paramModifierSelfCycleWithDecorator +//@[2:37) ArrayItemSyntax +//@[2:37) VariableAccessSyntax +//@[2:37) IdentifierSyntax +//@[2:37) Identifier |paramModifierSelfCycleWithDecorator| +//@[37:38) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param paramModifierSelfCycleWithDecorator string +//@[0:5) Identifier |param| +//@[6:41) IdentifierSyntax +//@[6:41) Identifier |paramModifierSelfCycleWithDecorator| +//@[42:48) TypeSyntax +//@[42:48) Identifier |string| +//@[48:50) NewLine |\n\n| + // 2-cycle in modifier params //@[29:30) NewLine |\n| param paramModifierTwoCycle1 string { @@ -1665,6 +2068,65 @@ param commaOne string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@metadata({ +//@[0:121) ParameterDeclarationSyntax +//@[0:55) DecoratorSyntax +//@[0:1) At |@| +//@[1:55) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:54) FunctionArgumentSyntax +//@[10:54) ObjectSyntax +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| + description: 'Name of Virtual Machine' +//@[2:40) ObjectPropertySyntax +//@[2:13) IdentifierSyntax +//@[2:13) Identifier |description| +//@[13:14) Colon |:| +//@[15:40) StringSyntax +//@[15:40) StringComplete |'Name of Virtual Machine'| +//@[40:41) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +@allowed([ +//@[0:30) DecoratorSyntax +//@[0:1) At |@| +//@[1:30) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:29) FunctionArgumentSyntax +//@[9:29) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + 'abc', +//@[2:7) ArrayItemSyntax +//@[2:7) StringSyntax +//@[2:7) StringComplete |'abc'| +//@[7:8) SkippedTriviaSyntax +//@[7:8) Comma |,| +//@[8:9) NewLine |\n| + 'def' +//@[2:7) ArrayItemSyntax +//@[2:7) StringSyntax +//@[2:7) StringComplete |'def'| +//@[7:8) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param commaOneWithDecorator string +//@[0:5) Identifier |param| +//@[6:27) IdentifierSyntax +//@[6:27) Identifier |commaOneWithDecorator| +//@[28:34) TypeSyntax +//@[28:34) Identifier |string| +//@[34:36) NewLine |\n\n| + // invalid comma separator (object) //@[35:36) NewLine |\n| param commaTwo string { @@ -1739,6 +2201,237 @@ param commaTwo string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@secure +//@[0:51) ParameterDeclarationSyntax +//@[0:7) DecoratorSyntax +//@[0:1) At |@| +//@[1:7) VariableAccessSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) NewLine |\n| +@ +//@[0:1) DecoratorSyntax +//@[0:1) At |@| +//@[1:1) SkippedTriviaSyntax +//@[1:2) NewLine |\n| +@&& xxx +//@[0:7) DecoratorSyntax +//@[0:1) At |@| +//@[1:7) SkippedTriviaSyntax +//@[1:3) LogicalAnd |&&| +//@[4:7) Identifier |xxx| +//@[7:8) NewLine |\n| +param incompleteDecorators string +//@[0:5) Identifier |param| +//@[6:26) IdentifierSyntax +//@[6:26) Identifier |incompleteDecorators| +//@[27:33) TypeSyntax +//@[27:33) Identifier |string| +//@[33:35) NewLine |\n\n| + +@concat(1, 2) +//@[0:67) MissingDeclarationSyntax +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |concat| +//@[7:8) LeftParen |(| +//@[8:10) FunctionArgumentSyntax +//@[8:9) IntegerLiteralSyntax +//@[8:9) Integer |1| +//@[9:10) Comma |,| +//@[11:12) FunctionArgumentSyntax +//@[11:12) IntegerLiteralSyntax +//@[11:12) Integer |2| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +@sys.concat('a', 'b') +//@[0:21) DecoratorSyntax +//@[0:1) At |@| +//@[1:21) InstanceFunctionCallSyntax +//@[1:4) VariableAccessSyntax +//@[1:4) IdentifierSyntax +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:11) IdentifierSyntax +//@[5:11) Identifier |concat| +//@[11:12) LeftParen |(| +//@[12:16) FunctionArgumentSyntax +//@[12:15) StringSyntax +//@[12:15) StringComplete |'a'| +//@[15:16) Comma |,| +//@[17:20) FunctionArgumentSyntax +//@[17:20) StringSyntax +//@[17:20) StringComplete |'b'| +//@[20:21) RightParen |)| +//@[21:22) NewLine |\n| +@secure() +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +// wrong target type +//@[20:21) NewLine |\n| +@minValue(20) +//@[0:109) ParameterDeclarationSyntax +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |minValue| +//@[9:10) LeftParen |(| +//@[10:12) FunctionArgumentSyntax +//@[10:12) IntegerLiteralSyntax +//@[10:12) Integer |20| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +param someString string { +//@[0:5) Identifier |param| +//@[6:16) IdentifierSyntax +//@[6:16) Identifier |someString| +//@[17:23) TypeSyntax +//@[17:23) Identifier |string| +//@[24:95) ObjectSyntax +//@[24:25) LeftBrace |{| +//@[25:26) NewLine |\n| + // using decorators and modifier at the same time +//@[50:51) NewLine |\n| + secure: true +//@[4:16) ObjectPropertySyntax +//@[4:10) IdentifierSyntax +//@[4:10) Identifier |secure| +//@[10:11) Colon |:| +//@[12:16) BooleanLiteralSyntax +//@[12:16) TrueKeyword |true| +//@[16:17) NewLine |\n| +} +//@[0:1) RightBrace |}| +//@[1:3) NewLine |\n\n| + +@allowed([ +//@[0:76) ParameterDeclarationSyntax +//@[0:39) DecoratorSyntax +//@[0:1) At |@| +//@[1:39) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:38) FunctionArgumentSyntax +//@[9:38) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + true +//@[4:8) ArrayItemSyntax +//@[4:8) BooleanLiteralSyntax +//@[4:8) TrueKeyword |true| +//@[8:9) NewLine |\n| + 10 +//@[4:6) ArrayItemSyntax +//@[4:6) IntegerLiteralSyntax +//@[4:6) Integer |10| +//@[6:7) NewLine |\n| + 'foo' +//@[4:9) ArrayItemSyntax +//@[4:9) StringSyntax +//@[4:9) StringComplete |'foo'| +//@[9:10) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +@secure() +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +param someInteger int = 20 +//@[0:5) Identifier |param| +//@[6:17) IdentifierSyntax +//@[6:17) Identifier |someInteger| +//@[18:21) TypeSyntax +//@[18:21) Identifier |int| +//@[22:26) ParameterDefaultValueSyntax +//@[22:23) Assignment |=| +//@[24:26) IntegerLiteralSyntax +//@[24:26) Integer |20| +//@[26:28) NewLine |\n\n| + +@allowed([], [], 2) +//@[0:52) ParameterDeclarationSyntax +//@[0:19) DecoratorSyntax +//@[0:1) At |@| +//@[1:19) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:12) FunctionArgumentSyntax +//@[9:11) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:11) RightSquare |]| +//@[11:12) Comma |,| +//@[13:16) FunctionArgumentSyntax +//@[13:15) ArraySyntax +//@[13:14) LeftSquare |[| +//@[14:15) RightSquare |]| +//@[15:16) Comma |,| +//@[17:18) FunctionArgumentSyntax +//@[17:18) IntegerLiteralSyntax +//@[17:18) Integer |2| +//@[18:19) RightParen |)| +//@[19:20) NewLine |\n| +param tooManyArguments1 int = 20 +//@[0:5) Identifier |param| +//@[6:23) IdentifierSyntax +//@[6:23) Identifier |tooManyArguments1| +//@[24:27) TypeSyntax +//@[24:27) Identifier |int| +//@[28:32) ParameterDefaultValueSyntax +//@[28:29) Assignment |=| +//@[30:32) IntegerLiteralSyntax +//@[30:32) Integer |20| +//@[32:34) NewLine |\n\n| + +@metadata({}, {}, true) +//@[0:54) ParameterDeclarationSyntax +//@[0:23) DecoratorSyntax +//@[0:1) At |@| +//@[1:23) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:13) FunctionArgumentSyntax +//@[10:12) ObjectSyntax +//@[10:11) LeftBrace |{| +//@[11:12) RightBrace |}| +//@[12:13) Comma |,| +//@[14:17) FunctionArgumentSyntax +//@[14:16) ObjectSyntax +//@[14:15) LeftBrace |{| +//@[15:16) RightBrace |}| +//@[16:17) Comma |,| +//@[18:22) FunctionArgumentSyntax +//@[18:22) BooleanLiteralSyntax +//@[18:22) TrueKeyword |true| +//@[22:23) RightParen |)| +//@[23:24) NewLine |\n| +param tooManyArguments2 string +//@[0:5) Identifier |param| +//@[6:23) IdentifierSyntax +//@[6:23) Identifier |tooManyArguments2| +//@[24:30) TypeSyntax +//@[24:30) Identifier |string| +//@[30:33) NewLine |\n\n\n| + + // unterminated multi-line comment //@[34:35) NewLine |\n| /* diff --git a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.tokens.bicep b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.tokens.bicep index a8a23215e4f..a39fec67f67 100644 --- a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.tokens.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/main.tokens.bicep @@ -382,6 +382,26 @@ param someArray arra { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@minLength(3) +//@[0:1) At |@| +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +@maxLength(24) +//@[0:1) At |@| +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) Integer |24| +//@[13:14) RightParen |)| +//@[14:15) NewLine |\n| +param someArrayWithDecorator arra +//@[0:5) Identifier |param| +//@[6:28) Identifier |someArrayWithDecorator| +//@[29:33) Identifier |arra| +//@[33:35) NewLine |\n\n| + // duplicate modifier property //@[30:31) NewLine |\n| param duplicatedModifierProperty string { @@ -431,6 +451,32 @@ param secureInt int { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +@minLength(3) +//@[0:1) At |@| +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +@maxLength(123) +//@[0:1) At |@| +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:14) Integer |123| +//@[14:15) RightParen |)| +//@[15:16) NewLine |\n| +param secureIntWithDecorator int +//@[0:5) Identifier |param| +//@[6:28) Identifier |secureIntWithDecorator| +//@[29:32) Identifier |int| +//@[32:34) NewLine |\n\n| + // wrong modifier value types //@[29:30) NewLine |\n| param wrongIntModifier int { @@ -483,6 +529,57 @@ param wrongIntModifier int { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@allowed([ +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + 'test' +//@[2:8) StringComplete |'test'| +//@[8:9) NewLine |\n| + true +//@[2:6) TrueKeyword |true| +//@[6:7) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +@minValue({ +//@[0:1) At |@| +//@[1:9) Identifier |minValue| +//@[9:10) LeftParen |(| +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +@maxValue([ +//@[0:1) At |@| +//@[1:9) Identifier |maxValue| +//@[9:10) LeftParen |(| +//@[10:11) LeftSquare |[| +//@[11:12) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +@metadata('wrong') +//@[0:1) At |@| +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:17) StringComplete |'wrong'| +//@[17:18) RightParen |)| +//@[18:19) NewLine |\n| +param wrongIntModifierWithDecorator int = true +//@[0:5) Identifier |param| +//@[6:35) Identifier |wrongIntModifierWithDecorator| +//@[36:39) Identifier |int| +//@[40:41) Assignment |=| +//@[42:46) TrueKeyword |true| +//@[46:48) NewLine |\n\n| + // wrong metadata schema //@[24:25) NewLine |\n| param wrongMetadataSchema string { @@ -508,6 +605,27 @@ param wrongMetadataSchema string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@metadata({ +//@[0:1) At |@| +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| + description: true +//@[2:13) Identifier |description| +//@[13:14) Colon |:| +//@[15:19) TrueKeyword |true| +//@[19:20) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param wrongMetadataSchemaWithDecorator string +//@[0:5) Identifier |param| +//@[6:38) Identifier |wrongMetadataSchemaWithDecorator| +//@[39:45) Identifier |string| +//@[45:47) NewLine |\n\n| + // expression in modifier //@[25:26) NewLine |\n| param expressionInModifier string { @@ -554,6 +672,47 @@ param expressionInModifier string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@maxLength(a + 2) +//@[0:1) At |@| +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:12) Identifier |a| +//@[13:14) Plus |+| +//@[15:16) Integer |2| +//@[16:17) RightParen |)| +//@[17:18) NewLine |\n| +@minLength(foo()) +//@[0:1) At |@| +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:14) Identifier |foo| +//@[14:15) LeftParen |(| +//@[15:16) RightParen |)| +//@[16:17) RightParen |)| +//@[17:18) NewLine |\n| +@allowed([ +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + i +//@[2:3) Identifier |i| +//@[3:4) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param expressionInModifierWithDecorator string = 2 + 3 +//@[0:5) Identifier |param| +//@[6:39) Identifier |expressionInModifierWithDecorator| +//@[40:46) Identifier |string| +//@[47:48) Assignment |=| +//@[49:50) Integer |2| +//@[51:52) Plus |+| +//@[53:54) Integer |3| +//@[54:56) NewLine |\n\n| + param nonCompileTimeConstant string { //@[0:5) Identifier |param| //@[6:28) Identifier |nonCompileTimeConstant| @@ -595,6 +754,50 @@ param nonCompileTimeConstant string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@maxLength(2 + 3) +//@[0:1) At |@| +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:12) Integer |2| +//@[13:14) Plus |+| +//@[15:16) Integer |3| +//@[16:17) RightParen |)| +//@[17:18) NewLine |\n| +@minLength(length([])) +//@[0:1) At |@| +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:17) Identifier |length| +//@[17:18) LeftParen |(| +//@[18:19) LeftSquare |[| +//@[19:20) RightSquare |]| +//@[20:21) RightParen |)| +//@[21:22) RightParen |)| +//@[22:23) NewLine |\n| +@allowed([ +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + resourceGroup().id +//@[2:15) Identifier |resourceGroup| +//@[15:16) LeftParen |(| +//@[16:17) RightParen |)| +//@[17:18) Dot |.| +//@[18:20) Identifier |id| +//@[20:21) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param nonCompileTimeConstantWithDecorator string +//@[0:5) Identifier |param| +//@[6:41) Identifier |nonCompileTimeConstantWithDecorator| +//@[42:48) Identifier |string| +//@[48:51) NewLine |\n\n\n| + + param emptyAllowedString string { //@[0:5) Identifier |param| //@[6:24) Identifier |emptyAllowedString| @@ -611,6 +814,20 @@ param emptyAllowedString string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@allowed([]) +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:11) RightSquare |]| +//@[11:12) RightParen |)| +//@[12:13) NewLine |\n| +param emptyAllowedStringWithDecorator string +//@[0:5) Identifier |param| +//@[6:37) Identifier |emptyAllowedStringWithDecorator| +//@[38:44) Identifier |string| +//@[44:46) NewLine |\n\n| + param emptyAllowedInt int { //@[0:5) Identifier |param| //@[6:21) Identifier |emptyAllowedInt| @@ -627,6 +844,20 @@ param emptyAllowedInt int { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@allowed([]) +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:11) RightSquare |]| +//@[11:12) RightParen |)| +//@[12:13) NewLine |\n| +param emptyAllowedIntWithDecorator int +//@[0:5) Identifier |param| +//@[6:34) Identifier |emptyAllowedIntWithDecorator| +//@[35:38) Identifier |int| +//@[38:40) NewLine |\n\n| + // 1-cycle in params //@[20:21) NewLine |\n| param paramDefaultOneCycle string = paramDefaultOneCycle @@ -694,6 +925,25 @@ param paramModifierSelfCycle string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@allowed([ +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + paramModifierSelfCycleWithDecorator +//@[2:37) Identifier |paramModifierSelfCycleWithDecorator| +//@[37:38) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param paramModifierSelfCycleWithDecorator string +//@[0:5) Identifier |param| +//@[6:41) Identifier |paramModifierSelfCycleWithDecorator| +//@[42:48) Identifier |string| +//@[48:50) NewLine |\n\n| + // 2-cycle in modifier params //@[29:30) NewLine |\n| param paramModifierTwoCycle1 string { @@ -1091,6 +1341,44 @@ param commaOne string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@metadata({ +//@[0:1) At |@| +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| + description: 'Name of Virtual Machine' +//@[2:13) Identifier |description| +//@[13:14) Colon |:| +//@[15:40) StringComplete |'Name of Virtual Machine'| +//@[40:41) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +@allowed([ +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + 'abc', +//@[2:7) StringComplete |'abc'| +//@[7:8) Comma |,| +//@[8:9) NewLine |\n| + 'def' +//@[2:7) StringComplete |'def'| +//@[7:8) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param commaOneWithDecorator string +//@[0:5) Identifier |param| +//@[6:27) Identifier |commaOneWithDecorator| +//@[28:34) Identifier |string| +//@[34:36) NewLine |\n\n| + // invalid comma separator (object) //@[35:36) NewLine |\n| param commaTwo string { @@ -1141,6 +1429,150 @@ param commaTwo string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@secure +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) NewLine |\n| +@ +//@[0:1) At |@| +//@[1:2) NewLine |\n| +@&& xxx +//@[0:1) At |@| +//@[1:3) LogicalAnd |&&| +//@[4:7) Identifier |xxx| +//@[7:8) NewLine |\n| +param incompleteDecorators string +//@[0:5) Identifier |param| +//@[6:26) Identifier |incompleteDecorators| +//@[27:33) Identifier |string| +//@[33:35) NewLine |\n\n| + +@concat(1, 2) +//@[0:1) At |@| +//@[1:7) Identifier |concat| +//@[7:8) LeftParen |(| +//@[8:9) Integer |1| +//@[9:10) Comma |,| +//@[11:12) Integer |2| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +@sys.concat('a', 'b') +//@[0:1) At |@| +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:11) Identifier |concat| +//@[11:12) LeftParen |(| +//@[12:15) StringComplete |'a'| +//@[15:16) Comma |,| +//@[17:20) StringComplete |'b'| +//@[20:21) RightParen |)| +//@[21:22) NewLine |\n| +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +// wrong target type +//@[20:21) NewLine |\n| +@minValue(20) +//@[0:1) At |@| +//@[1:9) Identifier |minValue| +//@[9:10) LeftParen |(| +//@[10:12) Integer |20| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +param someString string { +//@[0:5) Identifier |param| +//@[6:16) Identifier |someString| +//@[17:23) Identifier |string| +//@[24:25) LeftBrace |{| +//@[25:26) NewLine |\n| + // using decorators and modifier at the same time +//@[50:51) NewLine |\n| + secure: true +//@[4:10) Identifier |secure| +//@[10:11) Colon |:| +//@[12:16) TrueKeyword |true| +//@[16:17) NewLine |\n| +} +//@[0:1) RightBrace |}| +//@[1:3) NewLine |\n\n| + +@allowed([ +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + true +//@[4:8) TrueKeyword |true| +//@[8:9) NewLine |\n| + 10 +//@[4:6) Integer |10| +//@[6:7) NewLine |\n| + 'foo' +//@[4:9) StringComplete |'foo'| +//@[9:10) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +param someInteger int = 20 +//@[0:5) Identifier |param| +//@[6:17) Identifier |someInteger| +//@[18:21) Identifier |int| +//@[22:23) Assignment |=| +//@[24:26) Integer |20| +//@[26:28) NewLine |\n\n| + +@allowed([], [], 2) +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:11) RightSquare |]| +//@[11:12) Comma |,| +//@[13:14) LeftSquare |[| +//@[14:15) RightSquare |]| +//@[15:16) Comma |,| +//@[17:18) Integer |2| +//@[18:19) RightParen |)| +//@[19:20) NewLine |\n| +param tooManyArguments1 int = 20 +//@[0:5) Identifier |param| +//@[6:23) Identifier |tooManyArguments1| +//@[24:27) Identifier |int| +//@[28:29) Assignment |=| +//@[30:32) Integer |20| +//@[32:34) NewLine |\n\n| + +@metadata({}, {}, true) +//@[0:1) At |@| +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:11) LeftBrace |{| +//@[11:12) RightBrace |}| +//@[12:13) Comma |,| +//@[14:15) LeftBrace |{| +//@[15:16) RightBrace |}| +//@[16:17) Comma |,| +//@[18:22) TrueKeyword |true| +//@[22:23) RightParen |)| +//@[23:24) NewLine |\n| +param tooManyArguments2 string +//@[0:5) Identifier |param| +//@[6:23) Identifier |tooManyArguments2| +//@[24:30) Identifier |string| +//@[30:33) NewLine |\n\n\n| + + // unterminated multi-line comment //@[34:35) NewLine |\n| /* diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/arrayPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/arrayPlusSymbols.json index 83f22b7c513..2726781fa9b 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/arrayPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/arrayPlusSymbols.json @@ -1,2331 +1,2345 @@ -[ - { - "label": "[]", - "kind": "value", - "detail": "[]", - "deprecated": false, - "preselect": true, - "sortText": "1_[]", - "insertTextFormat": "snippet", - "insertTextMode": "adjustIndentation", - "textEdit": { - "range": {}, - "newText": "[\n\t$0\n]" - } - }, - { - "label": "any", - "kind": "function", - "detail": "any()", - "deprecated": false, - "preselect": false, - "sortText": "3_any", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "any($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "array", - "kind": "function", - "detail": "array()", - "deprecated": false, - "preselect": false, - "sortText": "3_array", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "array($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "az", - "kind": "folder", - "detail": "az", - "deprecated": false, - "preselect": false, - "sortText": "3_az", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "az" - } - }, - { - "label": "badDepends", - "kind": "interface", - "detail": "badDepends", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends" - } - }, - { - "label": "badDepends2", - "kind": "interface", - "detail": "badDepends2", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends2" - } - }, - { - "label": "badDepends3", - "kind": "interface", - "detail": "badDepends3", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends3" - } - }, - { - "label": "badDepends4", - "kind": "interface", - "detail": "badDepends4", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends4" - } - }, - { - "label": "badDepends5", - "kind": "interface", - "detail": "badDepends5", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends5" - } - }, - { - "label": "badInterp", - "kind": "interface", - "detail": "badInterp", - "deprecated": false, - "preselect": false, - "sortText": "2_badInterp", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badInterp" - } - }, - { - "label": "bar", - "kind": "interface", - "detail": "bar", - "deprecated": false, - "preselect": false, - "sortText": "2_bar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bar" - } - }, - { - "label": "base64", - "kind": "function", - "detail": "base64()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToJson", - "kind": "function", - "detail": "base64ToJson()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToJson", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToJson($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToString", - "kind": "function", - "detail": "base64ToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "baz", - "kind": "interface", - "detail": "baz", - "deprecated": false, - "preselect": false, - "sortText": "2_baz", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "baz" - } - }, - { - "label": "bool", - "kind": "function", - "detail": "bool()", - "deprecated": false, - "preselect": false, - "sortText": "3_bool", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bool($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "coalesce", - "kind": "function", - "detail": "coalesce()", - "deprecated": false, - "preselect": false, - "sortText": "3_coalesce", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "coalesce($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "concat", - "kind": "function", - "detail": "concat()", - "deprecated": false, - "preselect": false, - "sortText": "3_concat", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "concat($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "contains", - "kind": "function", - "detail": "contains()", - "deprecated": false, - "preselect": false, - "sortText": "3_contains", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "contains($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dashesInPropertyNames", - "kind": "interface", - "detail": "dashesInPropertyNames", - "deprecated": false, - "preselect": false, - "sortText": "2_dashesInPropertyNames", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dashesInPropertyNames" - } - }, - { - "label": "dataUri", - "kind": "function", - "detail": "dataUri()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dataUriToString", - "kind": "function", - "detail": "dataUriToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUriToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUriToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dateTimeAdd", - "kind": "function", - "detail": "dateTimeAdd()", - "deprecated": false, - "preselect": false, - "sortText": "3_dateTimeAdd", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dateTimeAdd($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "deployment", - "kind": "function", - "detail": "deployment()", - "deprecated": false, - "preselect": false, - "sortText": "3_deployment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "deployment()$0" - } - }, - { - "label": "discriminatorKeyMissing", - "kind": "interface", - "detail": "discriminatorKeyMissing", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyMissing", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyMissing" - } - }, - { - "label": "discriminatorKeySetOne", - "kind": "interface", - "detail": "discriminatorKeySetOne", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOne", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOne" - } - }, - { - "label": "discriminatorKeySetOneCompletions", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions" - } - }, - { - "label": "discriminatorKeySetOneCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions2" - } - }, - { - "label": "discriminatorKeySetOneCompletions3", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions3" - } - }, - { - "label": "discriminatorKeySetTwo", - "kind": "interface", - "detail": "discriminatorKeySetTwo", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwo" - } - }, - { - "label": "discriminatorKeySetTwoCompletions", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions" - } - }, - { - "label": "discriminatorKeySetTwoCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions2" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" - } - }, - { - "label": "discriminatorKeyValueMissing", - "kind": "interface", - "detail": "discriminatorKeyValueMissing", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissing", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissing" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions2", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions2" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions3", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions3" - } - }, - { - "label": "empty", - "kind": "function", - "detail": "empty()", - "deprecated": false, - "preselect": false, - "sortText": "3_empty", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "empty($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "endsWith", - "kind": "function", - "detail": "endsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_endsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "endsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "environment", - "kind": "function", - "detail": "environment()", - "deprecated": false, - "preselect": false, - "sortText": "3_environment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "environment()$0" - } - }, - { - "label": "extensionResourceId", - "kind": "function", - "detail": "extensionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_extensionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "extensionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "first", - "kind": "function", - "detail": "first()", - "deprecated": false, - "preselect": false, - "sortText": "3_first", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "first($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "fo", - "kind": "interface", - "detail": "fo", - "deprecated": false, - "preselect": false, - "sortText": "2_fo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "fo" - } - }, - { - "label": "foo", - "kind": "interface", - "detail": "foo", - "deprecated": false, - "preselect": false, - "sortText": "2_foo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "foo" - } - }, - { - "label": "format", - "kind": "function", - "detail": "format()", - "deprecated": false, - "preselect": false, - "sortText": "3_format", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "format($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "guid", - "kind": "function", - "detail": "guid()", - "deprecated": false, - "preselect": false, - "sortText": "3_guid", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "guid($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "incorrectPropertiesKey", - "kind": "interface", - "detail": "incorrectPropertiesKey", - "deprecated": false, - "preselect": false, - "sortText": "2_incorrectPropertiesKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "incorrectPropertiesKey" - } - }, - { - "label": "indexOf", - "kind": "function", - "detail": "indexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_indexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "indexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "int", - "kind": "function", - "detail": "int()", - "deprecated": false, - "preselect": false, - "sortText": "3_int", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "int($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "interpVal", - "kind": "variable", - "detail": "interpVal", - "deprecated": false, - "preselect": false, - "sortText": "2_interpVal", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "interpVal" - } - }, - { - "label": "intersection", - "kind": "function", - "detail": "intersection()", - "deprecated": false, - "preselect": false, - "sortText": "3_intersection", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "intersection($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "invalidDuplicateName1", - "kind": "interface", - "detail": "invalidDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName1" - } - }, - { - "label": "invalidDuplicateName2", - "kind": "interface", - "detail": "invalidDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName2" - } - }, - { - "label": "invalidDuplicateName3", - "kind": "interface", - "detail": "invalidDuplicateName3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName3" - } - }, - { - "label": "invalidExtensionResourceDuplicateName1", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName1" - } - }, - { - "label": "invalidExtensionResourceDuplicateName2", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName2" - } - }, - { - "label": "invalidScope", - "kind": "interface", - "detail": "invalidScope", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope" - } - }, - { - "label": "invalidScope2", - "kind": "interface", - "detail": "invalidScope2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope2" - } - }, - { - "label": "invalidScope3", - "kind": "interface", - "detail": "invalidScope3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope3" - } - }, - { - "label": "json", - "kind": "function", - "detail": "json()", - "deprecated": false, - "preselect": false, - "sortText": "3_json", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "json($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "last", - "kind": "function", - "detail": "last()", - "deprecated": false, - "preselect": false, - "sortText": "3_last", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "last($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "lastIndexOf", - "kind": "function", - "detail": "lastIndexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_lastIndexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "lastIndexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "length", - "kind": "function", - "detail": "length()", - "deprecated": false, - "preselect": false, - "sortText": "3_length", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "length($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "letsAccessTheDashes", - "kind": "variable", - "detail": "letsAccessTheDashes", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes" - } - }, - { - "label": "letsAccessTheDashes2", - "kind": "variable", - "detail": "letsAccessTheDashes2", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes2" - } - }, - { - "label": "listKeys", - "kind": "function", - "detail": "listKeys()", - "deprecated": false, - "preselect": false, - "sortText": "3_listKeys", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "listKeys($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "magicString1", - "kind": "variable", - "detail": "magicString1", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString1" - } - }, - { - "label": "magicString2", - "kind": "variable", - "detail": "magicString2", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString2" - } - }, - { - "label": "max", - "kind": "function", - "detail": "max()", - "deprecated": false, - "preselect": false, - "sortText": "3_max", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "max($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "min", - "kind": "function", - "detail": "min()", - "deprecated": false, - "preselect": false, - "sortText": "3_min", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "min($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "missingTopLevelProperties", - "kind": "interface", - "detail": "missingTopLevelProperties", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelProperties", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelProperties" - } - }, - { - "label": "missingTopLevelPropertiesExceptName", - "kind": "interface", - "detail": "missingTopLevelPropertiesExceptName", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelPropertiesExceptName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelPropertiesExceptName" - } - }, - { - "label": "missingType", - "kind": "interface", - "detail": "missingType", - "deprecated": false, - "preselect": false, - "sortText": "2_missingType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingType" - } - }, - { - "label": "mock", - "kind": "variable", - "detail": "mock", - "deprecated": false, - "preselect": false, - "sortText": "2_mock", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "mock" - } - }, - { - "label": "nestedDiscriminator", - "kind": "interface", - "detail": "nestedDiscriminator", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminator", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminator" - } - }, - { - "label": "nestedDiscriminatorArrayIndexCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorArrayIndexCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorArrayIndexCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorArrayIndexCompletions" - } - }, - { - "label": "nestedDiscriminatorCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions" - } - }, - { - "label": "nestedDiscriminatorCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions2" - } - }, - { - "label": "nestedDiscriminatorCompletions3", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions3" - } - }, - { - "label": "nestedDiscriminatorCompletions4", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions4", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions4" - } - }, - { - "label": "nestedDiscriminatorMissingKey", - "kind": "interface", - "detail": "nestedDiscriminatorMissingKey", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKey" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions2" - } - }, - { - "label": "nestedDiscriminatorMissingKeyIndexCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyIndexCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyIndexCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyIndexCompletions" - } - }, - { - "label": "notAResource", - "kind": "variable", - "detail": "notAResource", - "deprecated": false, - "preselect": false, - "sortText": "2_notAResource", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "notAResource" - } - }, - { - "label": "padLeft", - "kind": "function", - "detail": "padLeft()", - "deprecated": false, - "preselect": false, - "sortText": "3_padLeft", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "padLeft($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "pickZones", - "kind": "function", - "detail": "pickZones()", - "deprecated": false, - "preselect": false, - "sortText": "3_pickZones", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "pickZones($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "providers", - "kind": "function", - "detail": "providers()", - "deprecated": false, - "preselect": false, - "sortText": "3_providers", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "providers($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "range", - "kind": "function", - "detail": "range()", - "deprecated": false, - "preselect": false, - "sortText": "3_range", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "range($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "reference", - "kind": "function", - "detail": "reference()", - "deprecated": false, - "preselect": false, - "sortText": "3_reference", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "reference($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "replace", - "kind": "function", - "detail": "replace()", - "deprecated": false, - "preselect": false, - "sortText": "3_replace", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "replace($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceGroup", - "kind": "function", - "detail": "resourceGroup()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceGroup", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceGroup($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceId", - "kind": "function", - "detail": "resourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resrefpar", - "kind": "field", - "detail": "resrefpar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefpar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefpar" - } - }, - { - "label": "resrefvar", - "kind": "variable", - "detail": "resrefvar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefvar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefvar" - } - }, - { - "label": "runtimeInvalid", - "kind": "variable", - "detail": "runtimeInvalid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalid" - } - }, - { - "label": "runtimeInvalidRes1", - "kind": "interface", - "detail": "runtimeInvalidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes1" - } - }, - { - "label": "runtimeInvalidRes10", - "kind": "interface", - "detail": "runtimeInvalidRes10", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes10", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes10" - } - }, - { - "label": "runtimeInvalidRes11", - "kind": "interface", - "detail": "runtimeInvalidRes11", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes11", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes11" - } - }, - { - "label": "runtimeInvalidRes12", - "kind": "interface", - "detail": "runtimeInvalidRes12", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes12", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes12" - } - }, - { - "label": "runtimeInvalidRes13", - "kind": "interface", - "detail": "runtimeInvalidRes13", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes13", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes13" - } - }, - { - "label": "runtimeInvalidRes14", - "kind": "interface", - "detail": "runtimeInvalidRes14", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes14", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes14" - } - }, - { - "label": "runtimeInvalidRes15", - "kind": "interface", - "detail": "runtimeInvalidRes15", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes15", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes15" - } - }, - { - "label": "runtimeInvalidRes16", - "kind": "interface", - "detail": "runtimeInvalidRes16", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes16", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes16" - } - }, - { - "label": "runtimeInvalidRes17", - "kind": "interface", - "detail": "runtimeInvalidRes17", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes17", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes17" - } - }, - { - "label": "runtimeInvalidRes18", - "kind": "interface", - "detail": "runtimeInvalidRes18", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes18", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes18" - } - }, - { - "label": "runtimeInvalidRes2", - "kind": "interface", - "detail": "runtimeInvalidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes2" - } - }, - { - "label": "runtimeInvalidRes3", - "kind": "interface", - "detail": "runtimeInvalidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes3" - } - }, - { - "label": "runtimeInvalidRes4", - "kind": "interface", - "detail": "runtimeInvalidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes4" - } - }, - { - "label": "runtimeInvalidRes5", - "kind": "interface", - "detail": "runtimeInvalidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes5" - } - }, - { - "label": "runtimeInvalidRes6", - "kind": "interface", - "detail": "runtimeInvalidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes6" - } - }, - { - "label": "runtimeInvalidRes7", - "kind": "interface", - "detail": "runtimeInvalidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes7" - } - }, - { - "label": "runtimeInvalidRes8", - "kind": "interface", - "detail": "runtimeInvalidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes8" - } - }, - { - "label": "runtimeInvalidRes9", - "kind": "interface", - "detail": "runtimeInvalidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes9" - } - }, - { - "label": "runtimeValid", - "kind": "variable", - "detail": "runtimeValid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValid" - } - }, - { - "label": "runtimeValidRes1", - "kind": "interface", - "detail": "runtimeValidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes1" - } - }, - { - "label": "runtimeValidRes2", - "kind": "interface", - "detail": "runtimeValidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes2" - } - }, - { - "label": "runtimeValidRes3", - "kind": "interface", - "detail": "runtimeValidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes3" - } - }, - { - "label": "runtimeValidRes4", - "kind": "interface", - "detail": "runtimeValidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes4" - } - }, - { - "label": "runtimeValidRes5", - "kind": "interface", - "detail": "runtimeValidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes5" - } - }, - { - "label": "runtimeValidRes6", - "kind": "interface", - "detail": "runtimeValidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes6" - } - }, - { - "label": "runtimeValidRes7", - "kind": "interface", - "detail": "runtimeValidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes7" - } - }, - { - "label": "runtimeValidRes8", - "kind": "interface", - "detail": "runtimeValidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes8" - } - }, - { - "label": "runtimeValidRes9", - "kind": "interface", - "detail": "runtimeValidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes9" - } - }, - { - "label": "runtimefoo1", - "kind": "variable", - "detail": "runtimefoo1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo1" - } - }, - { - "label": "runtimefoo2", - "kind": "variable", - "detail": "runtimefoo2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo2" - } - }, - { - "label": "runtimefoo3", - "kind": "variable", - "detail": "runtimefoo3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo3" - } - }, - { - "label": "runtimefoo4", - "kind": "variable", - "detail": "runtimefoo4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo4" - } - }, - { - "label": "selfScope", - "kind": "interface", - "detail": "selfScope", - "deprecated": false, - "preselect": false, - "sortText": "2_selfScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "selfScope" - } - }, - { - "label": "skip", - "kind": "function", - "detail": "skip()", - "deprecated": false, - "preselect": false, - "sortText": "3_skip", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "skip($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "split", - "kind": "function", - "detail": "split()", - "deprecated": false, - "preselect": false, - "sortText": "3_split", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "split($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "startedTypingTypeWithQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithQuotes" - } - }, - { - "label": "startedTypingTypeWithoutQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithoutQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithoutQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithoutQuotes" - } - }, - { - "label": "startsWith", - "kind": "function", - "detail": "startsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_startsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "string", - "kind": "function", - "detail": "string()", - "deprecated": false, - "preselect": false, - "sortText": "3_string", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "string($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscription", - "kind": "function", - "detail": "subscription()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscription", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscription($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscriptionResourceId", - "kind": "function", - "detail": "subscriptionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscriptionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscriptionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "substring", - "kind": "function", - "detail": "substring()", - "deprecated": false, - "preselect": false, - "sortText": "3_substring", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "substring($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "sys", - "kind": "folder", - "detail": "sys", - "deprecated": false, - "preselect": false, - "sortText": "3_sys", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sys" - } - }, - { - "label": "take", - "kind": "function", - "detail": "take()", - "deprecated": false, - "preselect": false, - "sortText": "3_take", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "take($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "tenant", - "kind": "function", - "detail": "tenant()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenant", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenant()$0" - } - }, - { - "label": "tenantResourceId", - "kind": "function", - "detail": "tenantResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenantResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenantResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toLower", - "kind": "function", - "detail": "toLower()", - "deprecated": false, - "preselect": false, - "sortText": "3_toLower", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toLower($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toUpper", - "kind": "function", - "detail": "toUpper()", - "deprecated": false, - "preselect": false, - "sortText": "3_toUpper", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toUpper($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "trailingSpace", - "kind": "interface", - "detail": "trailingSpace", - "deprecated": false, - "preselect": false, - "sortText": "2_trailingSpace", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trailingSpace" - } - }, - { - "label": "trim", - "kind": "function", - "detail": "trim()", - "deprecated": false, - "preselect": false, - "sortText": "3_trim", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trim($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "unfinishedVnet", - "kind": "interface", - "detail": "unfinishedVnet", - "deprecated": false, - "preselect": false, - "sortText": "2_unfinishedVnet", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "unfinishedVnet" - } - }, - { - "label": "union", - "kind": "function", - "detail": "union()", - "deprecated": false, - "preselect": false, - "sortText": "3_union", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "union($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uniqueString", - "kind": "function", - "detail": "uniqueString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uniqueString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uniqueString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uri", - "kind": "function", - "detail": "uri()", - "deprecated": false, - "preselect": false, - "sortText": "3_uri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponent", - "kind": "function", - "detail": "uriComponent()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponent", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponent($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponentToString", - "kind": "function", - "detail": "uriComponentToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponentToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponentToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "validModule", - "kind": "module", - "detail": "validModule", - "deprecated": false, - "preselect": false, - "sortText": "2_validModule", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validModule" - } -}, -{ - "label": "validResourceForInvalidExtensionResourceDuplicateName", - "kind": "interface", - "detail": "validResourceForInvalidExtensionResourceDuplicateName", - "deprecated": false, - "preselect": false, - "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validResourceForInvalidExtensionResourceDuplicateName" - } - } +[ + { + "label": "[]", + "kind": "value", + "detail": "[]", + "deprecated": false, + "preselect": true, + "sortText": "1_[]", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "[\n\t$0\n]" + } + }, + { + "label": "any", + "kind": "function", + "detail": "any()", + "deprecated": false, + "preselect": false, + "sortText": "3_any", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "any($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "array", + "kind": "function", + "detail": "array()", + "deprecated": false, + "preselect": false, + "sortText": "3_array", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "array($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "az", + "kind": "folder", + "detail": "az", + "deprecated": false, + "preselect": false, + "sortText": "3_az", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "az" + } + }, + { + "label": "badDepends", + "kind": "interface", + "detail": "badDepends", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends" + } + }, + { + "label": "badDepends2", + "kind": "interface", + "detail": "badDepends2", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends2" + } + }, + { + "label": "badDepends3", + "kind": "interface", + "detail": "badDepends3", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends3" + } + }, + { + "label": "badDepends4", + "kind": "interface", + "detail": "badDepends4", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends4" + } + }, + { + "label": "badDepends5", + "kind": "interface", + "detail": "badDepends5", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends5" + } + }, + { + "label": "badInterp", + "kind": "interface", + "detail": "badInterp", + "deprecated": false, + "preselect": false, + "sortText": "2_badInterp", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badInterp" + } + }, + { + "label": "bar", + "kind": "interface", + "detail": "bar", + "deprecated": false, + "preselect": false, + "sortText": "2_bar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bar" + } + }, + { + "label": "base64", + "kind": "function", + "detail": "base64()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToJson", + "kind": "function", + "detail": "base64ToJson()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToJson", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToJson($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToString", + "kind": "function", + "detail": "base64ToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "baz", + "kind": "interface", + "detail": "baz", + "deprecated": false, + "preselect": false, + "sortText": "2_baz", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "baz" + } + }, + { + "label": "bool", + "kind": "function", + "detail": "bool()", + "deprecated": false, + "preselect": false, + "sortText": "3_bool", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bool($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "coalesce", + "kind": "function", + "detail": "coalesce()", + "deprecated": false, + "preselect": false, + "sortText": "3_coalesce", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "coalesce($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "concat", + "kind": "function", + "detail": "concat()", + "deprecated": false, + "preselect": false, + "sortText": "3_concat", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "concat($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "contains", + "kind": "function", + "detail": "contains()", + "deprecated": false, + "preselect": false, + "sortText": "3_contains", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "contains($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dashesInPropertyNames", + "kind": "interface", + "detail": "dashesInPropertyNames", + "deprecated": false, + "preselect": false, + "sortText": "2_dashesInPropertyNames", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dashesInPropertyNames" + } + }, + { + "label": "dataUri", + "kind": "function", + "detail": "dataUri()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dataUriToString", + "kind": "function", + "detail": "dataUriToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUriToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUriToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dateTimeAdd", + "kind": "function", + "detail": "dateTimeAdd()", + "deprecated": false, + "preselect": false, + "sortText": "3_dateTimeAdd", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dateTimeAdd($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "deployment", + "kind": "function", + "detail": "deployment()", + "deprecated": false, + "preselect": false, + "sortText": "3_deployment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "deployment()$0" + } + }, + { + "label": "discriminatorKeyMissing", + "kind": "interface", + "detail": "discriminatorKeyMissing", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyMissing", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyMissing" + } + }, + { + "label": "discriminatorKeySetOne", + "kind": "interface", + "detail": "discriminatorKeySetOne", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOne", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOne" + } + }, + { + "label": "discriminatorKeySetOneCompletions", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions" + } + }, + { + "label": "discriminatorKeySetOneCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions2" + } + }, + { + "label": "discriminatorKeySetOneCompletions3", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions3" + } + }, + { + "label": "discriminatorKeySetTwo", + "kind": "interface", + "detail": "discriminatorKeySetTwo", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwo" + } + }, + { + "label": "discriminatorKeySetTwoCompletions", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions" + } + }, + { + "label": "discriminatorKeySetTwoCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions2" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" + } + }, + { + "label": "discriminatorKeyValueMissing", + "kind": "interface", + "detail": "discriminatorKeyValueMissing", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissing", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissing" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions2", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions2" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions3", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions3" + } + }, + { + "label": "empty", + "kind": "function", + "detail": "empty()", + "deprecated": false, + "preselect": false, + "sortText": "3_empty", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "empty($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "endsWith", + "kind": "function", + "detail": "endsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_endsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "endsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "environment", + "kind": "function", + "detail": "environment()", + "deprecated": false, + "preselect": false, + "sortText": "3_environment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "environment()$0" + } + }, + { + "label": "extensionResourceId", + "kind": "function", + "detail": "extensionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_extensionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "extensionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "first", + "kind": "function", + "detail": "first()", + "deprecated": false, + "preselect": false, + "sortText": "3_first", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "first($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "fo", + "kind": "interface", + "detail": "fo", + "deprecated": false, + "preselect": false, + "sortText": "2_fo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "fo" + } + }, + { + "label": "foo", + "kind": "interface", + "detail": "foo", + "deprecated": false, + "preselect": false, + "sortText": "2_foo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "foo" + } + }, + { + "label": "format", + "kind": "function", + "detail": "format()", + "deprecated": false, + "preselect": false, + "sortText": "3_format", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "format($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "guid", + "kind": "function", + "detail": "guid()", + "deprecated": false, + "preselect": false, + "sortText": "3_guid", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "guid($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "incorrectPropertiesKey", + "kind": "interface", + "detail": "incorrectPropertiesKey", + "deprecated": false, + "preselect": false, + "sortText": "2_incorrectPropertiesKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incorrectPropertiesKey" + } + }, + { + "label": "indexOf", + "kind": "function", + "detail": "indexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_indexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "indexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "int", + "kind": "function", + "detail": "int()", + "deprecated": false, + "preselect": false, + "sortText": "3_int", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "int($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "interpVal", + "kind": "variable", + "detail": "interpVal", + "deprecated": false, + "preselect": false, + "sortText": "2_interpVal", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "interpVal" + } + }, + { + "label": "intersection", + "kind": "function", + "detail": "intersection()", + "deprecated": false, + "preselect": false, + "sortText": "3_intersection", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "intersection($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "invalidDecorator", + "kind": "interface", + "detail": "invalidDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDecorator" + } + }, + { + "label": "invalidDuplicateName1", + "kind": "interface", + "detail": "invalidDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName1" + } + }, + { + "label": "invalidDuplicateName2", + "kind": "interface", + "detail": "invalidDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName2" + } + }, + { + "label": "invalidDuplicateName3", + "kind": "interface", + "detail": "invalidDuplicateName3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName3" + } + }, + { + "label": "invalidExtensionResourceDuplicateName1", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName1" + } + }, + { + "label": "invalidExtensionResourceDuplicateName2", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName2" + } + }, + { + "label": "invalidScope", + "kind": "interface", + "detail": "invalidScope", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope" + } + }, + { + "label": "invalidScope2", + "kind": "interface", + "detail": "invalidScope2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope2" + } + }, + { + "label": "invalidScope3", + "kind": "interface", + "detail": "invalidScope3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope3" + } + }, + { + "label": "json", + "kind": "function", + "detail": "json()", + "deprecated": false, + "preselect": false, + "sortText": "3_json", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "json($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "last", + "kind": "function", + "detail": "last()", + "deprecated": false, + "preselect": false, + "sortText": "3_last", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "last($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "lastIndexOf", + "kind": "function", + "detail": "lastIndexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_lastIndexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "lastIndexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "length", + "kind": "function", + "detail": "length()", + "deprecated": false, + "preselect": false, + "sortText": "3_length", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "length($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "letsAccessTheDashes", + "kind": "variable", + "detail": "letsAccessTheDashes", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes" + } + }, + { + "label": "letsAccessTheDashes2", + "kind": "variable", + "detail": "letsAccessTheDashes2", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes2" + } + }, + { + "label": "listKeys", + "kind": "function", + "detail": "listKeys()", + "deprecated": false, + "preselect": false, + "sortText": "3_listKeys", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "listKeys($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "magicString1", + "kind": "variable", + "detail": "magicString1", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString1" + } + }, + { + "label": "magicString2", + "kind": "variable", + "detail": "magicString2", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString2" + } + }, + { + "label": "max", + "kind": "function", + "detail": "max()", + "deprecated": false, + "preselect": false, + "sortText": "3_max", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "max($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "min", + "kind": "function", + "detail": "min()", + "deprecated": false, + "preselect": false, + "sortText": "3_min", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "min($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "missingTopLevelProperties", + "kind": "interface", + "detail": "missingTopLevelProperties", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelProperties", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelProperties" + } + }, + { + "label": "missingTopLevelPropertiesExceptName", + "kind": "interface", + "detail": "missingTopLevelPropertiesExceptName", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelPropertiesExceptName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelPropertiesExceptName" + } + }, + { + "label": "missingType", + "kind": "interface", + "detail": "missingType", + "deprecated": false, + "preselect": false, + "sortText": "2_missingType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingType" + } + }, + { + "label": "mock", + "kind": "variable", + "detail": "mock", + "deprecated": false, + "preselect": false, + "sortText": "2_mock", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "mock" + } + }, + { + "label": "nestedDiscriminator", + "kind": "interface", + "detail": "nestedDiscriminator", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminator" + } + }, + { + "label": "nestedDiscriminatorArrayIndexCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorArrayIndexCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorArrayIndexCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorArrayIndexCompletions" + } + }, + { + "label": "nestedDiscriminatorCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions" + } + }, + { + "label": "nestedDiscriminatorCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions2" + } + }, + { + "label": "nestedDiscriminatorCompletions3", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions3" + } + }, + { + "label": "nestedDiscriminatorCompletions4", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions4", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions4" + } + }, + { + "label": "nestedDiscriminatorMissingKey", + "kind": "interface", + "detail": "nestedDiscriminatorMissingKey", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKey" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions2" + } + }, + { + "label": "nestedDiscriminatorMissingKeyIndexCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyIndexCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyIndexCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyIndexCompletions" + } + }, + { + "label": "notAResource", + "kind": "variable", + "detail": "notAResource", + "deprecated": false, + "preselect": false, + "sortText": "2_notAResource", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "notAResource" + } + }, + { + "label": "padLeft", + "kind": "function", + "detail": "padLeft()", + "deprecated": false, + "preselect": false, + "sortText": "3_padLeft", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "padLeft($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "pickZones", + "kind": "function", + "detail": "pickZones()", + "deprecated": false, + "preselect": false, + "sortText": "3_pickZones", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "pickZones($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "providers", + "kind": "function", + "detail": "providers()", + "deprecated": false, + "preselect": false, + "sortText": "3_providers", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "providers($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "range", + "kind": "function", + "detail": "range()", + "deprecated": false, + "preselect": false, + "sortText": "3_range", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "range($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "reference", + "kind": "function", + "detail": "reference()", + "deprecated": false, + "preselect": false, + "sortText": "3_reference", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "reference($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "replace", + "kind": "function", + "detail": "replace()", + "deprecated": false, + "preselect": false, + "sortText": "3_replace", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "replace($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceGroup", + "kind": "function", + "detail": "resourceGroup()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceGroup", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceGroup($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceId", + "kind": "function", + "detail": "resourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resrefpar", + "kind": "field", + "detail": "resrefpar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefpar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefpar" + } + }, + { + "label": "resrefvar", + "kind": "variable", + "detail": "resrefvar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefvar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefvar" + } + }, + { + "label": "runtimeInvalid", + "kind": "variable", + "detail": "runtimeInvalid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalid" + } + }, + { + "label": "runtimeInvalidRes1", + "kind": "interface", + "detail": "runtimeInvalidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes1" + } + }, + { + "label": "runtimeInvalidRes10", + "kind": "interface", + "detail": "runtimeInvalidRes10", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes10", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes10" + } + }, + { + "label": "runtimeInvalidRes11", + "kind": "interface", + "detail": "runtimeInvalidRes11", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes11", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes11" + } + }, + { + "label": "runtimeInvalidRes12", + "kind": "interface", + "detail": "runtimeInvalidRes12", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes12", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes12" + } + }, + { + "label": "runtimeInvalidRes13", + "kind": "interface", + "detail": "runtimeInvalidRes13", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes13", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes13" + } + }, + { + "label": "runtimeInvalidRes14", + "kind": "interface", + "detail": "runtimeInvalidRes14", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes14", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes14" + } + }, + { + "label": "runtimeInvalidRes15", + "kind": "interface", + "detail": "runtimeInvalidRes15", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes15", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes15" + } + }, + { + "label": "runtimeInvalidRes16", + "kind": "interface", + "detail": "runtimeInvalidRes16", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes16", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes16" + } + }, + { + "label": "runtimeInvalidRes17", + "kind": "interface", + "detail": "runtimeInvalidRes17", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes17", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes17" + } + }, + { + "label": "runtimeInvalidRes18", + "kind": "interface", + "detail": "runtimeInvalidRes18", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes18", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes18" + } + }, + { + "label": "runtimeInvalidRes2", + "kind": "interface", + "detail": "runtimeInvalidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes2" + } + }, + { + "label": "runtimeInvalidRes3", + "kind": "interface", + "detail": "runtimeInvalidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes3" + } + }, + { + "label": "runtimeInvalidRes4", + "kind": "interface", + "detail": "runtimeInvalidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes4" + } + }, + { + "label": "runtimeInvalidRes5", + "kind": "interface", + "detail": "runtimeInvalidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes5" + } + }, + { + "label": "runtimeInvalidRes6", + "kind": "interface", + "detail": "runtimeInvalidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes6" + } + }, + { + "label": "runtimeInvalidRes7", + "kind": "interface", + "detail": "runtimeInvalidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes7" + } + }, + { + "label": "runtimeInvalidRes8", + "kind": "interface", + "detail": "runtimeInvalidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes8" + } + }, + { + "label": "runtimeInvalidRes9", + "kind": "interface", + "detail": "runtimeInvalidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes9" + } + }, + { + "label": "runtimeValid", + "kind": "variable", + "detail": "runtimeValid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValid" + } + }, + { + "label": "runtimeValidRes1", + "kind": "interface", + "detail": "runtimeValidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes1" + } + }, + { + "label": "runtimeValidRes2", + "kind": "interface", + "detail": "runtimeValidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes2" + } + }, + { + "label": "runtimeValidRes3", + "kind": "interface", + "detail": "runtimeValidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes3" + } + }, + { + "label": "runtimeValidRes4", + "kind": "interface", + "detail": "runtimeValidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes4" + } + }, + { + "label": "runtimeValidRes5", + "kind": "interface", + "detail": "runtimeValidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes5" + } + }, + { + "label": "runtimeValidRes6", + "kind": "interface", + "detail": "runtimeValidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes6" + } + }, + { + "label": "runtimeValidRes7", + "kind": "interface", + "detail": "runtimeValidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes7" + } + }, + { + "label": "runtimeValidRes8", + "kind": "interface", + "detail": "runtimeValidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes8" + } + }, + { + "label": "runtimeValidRes9", + "kind": "interface", + "detail": "runtimeValidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes9" + } + }, + { + "label": "runtimefoo1", + "kind": "variable", + "detail": "runtimefoo1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo1" + } + }, + { + "label": "runtimefoo2", + "kind": "variable", + "detail": "runtimefoo2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo2" + } + }, + { + "label": "runtimefoo3", + "kind": "variable", + "detail": "runtimefoo3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo3" + } + }, + { + "label": "runtimefoo4", + "kind": "variable", + "detail": "runtimefoo4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo4" + } + }, + { + "label": "selfScope", + "kind": "interface", + "detail": "selfScope", + "deprecated": false, + "preselect": false, + "sortText": "2_selfScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "selfScope" + } + }, + { + "label": "skip", + "kind": "function", + "detail": "skip()", + "deprecated": false, + "preselect": false, + "sortText": "3_skip", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "skip($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "split", + "kind": "function", + "detail": "split()", + "deprecated": false, + "preselect": false, + "sortText": "3_split", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "split($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "startedTypingTypeWithQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithQuotes" + } + }, + { + "label": "startedTypingTypeWithoutQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithoutQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithoutQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithoutQuotes" + } + }, + { + "label": "startsWith", + "kind": "function", + "detail": "startsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_startsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "string", + "kind": "function", + "detail": "string()", + "deprecated": false, + "preselect": false, + "sortText": "3_string", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "string($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscription", + "kind": "function", + "detail": "subscription()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscription", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscription($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscriptionResourceId", + "kind": "function", + "detail": "subscriptionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscriptionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscriptionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "substring", + "kind": "function", + "detail": "substring()", + "deprecated": false, + "preselect": false, + "sortText": "3_substring", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "substring($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "sys", + "kind": "folder", + "detail": "sys", + "deprecated": false, + "preselect": false, + "sortText": "3_sys", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sys" + } + }, + { + "label": "take", + "kind": "function", + "detail": "take()", + "deprecated": false, + "preselect": false, + "sortText": "3_take", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "take($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "tenant", + "kind": "function", + "detail": "tenant()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenant", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenant()$0" + } + }, + { + "label": "tenantResourceId", + "kind": "function", + "detail": "tenantResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenantResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenantResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLower", + "kind": "function", + "detail": "toLower()", + "deprecated": false, + "preselect": false, + "sortText": "3_toLower", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toLower($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toUpper", + "kind": "function", + "detail": "toUpper()", + "deprecated": false, + "preselect": false, + "sortText": "3_toUpper", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toUpper($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "trailingSpace", + "kind": "interface", + "detail": "trailingSpace", + "deprecated": false, + "preselect": false, + "sortText": "2_trailingSpace", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trailingSpace" + } + }, + { + "label": "trim", + "kind": "function", + "detail": "trim()", + "deprecated": false, + "preselect": false, + "sortText": "3_trim", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trim($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "unfinishedVnet", + "kind": "interface", + "detail": "unfinishedVnet", + "deprecated": false, + "preselect": false, + "sortText": "2_unfinishedVnet", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "unfinishedVnet" + } + }, + { + "label": "union", + "kind": "function", + "detail": "union()", + "deprecated": false, + "preselect": false, + "sortText": "3_union", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "union($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uniqueString", + "kind": "function", + "detail": "uniqueString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uniqueString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uniqueString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uri", + "kind": "function", + "detail": "uri()", + "deprecated": false, + "preselect": false, + "sortText": "3_uri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponent", + "kind": "function", + "detail": "uriComponent()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponent", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponent($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponentToString", + "kind": "function", + "detail": "uriComponentToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponentToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponentToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "validModule", + "kind": "module", + "detail": "validModule", + "deprecated": false, + "preselect": false, + "sortText": "2_validModule", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validModule" + } + }, + { + "label": "validResourceForInvalidExtensionResourceDuplicateName", + "kind": "interface", + "detail": "validResourceForInvalidExtensionResourceDuplicateName", + "deprecated": false, + "preselect": false, + "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validResourceForInvalidExtensionResourceDuplicateName" + } + } ] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cleanupPreferencesPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cleanupPreferencesPlusSymbols.json index 082aed91dea..845e0055cf2 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cleanupPreferencesPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cleanupPreferencesPlusSymbols.json @@ -1,2358 +1,2373 @@ -[ - { - "label": "'Always'", - "kind": "enumMember", - "detail": "'Always'", - "deprecated": false, - "preselect": true, - "sortText": "2_'Always'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'Always'" - } - }, - { - "label": "'OnExpiration'", - "kind": "enumMember", - "detail": "'OnExpiration'", - "deprecated": false, - "preselect": true, - "sortText": "2_'OnExpiration'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'OnExpiration'" - } - }, - { - "label": "'OnSuccess'", - "kind": "enumMember", - "detail": "'OnSuccess'", - "deprecated": false, - "preselect": true, - "sortText": "2_'OnSuccess'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'OnSuccess'" - } - }, - { - "label": "any", - "kind": "function", - "detail": "any()", - "deprecated": false, - "preselect": false, - "sortText": "3_any", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "any($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "array", - "kind": "function", - "detail": "array()", - "deprecated": false, - "preselect": false, - "sortText": "3_array", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "array($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "az", - "kind": "folder", - "detail": "az", - "deprecated": false, - "preselect": false, - "sortText": "3_az", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "az" - } - }, - { - "label": "badDepends", - "kind": "interface", - "detail": "badDepends", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends" - } - }, - { - "label": "badDepends2", - "kind": "interface", - "detail": "badDepends2", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends2" - } - }, - { - "label": "badDepends3", - "kind": "interface", - "detail": "badDepends3", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends3" - } - }, - { - "label": "badDepends4", - "kind": "interface", - "detail": "badDepends4", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends4" - } - }, - { - "label": "badDepends5", - "kind": "interface", - "detail": "badDepends5", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends5" - } - }, - { - "label": "badInterp", - "kind": "interface", - "detail": "badInterp", - "deprecated": false, - "preselect": false, - "sortText": "2_badInterp", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badInterp" - } - }, - { - "label": "bar", - "kind": "interface", - "detail": "bar", - "deprecated": false, - "preselect": false, - "sortText": "2_bar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bar" - } - }, - { - "label": "base64", - "kind": "function", - "detail": "base64()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToJson", - "kind": "function", - "detail": "base64ToJson()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToJson", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToJson($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToString", - "kind": "function", - "detail": "base64ToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "baz", - "kind": "interface", - "detail": "baz", - "deprecated": false, - "preselect": false, - "sortText": "2_baz", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "baz" - } - }, - { - "label": "bool", - "kind": "function", - "detail": "bool()", - "deprecated": false, - "preselect": false, - "sortText": "3_bool", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bool($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "coalesce", - "kind": "function", - "detail": "coalesce()", - "deprecated": false, - "preselect": false, - "sortText": "3_coalesce", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "coalesce($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "concat", - "kind": "function", - "detail": "concat()", - "deprecated": false, - "preselect": false, - "sortText": "3_concat", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "concat($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "contains", - "kind": "function", - "detail": "contains()", - "deprecated": false, - "preselect": false, - "sortText": "3_contains", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "contains($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dashesInPropertyNames", - "kind": "interface", - "detail": "dashesInPropertyNames", - "deprecated": false, - "preselect": false, - "sortText": "2_dashesInPropertyNames", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dashesInPropertyNames" - } - }, - { - "label": "dataUri", - "kind": "function", - "detail": "dataUri()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dataUriToString", - "kind": "function", - "detail": "dataUriToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUriToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUriToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dateTimeAdd", - "kind": "function", - "detail": "dateTimeAdd()", - "deprecated": false, - "preselect": false, - "sortText": "3_dateTimeAdd", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dateTimeAdd($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "deployment", - "kind": "function", - "detail": "deployment()", - "deprecated": false, - "preselect": false, - "sortText": "3_deployment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "deployment()$0" - } - }, - { - "label": "discriminatorKeyMissing", - "kind": "interface", - "detail": "discriminatorKeyMissing", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyMissing", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyMissing" - } - }, - { - "label": "discriminatorKeySetOne", - "kind": "interface", - "detail": "discriminatorKeySetOne", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOne", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOne" - } - }, - { - "label": "discriminatorKeySetOneCompletions", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions" - } - }, - { - "label": "discriminatorKeySetOneCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions2" - } - }, - { - "label": "discriminatorKeySetOneCompletions3", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions3" - } - }, - { - "label": "discriminatorKeySetTwo", - "kind": "interface", - "detail": "discriminatorKeySetTwo", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwo" - } - }, - { - "label": "discriminatorKeySetTwoCompletions", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions" - } - }, - { - "label": "discriminatorKeySetTwoCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions2" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" - } - }, - { - "label": "discriminatorKeyValueMissing", - "kind": "interface", - "detail": "discriminatorKeyValueMissing", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissing", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissing" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions2", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions2" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions3", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions3" - } - }, - { - "label": "empty", - "kind": "function", - "detail": "empty()", - "deprecated": false, - "preselect": false, - "sortText": "3_empty", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "empty($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "endsWith", - "kind": "function", - "detail": "endsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_endsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "endsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "environment", - "kind": "function", - "detail": "environment()", - "deprecated": false, - "preselect": false, - "sortText": "3_environment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "environment()$0" - } - }, - { - "label": "extensionResourceId", - "kind": "function", - "detail": "extensionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_extensionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "extensionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "first", - "kind": "function", - "detail": "first()", - "deprecated": false, - "preselect": false, - "sortText": "3_first", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "first($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "fo", - "kind": "interface", - "detail": "fo", - "deprecated": false, - "preselect": false, - "sortText": "2_fo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "fo" - } - }, - { - "label": "foo", - "kind": "interface", - "detail": "foo", - "deprecated": false, - "preselect": false, - "sortText": "2_foo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "foo" - } - }, - { - "label": "format", - "kind": "function", - "detail": "format()", - "deprecated": false, - "preselect": false, - "sortText": "3_format", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "format($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "guid", - "kind": "function", - "detail": "guid()", - "deprecated": false, - "preselect": false, - "sortText": "3_guid", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "guid($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "incorrectPropertiesKey", - "kind": "interface", - "detail": "incorrectPropertiesKey", - "deprecated": false, - "preselect": false, - "sortText": "2_incorrectPropertiesKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "incorrectPropertiesKey" - } - }, - { - "label": "indexOf", - "kind": "function", - "detail": "indexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_indexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "indexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "int", - "kind": "function", - "detail": "int()", - "deprecated": false, - "preselect": false, - "sortText": "3_int", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "int($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "interpVal", - "kind": "variable", - "detail": "interpVal", - "deprecated": false, - "preselect": false, - "sortText": "2_interpVal", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "interpVal" - } - }, - { - "label": "intersection", - "kind": "function", - "detail": "intersection()", - "deprecated": false, - "preselect": false, - "sortText": "3_intersection", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "intersection($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "invalidDuplicateName1", - "kind": "interface", - "detail": "invalidDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName1" - } - }, - { - "label": "invalidDuplicateName2", - "kind": "interface", - "detail": "invalidDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName2" - } - }, - { - "label": "invalidDuplicateName3", - "kind": "interface", - "detail": "invalidDuplicateName3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName3" - } - }, - { - "label": "invalidExtensionResourceDuplicateName1", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName1" - } - }, - { - "label": "invalidExtensionResourceDuplicateName2", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName2" - } - }, - { - "label": "invalidScope", - "kind": "interface", - "detail": "invalidScope", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope" - } - }, - { - "label": "invalidScope2", - "kind": "interface", - "detail": "invalidScope2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope2" - } - }, - { - "label": "invalidScope3", - "kind": "interface", - "detail": "invalidScope3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope3" - } - }, - { - "label": "json", - "kind": "function", - "detail": "json()", - "deprecated": false, - "preselect": false, - "sortText": "3_json", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "json($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "last", - "kind": "function", - "detail": "last()", - "deprecated": false, - "preselect": false, - "sortText": "3_last", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "last($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "lastIndexOf", - "kind": "function", - "detail": "lastIndexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_lastIndexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "lastIndexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "length", - "kind": "function", - "detail": "length()", - "deprecated": false, - "preselect": false, - "sortText": "3_length", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "length($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "letsAccessTheDashes", - "kind": "variable", - "detail": "letsAccessTheDashes", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes" - } - }, - { - "label": "letsAccessTheDashes2", - "kind": "variable", - "detail": "letsAccessTheDashes2", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes2" - } - }, - { - "label": "listKeys", - "kind": "function", - "detail": "listKeys()", - "deprecated": false, - "preselect": false, - "sortText": "3_listKeys", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "listKeys($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "magicString1", - "kind": "variable", - "detail": "magicString1", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString1" - } - }, - { - "label": "magicString2", - "kind": "variable", - "detail": "magicString2", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString2" - } - }, - { - "label": "max", - "kind": "function", - "detail": "max()", - "deprecated": false, - "preselect": false, - "sortText": "3_max", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "max($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "min", - "kind": "function", - "detail": "min()", - "deprecated": false, - "preselect": false, - "sortText": "3_min", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "min($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "missingTopLevelProperties", - "kind": "interface", - "detail": "missingTopLevelProperties", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelProperties", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelProperties" - } - }, - { - "label": "missingTopLevelPropertiesExceptName", - "kind": "interface", - "detail": "missingTopLevelPropertiesExceptName", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelPropertiesExceptName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelPropertiesExceptName" - } - }, - { - "label": "missingType", - "kind": "interface", - "detail": "missingType", - "deprecated": false, - "preselect": false, - "sortText": "2_missingType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingType" - } - }, - { - "label": "mock", - "kind": "variable", - "detail": "mock", - "deprecated": false, - "preselect": false, - "sortText": "2_mock", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "mock" - } - }, - { - "label": "nestedDiscriminator", - "kind": "interface", - "detail": "nestedDiscriminator", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminator", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminator" - } - }, - { - "label": "nestedDiscriminatorArrayIndexCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorArrayIndexCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorArrayIndexCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorArrayIndexCompletions" - } - }, - { - "label": "nestedDiscriminatorCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions" - } - }, - { - "label": "nestedDiscriminatorCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions2" - } - }, - { - "label": "nestedDiscriminatorCompletions3", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions3" - } - }, - { - "label": "nestedDiscriminatorCompletions4", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions4", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions4" - } - }, - { - "label": "nestedDiscriminatorMissingKey", - "kind": "interface", - "detail": "nestedDiscriminatorMissingKey", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKey" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions2" - } - }, - { - "label": "nestedDiscriminatorMissingKeyIndexCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyIndexCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyIndexCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyIndexCompletions" - } - }, - { - "label": "notAResource", - "kind": "variable", - "detail": "notAResource", - "deprecated": false, - "preselect": false, - "sortText": "2_notAResource", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "notAResource" - } - }, - { - "label": "padLeft", - "kind": "function", - "detail": "padLeft()", - "deprecated": false, - "preselect": false, - "sortText": "3_padLeft", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "padLeft($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "pickZones", - "kind": "function", - "detail": "pickZones()", - "deprecated": false, - "preselect": false, - "sortText": "3_pickZones", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "pickZones($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "providers", - "kind": "function", - "detail": "providers()", - "deprecated": false, - "preselect": false, - "sortText": "3_providers", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "providers($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "range", - "kind": "function", - "detail": "range()", - "deprecated": false, - "preselect": false, - "sortText": "3_range", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "range($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "reference", - "kind": "function", - "detail": "reference()", - "deprecated": false, - "preselect": false, - "sortText": "3_reference", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "reference($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "replace", - "kind": "function", - "detail": "replace()", - "deprecated": false, - "preselect": false, - "sortText": "3_replace", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "replace($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceGroup", - "kind": "function", - "detail": "resourceGroup()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceGroup", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceGroup($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceId", - "kind": "function", - "detail": "resourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resrefpar", - "kind": "field", - "detail": "resrefpar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefpar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefpar" - } - }, - { - "label": "resrefvar", - "kind": "variable", - "detail": "resrefvar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefvar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefvar" - } - }, - { - "label": "runtimeInvalid", - "kind": "variable", - "detail": "runtimeInvalid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalid" - } - }, - { - "label": "runtimeInvalidRes1", - "kind": "interface", - "detail": "runtimeInvalidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes1" - } - }, - { - "label": "runtimeInvalidRes10", - "kind": "interface", - "detail": "runtimeInvalidRes10", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes10", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes10" - } - }, - { - "label": "runtimeInvalidRes11", - "kind": "interface", - "detail": "runtimeInvalidRes11", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes11", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes11" - } - }, - { - "label": "runtimeInvalidRes12", - "kind": "interface", - "detail": "runtimeInvalidRes12", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes12", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes12" - } - }, - { - "label": "runtimeInvalidRes13", - "kind": "interface", - "detail": "runtimeInvalidRes13", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes13", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes13" - } - }, - { - "label": "runtimeInvalidRes14", - "kind": "interface", - "detail": "runtimeInvalidRes14", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes14", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes14" - } - }, - { - "label": "runtimeInvalidRes15", - "kind": "interface", - "detail": "runtimeInvalidRes15", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes15", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes15" - } - }, - { - "label": "runtimeInvalidRes16", - "kind": "interface", - "detail": "runtimeInvalidRes16", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes16", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes16" - } - }, - { - "label": "runtimeInvalidRes17", - "kind": "interface", - "detail": "runtimeInvalidRes17", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes17", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes17" - } - }, - { - "label": "runtimeInvalidRes18", - "kind": "interface", - "detail": "runtimeInvalidRes18", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes18", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes18" - } - }, - { - "label": "runtimeInvalidRes2", - "kind": "interface", - "detail": "runtimeInvalidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes2" - } - }, - { - "label": "runtimeInvalidRes3", - "kind": "interface", - "detail": "runtimeInvalidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes3" - } - }, - { - "label": "runtimeInvalidRes4", - "kind": "interface", - "detail": "runtimeInvalidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes4" - } - }, - { - "label": "runtimeInvalidRes5", - "kind": "interface", - "detail": "runtimeInvalidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes5" - } - }, - { - "label": "runtimeInvalidRes6", - "kind": "interface", - "detail": "runtimeInvalidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes6" - } - }, - { - "label": "runtimeInvalidRes7", - "kind": "interface", - "detail": "runtimeInvalidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes7" - } - }, - { - "label": "runtimeInvalidRes8", - "kind": "interface", - "detail": "runtimeInvalidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes8" - } - }, - { - "label": "runtimeInvalidRes9", - "kind": "interface", - "detail": "runtimeInvalidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes9" - } - }, - { - "label": "runtimeValid", - "kind": "variable", - "detail": "runtimeValid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValid" - } - }, - { - "label": "runtimeValidRes1", - "kind": "interface", - "detail": "runtimeValidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes1" - } - }, - { - "label": "runtimeValidRes2", - "kind": "interface", - "detail": "runtimeValidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes2" - } - }, - { - "label": "runtimeValidRes3", - "kind": "interface", - "detail": "runtimeValidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes3" - } - }, - { - "label": "runtimeValidRes4", - "kind": "interface", - "detail": "runtimeValidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes4" - } - }, - { - "label": "runtimeValidRes5", - "kind": "interface", - "detail": "runtimeValidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes5" - } - }, - { - "label": "runtimeValidRes6", - "kind": "interface", - "detail": "runtimeValidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes6" - } - }, - { - "label": "runtimeValidRes7", - "kind": "interface", - "detail": "runtimeValidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes7" - } - }, - { - "label": "runtimeValidRes8", - "kind": "interface", - "detail": "runtimeValidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes8" - } - }, - { - "label": "runtimeValidRes9", - "kind": "interface", - "detail": "runtimeValidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes9" - } - }, - { - "label": "runtimefoo1", - "kind": "variable", - "detail": "runtimefoo1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo1" - } - }, - { - "label": "runtimefoo2", - "kind": "variable", - "detail": "runtimefoo2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo2" - } - }, - { - "label": "runtimefoo3", - "kind": "variable", - "detail": "runtimefoo3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo3" - } - }, - { - "label": "runtimefoo4", - "kind": "variable", - "detail": "runtimefoo4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo4" - } - }, - { - "label": "selfScope", - "kind": "interface", - "detail": "selfScope", - "deprecated": false, - "preselect": false, - "sortText": "2_selfScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "selfScope" - } - }, - { - "label": "skip", - "kind": "function", - "detail": "skip()", - "deprecated": false, - "preselect": false, - "sortText": "3_skip", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "skip($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "split", - "kind": "function", - "detail": "split()", - "deprecated": false, - "preselect": false, - "sortText": "3_split", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "split($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "startedTypingTypeWithQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithQuotes" - } - }, - { - "label": "startedTypingTypeWithoutQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithoutQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithoutQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithoutQuotes" - } - }, - { - "label": "startsWith", - "kind": "function", - "detail": "startsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_startsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "string", - "kind": "function", - "detail": "string()", - "deprecated": false, - "preselect": false, - "sortText": "3_string", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "string($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscription", - "kind": "function", - "detail": "subscription()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscription", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscription($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscriptionResourceId", - "kind": "function", - "detail": "subscriptionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscriptionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscriptionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "substring", - "kind": "function", - "detail": "substring()", - "deprecated": false, - "preselect": false, - "sortText": "3_substring", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "substring($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "sys", - "kind": "folder", - "detail": "sys", - "deprecated": false, - "preselect": false, - "sortText": "3_sys", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sys" - } - }, - { - "label": "take", - "kind": "function", - "detail": "take()", - "deprecated": false, - "preselect": false, - "sortText": "3_take", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "take($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "tenant", - "kind": "function", - "detail": "tenant()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenant", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenant()$0" - } - }, - { - "label": "tenantResourceId", - "kind": "function", - "detail": "tenantResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenantResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenantResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toLower", - "kind": "function", - "detail": "toLower()", - "deprecated": false, - "preselect": false, - "sortText": "3_toLower", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toLower($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toUpper", - "kind": "function", - "detail": "toUpper()", - "deprecated": false, - "preselect": false, - "sortText": "3_toUpper", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toUpper($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "trailingSpace", - "kind": "interface", - "detail": "trailingSpace", - "deprecated": false, - "preselect": false, - "sortText": "2_trailingSpace", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trailingSpace" - } - }, - { - "label": "trim", - "kind": "function", - "detail": "trim()", - "deprecated": false, - "preselect": false, - "sortText": "3_trim", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trim($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "unfinishedVnet", - "kind": "interface", - "detail": "unfinishedVnet", - "deprecated": false, - "preselect": false, - "sortText": "2_unfinishedVnet", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "unfinishedVnet" - } - }, - { - "label": "union", - "kind": "function", - "detail": "union()", - "deprecated": false, - "preselect": false, - "sortText": "3_union", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "union($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uniqueString", - "kind": "function", - "detail": "uniqueString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uniqueString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uniqueString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uri", - "kind": "function", - "detail": "uri()", - "deprecated": false, - "preselect": false, - "sortText": "3_uri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponent", - "kind": "function", - "detail": "uriComponent()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponent", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponent($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponentToString", - "kind": "function", - "detail": "uriComponentToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponentToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponentToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "validModule", - "kind": "module", - "detail": "validModule", - "deprecated": false, - "preselect": false, - "sortText": "2_validModule", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validModule" - } -},{ - "label": "validResourceForInvalidExtensionResourceDuplicateName", - "kind": "interface", - "detail": "validResourceForInvalidExtensionResourceDuplicateName", - "deprecated": false, - "preselect": false, - "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validResourceForInvalidExtensionResourceDuplicateName" - } - } +[ + { + "label": "'Always'", + "kind": "enumMember", + "detail": "'Always'", + "deprecated": false, + "preselect": true, + "sortText": "2_'Always'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'Always'" + } + }, + { + "label": "'OnExpiration'", + "kind": "enumMember", + "detail": "'OnExpiration'", + "deprecated": false, + "preselect": true, + "sortText": "2_'OnExpiration'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'OnExpiration'" + } + }, + { + "label": "'OnSuccess'", + "kind": "enumMember", + "detail": "'OnSuccess'", + "deprecated": false, + "preselect": true, + "sortText": "2_'OnSuccess'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'OnSuccess'" + } + }, + { + "label": "any", + "kind": "function", + "detail": "any()", + "deprecated": false, + "preselect": false, + "sortText": "3_any", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "any($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "array", + "kind": "function", + "detail": "array()", + "deprecated": false, + "preselect": false, + "sortText": "3_array", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "array($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "az", + "kind": "folder", + "detail": "az", + "deprecated": false, + "preselect": false, + "sortText": "3_az", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "az" + } + }, + { + "label": "badDepends", + "kind": "interface", + "detail": "badDepends", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends" + } + }, + { + "label": "badDepends2", + "kind": "interface", + "detail": "badDepends2", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends2" + } + }, + { + "label": "badDepends3", + "kind": "interface", + "detail": "badDepends3", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends3" + } + }, + { + "label": "badDepends4", + "kind": "interface", + "detail": "badDepends4", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends4" + } + }, + { + "label": "badDepends5", + "kind": "interface", + "detail": "badDepends5", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends5" + } + }, + { + "label": "badInterp", + "kind": "interface", + "detail": "badInterp", + "deprecated": false, + "preselect": false, + "sortText": "2_badInterp", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badInterp" + } + }, + { + "label": "bar", + "kind": "interface", + "detail": "bar", + "deprecated": false, + "preselect": false, + "sortText": "2_bar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bar" + } + }, + { + "label": "base64", + "kind": "function", + "detail": "base64()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToJson", + "kind": "function", + "detail": "base64ToJson()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToJson", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToJson($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToString", + "kind": "function", + "detail": "base64ToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "baz", + "kind": "interface", + "detail": "baz", + "deprecated": false, + "preselect": false, + "sortText": "2_baz", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "baz" + } + }, + { + "label": "bool", + "kind": "function", + "detail": "bool()", + "deprecated": false, + "preselect": false, + "sortText": "3_bool", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bool($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "coalesce", + "kind": "function", + "detail": "coalesce()", + "deprecated": false, + "preselect": false, + "sortText": "3_coalesce", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "coalesce($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "concat", + "kind": "function", + "detail": "concat()", + "deprecated": false, + "preselect": false, + "sortText": "3_concat", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "concat($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "contains", + "kind": "function", + "detail": "contains()", + "deprecated": false, + "preselect": false, + "sortText": "3_contains", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "contains($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dashesInPropertyNames", + "kind": "interface", + "detail": "dashesInPropertyNames", + "deprecated": false, + "preselect": false, + "sortText": "2_dashesInPropertyNames", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dashesInPropertyNames" + } + }, + { + "label": "dataUri", + "kind": "function", + "detail": "dataUri()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dataUriToString", + "kind": "function", + "detail": "dataUriToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUriToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUriToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dateTimeAdd", + "kind": "function", + "detail": "dateTimeAdd()", + "deprecated": false, + "preselect": false, + "sortText": "3_dateTimeAdd", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dateTimeAdd($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "deployment", + "kind": "function", + "detail": "deployment()", + "deprecated": false, + "preselect": false, + "sortText": "3_deployment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "deployment()$0" + } + }, + { + "label": "discriminatorKeyMissing", + "kind": "interface", + "detail": "discriminatorKeyMissing", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyMissing", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyMissing" + } + }, + { + "label": "discriminatorKeySetOne", + "kind": "interface", + "detail": "discriminatorKeySetOne", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOne", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOne" + } + }, + { + "label": "discriminatorKeySetOneCompletions", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions" + } + }, + { + "label": "discriminatorKeySetOneCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions2" + } + }, + { + "label": "discriminatorKeySetOneCompletions3", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions3" + } + }, + { + "label": "discriminatorKeySetTwo", + "kind": "interface", + "detail": "discriminatorKeySetTwo", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwo" + } + }, + { + "label": "discriminatorKeySetTwoCompletions", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions" + } + }, + { + "label": "discriminatorKeySetTwoCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions2" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" + } + }, + { + "label": "discriminatorKeyValueMissing", + "kind": "interface", + "detail": "discriminatorKeyValueMissing", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissing", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissing" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions2", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions2" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions3", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions3" + } + }, + { + "label": "empty", + "kind": "function", + "detail": "empty()", + "deprecated": false, + "preselect": false, + "sortText": "3_empty", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "empty($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "endsWith", + "kind": "function", + "detail": "endsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_endsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "endsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "environment", + "kind": "function", + "detail": "environment()", + "deprecated": false, + "preselect": false, + "sortText": "3_environment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "environment()$0" + } + }, + { + "label": "extensionResourceId", + "kind": "function", + "detail": "extensionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_extensionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "extensionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "first", + "kind": "function", + "detail": "first()", + "deprecated": false, + "preselect": false, + "sortText": "3_first", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "first($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "fo", + "kind": "interface", + "detail": "fo", + "deprecated": false, + "preselect": false, + "sortText": "2_fo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "fo" + } + }, + { + "label": "foo", + "kind": "interface", + "detail": "foo", + "deprecated": false, + "preselect": false, + "sortText": "2_foo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "foo" + } + }, + { + "label": "format", + "kind": "function", + "detail": "format()", + "deprecated": false, + "preselect": false, + "sortText": "3_format", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "format($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "guid", + "kind": "function", + "detail": "guid()", + "deprecated": false, + "preselect": false, + "sortText": "3_guid", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "guid($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "incorrectPropertiesKey", + "kind": "interface", + "detail": "incorrectPropertiesKey", + "deprecated": false, + "preselect": false, + "sortText": "2_incorrectPropertiesKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incorrectPropertiesKey" + } + }, + { + "label": "indexOf", + "kind": "function", + "detail": "indexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_indexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "indexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "int", + "kind": "function", + "detail": "int()", + "deprecated": false, + "preselect": false, + "sortText": "3_int", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "int($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "interpVal", + "kind": "variable", + "detail": "interpVal", + "deprecated": false, + "preselect": false, + "sortText": "2_interpVal", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "interpVal" + } + }, + { + "label": "intersection", + "kind": "function", + "detail": "intersection()", + "deprecated": false, + "preselect": false, + "sortText": "3_intersection", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "intersection($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "invalidDecorator", + "kind": "interface", + "detail": "invalidDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDecorator" + } + }, + { + "label": "invalidDuplicateName1", + "kind": "interface", + "detail": "invalidDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName1" + } + }, + { + "label": "invalidDuplicateName2", + "kind": "interface", + "detail": "invalidDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName2" + } + }, + { + "label": "invalidDuplicateName3", + "kind": "interface", + "detail": "invalidDuplicateName3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName3" + } + }, + { + "label": "invalidExtensionResourceDuplicateName1", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName1" + } + }, + { + "label": "invalidExtensionResourceDuplicateName2", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName2" + } + }, + { + "label": "invalidScope", + "kind": "interface", + "detail": "invalidScope", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope" + } + }, + { + "label": "invalidScope2", + "kind": "interface", + "detail": "invalidScope2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope2" + } + }, + { + "label": "invalidScope3", + "kind": "interface", + "detail": "invalidScope3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope3" + } + }, + { + "label": "json", + "kind": "function", + "detail": "json()", + "deprecated": false, + "preselect": false, + "sortText": "3_json", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "json($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "last", + "kind": "function", + "detail": "last()", + "deprecated": false, + "preselect": false, + "sortText": "3_last", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "last($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "lastIndexOf", + "kind": "function", + "detail": "lastIndexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_lastIndexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "lastIndexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "length", + "kind": "function", + "detail": "length()", + "deprecated": false, + "preselect": false, + "sortText": "3_length", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "length($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "letsAccessTheDashes", + "kind": "variable", + "detail": "letsAccessTheDashes", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes" + } + }, + { + "label": "letsAccessTheDashes2", + "kind": "variable", + "detail": "letsAccessTheDashes2", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes2" + } + }, + { + "label": "listKeys", + "kind": "function", + "detail": "listKeys()", + "deprecated": false, + "preselect": false, + "sortText": "3_listKeys", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "listKeys($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "magicString1", + "kind": "variable", + "detail": "magicString1", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString1" + } + }, + { + "label": "magicString2", + "kind": "variable", + "detail": "magicString2", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString2" + } + }, + { + "label": "max", + "kind": "function", + "detail": "max()", + "deprecated": false, + "preselect": false, + "sortText": "3_max", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "max($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "min", + "kind": "function", + "detail": "min()", + "deprecated": false, + "preselect": false, + "sortText": "3_min", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "min($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "missingTopLevelProperties", + "kind": "interface", + "detail": "missingTopLevelProperties", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelProperties", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelProperties" + } + }, + { + "label": "missingTopLevelPropertiesExceptName", + "kind": "interface", + "detail": "missingTopLevelPropertiesExceptName", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelPropertiesExceptName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelPropertiesExceptName" + } + }, + { + "label": "missingType", + "kind": "interface", + "detail": "missingType", + "deprecated": false, + "preselect": false, + "sortText": "2_missingType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingType" + } + }, + { + "label": "mock", + "kind": "variable", + "detail": "mock", + "deprecated": false, + "preselect": false, + "sortText": "2_mock", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "mock" + } + }, + { + "label": "nestedDiscriminator", + "kind": "interface", + "detail": "nestedDiscriminator", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminator" + } + }, + { + "label": "nestedDiscriminatorArrayIndexCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorArrayIndexCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorArrayIndexCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorArrayIndexCompletions" + } + }, + { + "label": "nestedDiscriminatorCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions" + } + }, + { + "label": "nestedDiscriminatorCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions2" + } + }, + { + "label": "nestedDiscriminatorCompletions3", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions3" + } + }, + { + "label": "nestedDiscriminatorCompletions4", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions4", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions4" + } + }, + { + "label": "nestedDiscriminatorMissingKey", + "kind": "interface", + "detail": "nestedDiscriminatorMissingKey", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKey" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions2" + } + }, + { + "label": "nestedDiscriminatorMissingKeyIndexCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyIndexCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyIndexCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyIndexCompletions" + } + }, + { + "label": "notAResource", + "kind": "variable", + "detail": "notAResource", + "deprecated": false, + "preselect": false, + "sortText": "2_notAResource", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "notAResource" + } + }, + { + "label": "padLeft", + "kind": "function", + "detail": "padLeft()", + "deprecated": false, + "preselect": false, + "sortText": "3_padLeft", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "padLeft($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "pickZones", + "kind": "function", + "detail": "pickZones()", + "deprecated": false, + "preselect": false, + "sortText": "3_pickZones", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "pickZones($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "providers", + "kind": "function", + "detail": "providers()", + "deprecated": false, + "preselect": false, + "sortText": "3_providers", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "providers($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "range", + "kind": "function", + "detail": "range()", + "deprecated": false, + "preselect": false, + "sortText": "3_range", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "range($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "reference", + "kind": "function", + "detail": "reference()", + "deprecated": false, + "preselect": false, + "sortText": "3_reference", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "reference($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "replace", + "kind": "function", + "detail": "replace()", + "deprecated": false, + "preselect": false, + "sortText": "3_replace", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "replace($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceGroup", + "kind": "function", + "detail": "resourceGroup()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceGroup", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceGroup($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceId", + "kind": "function", + "detail": "resourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resrefpar", + "kind": "field", + "detail": "resrefpar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefpar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefpar" + } + }, + { + "label": "resrefvar", + "kind": "variable", + "detail": "resrefvar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefvar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefvar" + } + }, + { + "label": "runtimeInvalid", + "kind": "variable", + "detail": "runtimeInvalid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalid" + } + }, + { + "label": "runtimeInvalidRes1", + "kind": "interface", + "detail": "runtimeInvalidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes1" + } + }, + { + "label": "runtimeInvalidRes10", + "kind": "interface", + "detail": "runtimeInvalidRes10", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes10", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes10" + } + }, + { + "label": "runtimeInvalidRes11", + "kind": "interface", + "detail": "runtimeInvalidRes11", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes11", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes11" + } + }, + { + "label": "runtimeInvalidRes12", + "kind": "interface", + "detail": "runtimeInvalidRes12", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes12", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes12" + } + }, + { + "label": "runtimeInvalidRes13", + "kind": "interface", + "detail": "runtimeInvalidRes13", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes13", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes13" + } + }, + { + "label": "runtimeInvalidRes14", + "kind": "interface", + "detail": "runtimeInvalidRes14", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes14", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes14" + } + }, + { + "label": "runtimeInvalidRes15", + "kind": "interface", + "detail": "runtimeInvalidRes15", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes15", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes15" + } + }, + { + "label": "runtimeInvalidRes16", + "kind": "interface", + "detail": "runtimeInvalidRes16", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes16", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes16" + } + }, + { + "label": "runtimeInvalidRes17", + "kind": "interface", + "detail": "runtimeInvalidRes17", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes17", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes17" + } + }, + { + "label": "runtimeInvalidRes18", + "kind": "interface", + "detail": "runtimeInvalidRes18", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes18", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes18" + } + }, + { + "label": "runtimeInvalidRes2", + "kind": "interface", + "detail": "runtimeInvalidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes2" + } + }, + { + "label": "runtimeInvalidRes3", + "kind": "interface", + "detail": "runtimeInvalidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes3" + } + }, + { + "label": "runtimeInvalidRes4", + "kind": "interface", + "detail": "runtimeInvalidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes4" + } + }, + { + "label": "runtimeInvalidRes5", + "kind": "interface", + "detail": "runtimeInvalidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes5" + } + }, + { + "label": "runtimeInvalidRes6", + "kind": "interface", + "detail": "runtimeInvalidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes6" + } + }, + { + "label": "runtimeInvalidRes7", + "kind": "interface", + "detail": "runtimeInvalidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes7" + } + }, + { + "label": "runtimeInvalidRes8", + "kind": "interface", + "detail": "runtimeInvalidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes8" + } + }, + { + "label": "runtimeInvalidRes9", + "kind": "interface", + "detail": "runtimeInvalidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes9" + } + }, + { + "label": "runtimeValid", + "kind": "variable", + "detail": "runtimeValid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValid" + } + }, + { + "label": "runtimeValidRes1", + "kind": "interface", + "detail": "runtimeValidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes1" + } + }, + { + "label": "runtimeValidRes2", + "kind": "interface", + "detail": "runtimeValidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes2" + } + }, + { + "label": "runtimeValidRes3", + "kind": "interface", + "detail": "runtimeValidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes3" + } + }, + { + "label": "runtimeValidRes4", + "kind": "interface", + "detail": "runtimeValidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes4" + } + }, + { + "label": "runtimeValidRes5", + "kind": "interface", + "detail": "runtimeValidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes5" + } + }, + { + "label": "runtimeValidRes6", + "kind": "interface", + "detail": "runtimeValidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes6" + } + }, + { + "label": "runtimeValidRes7", + "kind": "interface", + "detail": "runtimeValidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes7" + } + }, + { + "label": "runtimeValidRes8", + "kind": "interface", + "detail": "runtimeValidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes8" + } + }, + { + "label": "runtimeValidRes9", + "kind": "interface", + "detail": "runtimeValidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes9" + } + }, + { + "label": "runtimefoo1", + "kind": "variable", + "detail": "runtimefoo1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo1" + } + }, + { + "label": "runtimefoo2", + "kind": "variable", + "detail": "runtimefoo2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo2" + } + }, + { + "label": "runtimefoo3", + "kind": "variable", + "detail": "runtimefoo3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo3" + } + }, + { + "label": "runtimefoo4", + "kind": "variable", + "detail": "runtimefoo4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo4" + } + }, + { + "label": "selfScope", + "kind": "interface", + "detail": "selfScope", + "deprecated": false, + "preselect": false, + "sortText": "2_selfScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "selfScope" + } + }, + { + "label": "skip", + "kind": "function", + "detail": "skip()", + "deprecated": false, + "preselect": false, + "sortText": "3_skip", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "skip($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "split", + "kind": "function", + "detail": "split()", + "deprecated": false, + "preselect": false, + "sortText": "3_split", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "split($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "startedTypingTypeWithQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithQuotes" + } + }, + { + "label": "startedTypingTypeWithoutQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithoutQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithoutQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithoutQuotes" + } + }, + { + "label": "startsWith", + "kind": "function", + "detail": "startsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_startsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "string", + "kind": "function", + "detail": "string()", + "deprecated": false, + "preselect": false, + "sortText": "3_string", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "string($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscription", + "kind": "function", + "detail": "subscription()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscription", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscription($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscriptionResourceId", + "kind": "function", + "detail": "subscriptionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscriptionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscriptionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "substring", + "kind": "function", + "detail": "substring()", + "deprecated": false, + "preselect": false, + "sortText": "3_substring", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "substring($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "sys", + "kind": "folder", + "detail": "sys", + "deprecated": false, + "preselect": false, + "sortText": "3_sys", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sys" + } + }, + { + "label": "take", + "kind": "function", + "detail": "take()", + "deprecated": false, + "preselect": false, + "sortText": "3_take", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "take($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "tenant", + "kind": "function", + "detail": "tenant()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenant", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenant()$0" + } + }, + { + "label": "tenantResourceId", + "kind": "function", + "detail": "tenantResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenantResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenantResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLower", + "kind": "function", + "detail": "toLower()", + "deprecated": false, + "preselect": false, + "sortText": "3_toLower", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toLower($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toUpper", + "kind": "function", + "detail": "toUpper()", + "deprecated": false, + "preselect": false, + "sortText": "3_toUpper", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toUpper($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "trailingSpace", + "kind": "interface", + "detail": "trailingSpace", + "deprecated": false, + "preselect": false, + "sortText": "2_trailingSpace", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trailingSpace" + } + }, + { + "label": "trim", + "kind": "function", + "detail": "trim()", + "deprecated": false, + "preselect": false, + "sortText": "3_trim", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trim($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "unfinishedVnet", + "kind": "interface", + "detail": "unfinishedVnet", + "deprecated": false, + "preselect": false, + "sortText": "2_unfinishedVnet", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "unfinishedVnet" + } + }, + { + "label": "union", + "kind": "function", + "detail": "union()", + "deprecated": false, + "preselect": false, + "sortText": "3_union", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "union($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uniqueString", + "kind": "function", + "detail": "uniqueString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uniqueString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uniqueString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uri", + "kind": "function", + "detail": "uri()", + "deprecated": false, + "preselect": false, + "sortText": "3_uri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponent", + "kind": "function", + "detail": "uriComponent()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponent", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponent($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponentToString", + "kind": "function", + "detail": "uriComponentToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponentToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponentToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "validModule", + "kind": "module", + "detail": "validModule", + "deprecated": false, + "preselect": false, + "sortText": "2_validModule", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validModule" + } + }, + { + "label": "validResourceForInvalidExtensionResourceDuplicateName", + "kind": "interface", + "detail": "validResourceForInvalidExtensionResourceDuplicateName", + "deprecated": false, + "preselect": false, + "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validResourceForInvalidExtensionResourceDuplicateName" + } + } ] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols.json index f1d492300e2..305ff08417a 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols.json @@ -1,2586 +1,2601 @@ -[ - { - "label": "'arguments'", - "kind": "property", - "detail": "arguments", - "documentation": { - "kind": "markdown", - "value": "Type: `string` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'arguments'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'arguments'" - } - }, - { - "label": "'azCliVersion'", - "kind": "property", - "detail": "azCliVersion (Required)", - "documentation": { - "kind": "markdown", - "value": "Type: `string` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'azCliVersion'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'azCliVersion'" - } - }, - { - "label": "'cleanupPreference'", - "kind": "property", - "detail": "cleanupPreference", - "documentation": { - "kind": "markdown", - "value": "Type: `'Always' | 'OnExpiration' | 'OnSuccess'` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'cleanupPreference'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'cleanupPreference'" - } - }, - { - "label": "'containerSettings'", - "kind": "property", - "detail": "containerSettings", - "documentation": { - "kind": "markdown", - "value": "Type: `ContainerConfiguration` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'containerSettings'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'containerSettings'" - } - }, - { - "label": "'environmentVariables'", - "kind": "property", - "detail": "environmentVariables", - "documentation": { - "kind": "markdown", - "value": "Type: `EnvironmentVariable[]` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'environmentVariables'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'environmentVariables'" - } - }, - { - "label": "'forceUpdateTag'", - "kind": "property", - "detail": "forceUpdateTag", - "documentation": { - "kind": "markdown", - "value": "Type: `string` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'forceUpdateTag'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'forceUpdateTag'" - } - }, - { - "label": "'outputs'", - "kind": "property", - "detail": "outputs", - "documentation": { - "kind": "markdown", - "value": "Type: `Dictionary` \nRead-only property \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'outputs'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'outputs'" - } - }, - { - "label": "'primaryScriptUri'", - "kind": "property", - "detail": "primaryScriptUri", - "documentation": { - "kind": "markdown", - "value": "Type: `string` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'primaryScriptUri'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'primaryScriptUri'" - } - }, - { - "label": "'provisioningState'", - "kind": "property", - "detail": "provisioningState", - "documentation": { - "kind": "markdown", - "value": "Type: `'Canceled' | 'Creating' | 'Failed' | 'ProvisioningResources' | 'Running' | 'Succeeded'` \nRead-only property \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'provisioningState'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'provisioningState'" - } - }, - { - "label": "'retentionInterval'", - "kind": "property", - "detail": "retentionInterval (Required)", - "documentation": { - "kind": "markdown", - "value": "Type: `string` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'retentionInterval'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'retentionInterval'" - } - }, - { - "label": "'scriptContent'", - "kind": "property", - "detail": "scriptContent", - "documentation": { - "kind": "markdown", - "value": "Type: `string` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'scriptContent'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'scriptContent'" - } - }, - { - "label": "'status'", - "kind": "property", - "detail": "status", - "documentation": { - "kind": "markdown", - "value": "Type: `ScriptStatus` \nRead-only property \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'status'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'status'" - } - }, - { - "label": "'storageAccountSettings'", - "kind": "property", - "detail": "storageAccountSettings", - "documentation": { - "kind": "markdown", - "value": "Type: `StorageAccountConfiguration` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'storageAccountSettings'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'storageAccountSettings'" - } - }, - { - "label": "'supportingScriptUris'", - "kind": "property", - "detail": "supportingScriptUris", - "documentation": { - "kind": "markdown", - "value": "Type: `string[]` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'supportingScriptUris'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'supportingScriptUris'" - } - }, - { - "label": "'timeout'", - "kind": "property", - "detail": "timeout", - "documentation": { - "kind": "markdown", - "value": "Type: `string` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'timeout'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'timeout'" - } - }, - { - "label": "any", - "kind": "function", - "detail": "any()", - "deprecated": false, - "preselect": false, - "sortText": "3_any", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "any($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "array", - "kind": "function", - "detail": "array()", - "deprecated": false, - "preselect": false, - "sortText": "3_array", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "array($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "az", - "kind": "folder", - "detail": "az", - "deprecated": false, - "preselect": false, - "sortText": "3_az", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "az" - } - }, - { - "label": "badDepends", - "kind": "interface", - "detail": "badDepends", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends" - } - }, - { - "label": "badDepends2", - "kind": "interface", - "detail": "badDepends2", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends2" - } - }, - { - "label": "badDepends3", - "kind": "interface", - "detail": "badDepends3", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends3" - } - }, - { - "label": "badDepends4", - "kind": "interface", - "detail": "badDepends4", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends4" - } - }, - { - "label": "badDepends5", - "kind": "interface", - "detail": "badDepends5", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends5" - } - }, - { - "label": "badInterp", - "kind": "interface", - "detail": "badInterp", - "deprecated": false, - "preselect": false, - "sortText": "2_badInterp", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badInterp" - } - }, - { - "label": "bar", - "kind": "interface", - "detail": "bar", - "deprecated": false, - "preselect": false, - "sortText": "2_bar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bar" - } - }, - { - "label": "base64", - "kind": "function", - "detail": "base64()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToJson", - "kind": "function", - "detail": "base64ToJson()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToJson", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToJson($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToString", - "kind": "function", - "detail": "base64ToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "baz", - "kind": "interface", - "detail": "baz", - "deprecated": false, - "preselect": false, - "sortText": "2_baz", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "baz" - } - }, - { - "label": "bool", - "kind": "function", - "detail": "bool()", - "deprecated": false, - "preselect": false, - "sortText": "3_bool", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bool($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "coalesce", - "kind": "function", - "detail": "coalesce()", - "deprecated": false, - "preselect": false, - "sortText": "3_coalesce", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "coalesce($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "concat", - "kind": "function", - "detail": "concat()", - "deprecated": false, - "preselect": false, - "sortText": "3_concat", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "concat($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "contains", - "kind": "function", - "detail": "contains()", - "deprecated": false, - "preselect": false, - "sortText": "3_contains", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "contains($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dashesInPropertyNames", - "kind": "interface", - "detail": "dashesInPropertyNames", - "deprecated": false, - "preselect": false, - "sortText": "2_dashesInPropertyNames", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dashesInPropertyNames" - } - }, - { - "label": "dataUri", - "kind": "function", - "detail": "dataUri()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dataUriToString", - "kind": "function", - "detail": "dataUriToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUriToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUriToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dateTimeAdd", - "kind": "function", - "detail": "dateTimeAdd()", - "deprecated": false, - "preselect": false, - "sortText": "3_dateTimeAdd", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dateTimeAdd($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "deployment", - "kind": "function", - "detail": "deployment()", - "deprecated": false, - "preselect": false, - "sortText": "3_deployment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "deployment()$0" - } - }, - { - "label": "discriminatorKeyMissing", - "kind": "interface", - "detail": "discriminatorKeyMissing", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyMissing", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyMissing" - } - }, - { - "label": "discriminatorKeySetOne", - "kind": "interface", - "detail": "discriminatorKeySetOne", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOne", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOne" - } - }, - { - "label": "discriminatorKeySetOneCompletions", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions" - } - }, - { - "label": "discriminatorKeySetOneCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions2" - } - }, - { - "label": "discriminatorKeySetTwo", - "kind": "interface", - "detail": "discriminatorKeySetTwo", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwo" - } - }, - { - "label": "discriminatorKeySetTwoCompletions", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions" - } - }, - { - "label": "discriminatorKeySetTwoCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions2" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" - } - }, - { - "label": "discriminatorKeyValueMissing", - "kind": "interface", - "detail": "discriminatorKeyValueMissing", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissing", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissing" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions2", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions2" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions3", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions3" - } - }, - { - "label": "empty", - "kind": "function", - "detail": "empty()", - "deprecated": false, - "preselect": false, - "sortText": "3_empty", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "empty($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "endsWith", - "kind": "function", - "detail": "endsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_endsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "endsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "environment", - "kind": "function", - "detail": "environment()", - "deprecated": false, - "preselect": false, - "sortText": "3_environment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "environment()$0" - } - }, - { - "label": "extensionResourceId", - "kind": "function", - "detail": "extensionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_extensionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "extensionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "first", - "kind": "function", - "detail": "first()", - "deprecated": false, - "preselect": false, - "sortText": "3_first", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "first($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "fo", - "kind": "interface", - "detail": "fo", - "deprecated": false, - "preselect": false, - "sortText": "2_fo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "fo" - } - }, - { - "label": "foo", - "kind": "interface", - "detail": "foo", - "deprecated": false, - "preselect": false, - "sortText": "2_foo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "foo" - } - }, - { - "label": "format", - "kind": "function", - "detail": "format()", - "deprecated": false, - "preselect": false, - "sortText": "3_format", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "format($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "guid", - "kind": "function", - "detail": "guid()", - "deprecated": false, - "preselect": false, - "sortText": "3_guid", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "guid($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "incorrectPropertiesKey", - "kind": "interface", - "detail": "incorrectPropertiesKey", - "deprecated": false, - "preselect": false, - "sortText": "2_incorrectPropertiesKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "incorrectPropertiesKey" - } - }, - { - "label": "incorrectPropertiesKey2", - "kind": "interface", - "detail": "incorrectPropertiesKey2", - "deprecated": false, - "preselect": false, - "sortText": "2_incorrectPropertiesKey2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "incorrectPropertiesKey2" - } - }, - { - "label": "indexOf", - "kind": "function", - "detail": "indexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_indexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "indexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "int", - "kind": "function", - "detail": "int()", - "deprecated": false, - "preselect": false, - "sortText": "3_int", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "int($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "interpVal", - "kind": "variable", - "detail": "interpVal", - "deprecated": false, - "preselect": false, - "sortText": "2_interpVal", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "interpVal" - } - }, - { - "label": "intersection", - "kind": "function", - "detail": "intersection()", - "deprecated": false, - "preselect": false, - "sortText": "3_intersection", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "intersection($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "invalidDuplicateName1", - "kind": "interface", - "detail": "invalidDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName1" - } - }, - { - "label": "invalidDuplicateName2", - "kind": "interface", - "detail": "invalidDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName2" - } - }, - { - "label": "invalidDuplicateName3", - "kind": "interface", - "detail": "invalidDuplicateName3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName3" - } - }, - { - "label": "invalidExtensionResourceDuplicateName1", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName1" - } - }, - { - "label": "invalidExtensionResourceDuplicateName2", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName2" - } - }, - { - "label": "invalidScope", - "kind": "interface", - "detail": "invalidScope", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope" - } - }, - { - "label": "invalidScope2", - "kind": "interface", - "detail": "invalidScope2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope2" - } - }, - { - "label": "invalidScope3", - "kind": "interface", - "detail": "invalidScope3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope3" - } - }, - { - "label": "json", - "kind": "function", - "detail": "json()", - "deprecated": false, - "preselect": false, - "sortText": "3_json", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "json($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "last", - "kind": "function", - "detail": "last()", - "deprecated": false, - "preselect": false, - "sortText": "3_last", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "last($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "lastIndexOf", - "kind": "function", - "detail": "lastIndexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_lastIndexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "lastIndexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "length", - "kind": "function", - "detail": "length()", - "deprecated": false, - "preselect": false, - "sortText": "3_length", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "length($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "letsAccessTheDashes", - "kind": "variable", - "detail": "letsAccessTheDashes", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes" - } - }, - { - "label": "letsAccessTheDashes2", - "kind": "variable", - "detail": "letsAccessTheDashes2", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes2" - } - }, - { - "label": "listKeys", - "kind": "function", - "detail": "listKeys()", - "deprecated": false, - "preselect": false, - "sortText": "3_listKeys", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "listKeys($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "magicString1", - "kind": "variable", - "detail": "magicString1", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString1" - } - }, - { - "label": "magicString2", - "kind": "variable", - "detail": "magicString2", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString2" - } - }, - { - "label": "max", - "kind": "function", - "detail": "max()", - "deprecated": false, - "preselect": false, - "sortText": "3_max", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "max($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "min", - "kind": "function", - "detail": "min()", - "deprecated": false, - "preselect": false, - "sortText": "3_min", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "min($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "missingTopLevelProperties", - "kind": "interface", - "detail": "missingTopLevelProperties", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelProperties", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelProperties" - } - }, - { - "label": "missingTopLevelPropertiesExceptName", - "kind": "interface", - "detail": "missingTopLevelPropertiesExceptName", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelPropertiesExceptName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelPropertiesExceptName" - } - }, - { - "label": "missingType", - "kind": "interface", - "detail": "missingType", - "deprecated": false, - "preselect": false, - "sortText": "2_missingType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingType" - } - }, - { - "label": "mock", - "kind": "variable", - "detail": "mock", - "deprecated": false, - "preselect": false, - "sortText": "2_mock", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "mock" - } - }, - { - "label": "nestedDiscriminator", - "kind": "interface", - "detail": "nestedDiscriminator", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminator", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminator" - } - }, - { - "label": "nestedDiscriminatorArrayIndexCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorArrayIndexCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorArrayIndexCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorArrayIndexCompletions" - } - }, - { - "label": "nestedDiscriminatorCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions" - } - }, - { - "label": "nestedDiscriminatorCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions2" - } - }, - { - "label": "nestedDiscriminatorCompletions3", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions3" - } - }, - { - "label": "nestedDiscriminatorCompletions4", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions4", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions4" - } - }, - { - "label": "nestedDiscriminatorMissingKey", - "kind": "interface", - "detail": "nestedDiscriminatorMissingKey", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKey" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions2" - } - }, - { - "label": "nestedDiscriminatorMissingKeyIndexCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyIndexCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyIndexCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyIndexCompletions" - } - }, - { - "label": "notAResource", - "kind": "variable", - "detail": "notAResource", - "deprecated": false, - "preselect": false, - "sortText": "2_notAResource", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "notAResource" - } - }, - { - "label": "padLeft", - "kind": "function", - "detail": "padLeft()", - "deprecated": false, - "preselect": false, - "sortText": "3_padLeft", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "padLeft($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "pickZones", - "kind": "function", - "detail": "pickZones()", - "deprecated": false, - "preselect": false, - "sortText": "3_pickZones", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "pickZones($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "providers", - "kind": "function", - "detail": "providers()", - "deprecated": false, - "preselect": false, - "sortText": "3_providers", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "providers($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "range", - "kind": "function", - "detail": "range()", - "deprecated": false, - "preselect": false, - "sortText": "3_range", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "range($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "reference", - "kind": "function", - "detail": "reference()", - "deprecated": false, - "preselect": false, - "sortText": "3_reference", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "reference($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "replace", - "kind": "function", - "detail": "replace()", - "deprecated": false, - "preselect": false, - "sortText": "3_replace", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "replace($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceGroup", - "kind": "function", - "detail": "resourceGroup()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceGroup", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceGroup($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceId", - "kind": "function", - "detail": "resourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resrefpar", - "kind": "field", - "detail": "resrefpar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefpar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefpar" - } - }, - { - "label": "resrefvar", - "kind": "variable", - "detail": "resrefvar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefvar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefvar" - } - }, - { - "label": "runtimeInvalid", - "kind": "variable", - "detail": "runtimeInvalid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalid" - } - }, - { - "label": "runtimeInvalidRes1", - "kind": "interface", - "detail": "runtimeInvalidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes1" - } - }, - { - "label": "runtimeInvalidRes10", - "kind": "interface", - "detail": "runtimeInvalidRes10", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes10", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes10" - } - }, - { - "label": "runtimeInvalidRes11", - "kind": "interface", - "detail": "runtimeInvalidRes11", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes11", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes11" - } - }, - { - "label": "runtimeInvalidRes12", - "kind": "interface", - "detail": "runtimeInvalidRes12", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes12", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes12" - } - }, - { - "label": "runtimeInvalidRes13", - "kind": "interface", - "detail": "runtimeInvalidRes13", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes13", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes13" - } - }, - { - "label": "runtimeInvalidRes14", - "kind": "interface", - "detail": "runtimeInvalidRes14", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes14", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes14" - } - }, - { - "label": "runtimeInvalidRes15", - "kind": "interface", - "detail": "runtimeInvalidRes15", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes15", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes15" - } - }, - { - "label": "runtimeInvalidRes16", - "kind": "interface", - "detail": "runtimeInvalidRes16", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes16", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes16" - } - }, - { - "label": "runtimeInvalidRes17", - "kind": "interface", - "detail": "runtimeInvalidRes17", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes17", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes17" - } - }, - { - "label": "runtimeInvalidRes18", - "kind": "interface", - "detail": "runtimeInvalidRes18", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes18", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes18" - } - }, - { - "label": "runtimeInvalidRes2", - "kind": "interface", - "detail": "runtimeInvalidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes2" - } - }, - { - "label": "runtimeInvalidRes3", - "kind": "interface", - "detail": "runtimeInvalidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes3" - } - }, - { - "label": "runtimeInvalidRes4", - "kind": "interface", - "detail": "runtimeInvalidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes4" - } - }, - { - "label": "runtimeInvalidRes5", - "kind": "interface", - "detail": "runtimeInvalidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes5" - } - }, - { - "label": "runtimeInvalidRes6", - "kind": "interface", - "detail": "runtimeInvalidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes6" - } - }, - { - "label": "runtimeInvalidRes7", - "kind": "interface", - "detail": "runtimeInvalidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes7" - } - }, - { - "label": "runtimeInvalidRes8", - "kind": "interface", - "detail": "runtimeInvalidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes8" - } - }, - { - "label": "runtimeInvalidRes9", - "kind": "interface", - "detail": "runtimeInvalidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes9" - } - }, - { - "label": "runtimeValid", - "kind": "variable", - "detail": "runtimeValid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValid" - } - }, - { - "label": "runtimeValidRes1", - "kind": "interface", - "detail": "runtimeValidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes1" - } - }, - { - "label": "runtimeValidRes2", - "kind": "interface", - "detail": "runtimeValidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes2" - } - }, - { - "label": "runtimeValidRes3", - "kind": "interface", - "detail": "runtimeValidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes3" - } - }, - { - "label": "runtimeValidRes4", - "kind": "interface", - "detail": "runtimeValidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes4" - } - }, - { - "label": "runtimeValidRes5", - "kind": "interface", - "detail": "runtimeValidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes5" - } - }, - { - "label": "runtimeValidRes6", - "kind": "interface", - "detail": "runtimeValidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes6" - } - }, - { - "label": "runtimeValidRes7", - "kind": "interface", - "detail": "runtimeValidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes7" - } - }, - { - "label": "runtimeValidRes8", - "kind": "interface", - "detail": "runtimeValidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes8" - } - }, - { - "label": "runtimeValidRes9", - "kind": "interface", - "detail": "runtimeValidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes9" - } - }, - { - "label": "runtimefoo1", - "kind": "variable", - "detail": "runtimefoo1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo1" - } - }, - { - "label": "runtimefoo2", - "kind": "variable", - "detail": "runtimefoo2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo2" - } - }, - { - "label": "runtimefoo3", - "kind": "variable", - "detail": "runtimefoo3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo3" - } - }, - { - "label": "runtimefoo4", - "kind": "variable", - "detail": "runtimefoo4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo4" - } - }, - { - "label": "selfScope", - "kind": "interface", - "detail": "selfScope", - "deprecated": false, - "preselect": false, - "sortText": "2_selfScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "selfScope" - } - }, - { - "label": "skip", - "kind": "function", - "detail": "skip()", - "deprecated": false, - "preselect": false, - "sortText": "3_skip", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "skip($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "split", - "kind": "function", - "detail": "split()", - "deprecated": false, - "preselect": false, - "sortText": "3_split", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "split($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "startedTypingTypeWithQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithQuotes" - } - }, - { - "label": "startedTypingTypeWithoutQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithoutQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithoutQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithoutQuotes" - } - }, - { - "label": "startsWith", - "kind": "function", - "detail": "startsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_startsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "string", - "kind": "function", - "detail": "string()", - "deprecated": false, - "preselect": false, - "sortText": "3_string", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "string($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscription", - "kind": "function", - "detail": "subscription()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscription", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscription($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscriptionResourceId", - "kind": "function", - "detail": "subscriptionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscriptionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscriptionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "substring", - "kind": "function", - "detail": "substring()", - "deprecated": false, - "preselect": false, - "sortText": "3_substring", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "substring($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "sys", - "kind": "folder", - "detail": "sys", - "deprecated": false, - "preselect": false, - "sortText": "3_sys", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sys" - } - }, - { - "label": "take", - "kind": "function", - "detail": "take()", - "deprecated": false, - "preselect": false, - "sortText": "3_take", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "take($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "tenant", - "kind": "function", - "detail": "tenant()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenant", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenant()$0" - } - }, - { - "label": "tenantResourceId", - "kind": "function", - "detail": "tenantResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenantResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenantResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toLower", - "kind": "function", - "detail": "toLower()", - "deprecated": false, - "preselect": false, - "sortText": "3_toLower", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toLower($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toUpper", - "kind": "function", - "detail": "toUpper()", - "deprecated": false, - "preselect": false, - "sortText": "3_toUpper", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toUpper($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "trailingSpace", - "kind": "interface", - "detail": "trailingSpace", - "deprecated": false, - "preselect": false, - "sortText": "2_trailingSpace", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trailingSpace" - } - }, - { - "label": "trim", - "kind": "function", - "detail": "trim()", - "deprecated": false, - "preselect": false, - "sortText": "3_trim", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trim($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "unfinishedVnet", - "kind": "interface", - "detail": "unfinishedVnet", - "deprecated": false, - "preselect": false, - "sortText": "2_unfinishedVnet", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "unfinishedVnet" - } - }, - { - "label": "union", - "kind": "function", - "detail": "union()", - "deprecated": false, - "preselect": false, - "sortText": "3_union", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "union($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uniqueString", - "kind": "function", - "detail": "uniqueString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uniqueString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uniqueString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uri", - "kind": "function", - "detail": "uri()", - "deprecated": false, - "preselect": false, - "sortText": "3_uri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponent", - "kind": "function", - "detail": "uriComponent()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponent", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponent($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponentToString", - "kind": "function", - "detail": "uriComponentToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponentToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponentToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "validModule", - "kind": "module", - "detail": "validModule", - "deprecated": false, - "preselect": false, - "sortText": "2_validModule", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validModule" - } -},{ - "label": "validResourceForInvalidExtensionResourceDuplicateName", - "kind": "interface", - "detail": "validResourceForInvalidExtensionResourceDuplicateName", - "deprecated": false, - "preselect": false, - "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validResourceForInvalidExtensionResourceDuplicateName" - } - } +[ + { + "label": "'arguments'", + "kind": "property", + "detail": "arguments", + "documentation": { + "kind": "markdown", + "value": "Type: `string` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'arguments'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'arguments'" + } + }, + { + "label": "'azCliVersion'", + "kind": "property", + "detail": "azCliVersion (Required)", + "documentation": { + "kind": "markdown", + "value": "Type: `string` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'azCliVersion'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'azCliVersion'" + } + }, + { + "label": "'cleanupPreference'", + "kind": "property", + "detail": "cleanupPreference", + "documentation": { + "kind": "markdown", + "value": "Type: `'Always' | 'OnExpiration' | 'OnSuccess'` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'cleanupPreference'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'cleanupPreference'" + } + }, + { + "label": "'containerSettings'", + "kind": "property", + "detail": "containerSettings", + "documentation": { + "kind": "markdown", + "value": "Type: `ContainerConfiguration` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'containerSettings'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'containerSettings'" + } + }, + { + "label": "'environmentVariables'", + "kind": "property", + "detail": "environmentVariables", + "documentation": { + "kind": "markdown", + "value": "Type: `EnvironmentVariable[]` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'environmentVariables'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'environmentVariables'" + } + }, + { + "label": "'forceUpdateTag'", + "kind": "property", + "detail": "forceUpdateTag", + "documentation": { + "kind": "markdown", + "value": "Type: `string` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'forceUpdateTag'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'forceUpdateTag'" + } + }, + { + "label": "'outputs'", + "kind": "property", + "detail": "outputs", + "documentation": { + "kind": "markdown", + "value": "Type: `Dictionary` \nRead-only property \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'outputs'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'outputs'" + } + }, + { + "label": "'primaryScriptUri'", + "kind": "property", + "detail": "primaryScriptUri", + "documentation": { + "kind": "markdown", + "value": "Type: `string` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'primaryScriptUri'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'primaryScriptUri'" + } + }, + { + "label": "'provisioningState'", + "kind": "property", + "detail": "provisioningState", + "documentation": { + "kind": "markdown", + "value": "Type: `'Canceled' | 'Creating' | 'Failed' | 'ProvisioningResources' | 'Running' | 'Succeeded'` \nRead-only property \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'provisioningState'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'provisioningState'" + } + }, + { + "label": "'retentionInterval'", + "kind": "property", + "detail": "retentionInterval (Required)", + "documentation": { + "kind": "markdown", + "value": "Type: `string` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'retentionInterval'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'retentionInterval'" + } + }, + { + "label": "'scriptContent'", + "kind": "property", + "detail": "scriptContent", + "documentation": { + "kind": "markdown", + "value": "Type: `string` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'scriptContent'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'scriptContent'" + } + }, + { + "label": "'status'", + "kind": "property", + "detail": "status", + "documentation": { + "kind": "markdown", + "value": "Type: `ScriptStatus` \nRead-only property \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'status'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'status'" + } + }, + { + "label": "'storageAccountSettings'", + "kind": "property", + "detail": "storageAccountSettings", + "documentation": { + "kind": "markdown", + "value": "Type: `StorageAccountConfiguration` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'storageAccountSettings'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'storageAccountSettings'" + } + }, + { + "label": "'supportingScriptUris'", + "kind": "property", + "detail": "supportingScriptUris", + "documentation": { + "kind": "markdown", + "value": "Type: `string[]` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'supportingScriptUris'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'supportingScriptUris'" + } + }, + { + "label": "'timeout'", + "kind": "property", + "detail": "timeout", + "documentation": { + "kind": "markdown", + "value": "Type: `string` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'timeout'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'timeout'" + } + }, + { + "label": "any", + "kind": "function", + "detail": "any()", + "deprecated": false, + "preselect": false, + "sortText": "3_any", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "any($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "array", + "kind": "function", + "detail": "array()", + "deprecated": false, + "preselect": false, + "sortText": "3_array", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "array($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "az", + "kind": "folder", + "detail": "az", + "deprecated": false, + "preselect": false, + "sortText": "3_az", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "az" + } + }, + { + "label": "badDepends", + "kind": "interface", + "detail": "badDepends", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends" + } + }, + { + "label": "badDepends2", + "kind": "interface", + "detail": "badDepends2", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends2" + } + }, + { + "label": "badDepends3", + "kind": "interface", + "detail": "badDepends3", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends3" + } + }, + { + "label": "badDepends4", + "kind": "interface", + "detail": "badDepends4", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends4" + } + }, + { + "label": "badDepends5", + "kind": "interface", + "detail": "badDepends5", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends5" + } + }, + { + "label": "badInterp", + "kind": "interface", + "detail": "badInterp", + "deprecated": false, + "preselect": false, + "sortText": "2_badInterp", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badInterp" + } + }, + { + "label": "bar", + "kind": "interface", + "detail": "bar", + "deprecated": false, + "preselect": false, + "sortText": "2_bar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bar" + } + }, + { + "label": "base64", + "kind": "function", + "detail": "base64()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToJson", + "kind": "function", + "detail": "base64ToJson()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToJson", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToJson($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToString", + "kind": "function", + "detail": "base64ToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "baz", + "kind": "interface", + "detail": "baz", + "deprecated": false, + "preselect": false, + "sortText": "2_baz", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "baz" + } + }, + { + "label": "bool", + "kind": "function", + "detail": "bool()", + "deprecated": false, + "preselect": false, + "sortText": "3_bool", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bool($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "coalesce", + "kind": "function", + "detail": "coalesce()", + "deprecated": false, + "preselect": false, + "sortText": "3_coalesce", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "coalesce($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "concat", + "kind": "function", + "detail": "concat()", + "deprecated": false, + "preselect": false, + "sortText": "3_concat", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "concat($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "contains", + "kind": "function", + "detail": "contains()", + "deprecated": false, + "preselect": false, + "sortText": "3_contains", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "contains($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dashesInPropertyNames", + "kind": "interface", + "detail": "dashesInPropertyNames", + "deprecated": false, + "preselect": false, + "sortText": "2_dashesInPropertyNames", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dashesInPropertyNames" + } + }, + { + "label": "dataUri", + "kind": "function", + "detail": "dataUri()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dataUriToString", + "kind": "function", + "detail": "dataUriToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUriToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUriToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dateTimeAdd", + "kind": "function", + "detail": "dateTimeAdd()", + "deprecated": false, + "preselect": false, + "sortText": "3_dateTimeAdd", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dateTimeAdd($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "deployment", + "kind": "function", + "detail": "deployment()", + "deprecated": false, + "preselect": false, + "sortText": "3_deployment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "deployment()$0" + } + }, + { + "label": "discriminatorKeyMissing", + "kind": "interface", + "detail": "discriminatorKeyMissing", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyMissing", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyMissing" + } + }, + { + "label": "discriminatorKeySetOne", + "kind": "interface", + "detail": "discriminatorKeySetOne", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOne", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOne" + } + }, + { + "label": "discriminatorKeySetOneCompletions", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions" + } + }, + { + "label": "discriminatorKeySetOneCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions2" + } + }, + { + "label": "discriminatorKeySetTwo", + "kind": "interface", + "detail": "discriminatorKeySetTwo", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwo" + } + }, + { + "label": "discriminatorKeySetTwoCompletions", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions" + } + }, + { + "label": "discriminatorKeySetTwoCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions2" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" + } + }, + { + "label": "discriminatorKeyValueMissing", + "kind": "interface", + "detail": "discriminatorKeyValueMissing", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissing", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissing" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions2", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions2" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions3", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions3" + } + }, + { + "label": "empty", + "kind": "function", + "detail": "empty()", + "deprecated": false, + "preselect": false, + "sortText": "3_empty", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "empty($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "endsWith", + "kind": "function", + "detail": "endsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_endsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "endsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "environment", + "kind": "function", + "detail": "environment()", + "deprecated": false, + "preselect": false, + "sortText": "3_environment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "environment()$0" + } + }, + { + "label": "extensionResourceId", + "kind": "function", + "detail": "extensionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_extensionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "extensionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "first", + "kind": "function", + "detail": "first()", + "deprecated": false, + "preselect": false, + "sortText": "3_first", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "first($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "fo", + "kind": "interface", + "detail": "fo", + "deprecated": false, + "preselect": false, + "sortText": "2_fo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "fo" + } + }, + { + "label": "foo", + "kind": "interface", + "detail": "foo", + "deprecated": false, + "preselect": false, + "sortText": "2_foo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "foo" + } + }, + { + "label": "format", + "kind": "function", + "detail": "format()", + "deprecated": false, + "preselect": false, + "sortText": "3_format", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "format($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "guid", + "kind": "function", + "detail": "guid()", + "deprecated": false, + "preselect": false, + "sortText": "3_guid", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "guid($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "incorrectPropertiesKey", + "kind": "interface", + "detail": "incorrectPropertiesKey", + "deprecated": false, + "preselect": false, + "sortText": "2_incorrectPropertiesKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incorrectPropertiesKey" + } + }, + { + "label": "incorrectPropertiesKey2", + "kind": "interface", + "detail": "incorrectPropertiesKey2", + "deprecated": false, + "preselect": false, + "sortText": "2_incorrectPropertiesKey2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incorrectPropertiesKey2" + } + }, + { + "label": "indexOf", + "kind": "function", + "detail": "indexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_indexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "indexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "int", + "kind": "function", + "detail": "int()", + "deprecated": false, + "preselect": false, + "sortText": "3_int", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "int($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "interpVal", + "kind": "variable", + "detail": "interpVal", + "deprecated": false, + "preselect": false, + "sortText": "2_interpVal", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "interpVal" + } + }, + { + "label": "intersection", + "kind": "function", + "detail": "intersection()", + "deprecated": false, + "preselect": false, + "sortText": "3_intersection", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "intersection($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "invalidDecorator", + "kind": "interface", + "detail": "invalidDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDecorator" + } + }, + { + "label": "invalidDuplicateName1", + "kind": "interface", + "detail": "invalidDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName1" + } + }, + { + "label": "invalidDuplicateName2", + "kind": "interface", + "detail": "invalidDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName2" + } + }, + { + "label": "invalidDuplicateName3", + "kind": "interface", + "detail": "invalidDuplicateName3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName3" + } + }, + { + "label": "invalidExtensionResourceDuplicateName1", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName1" + } + }, + { + "label": "invalidExtensionResourceDuplicateName2", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName2" + } + }, + { + "label": "invalidScope", + "kind": "interface", + "detail": "invalidScope", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope" + } + }, + { + "label": "invalidScope2", + "kind": "interface", + "detail": "invalidScope2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope2" + } + }, + { + "label": "invalidScope3", + "kind": "interface", + "detail": "invalidScope3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope3" + } + }, + { + "label": "json", + "kind": "function", + "detail": "json()", + "deprecated": false, + "preselect": false, + "sortText": "3_json", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "json($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "last", + "kind": "function", + "detail": "last()", + "deprecated": false, + "preselect": false, + "sortText": "3_last", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "last($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "lastIndexOf", + "kind": "function", + "detail": "lastIndexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_lastIndexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "lastIndexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "length", + "kind": "function", + "detail": "length()", + "deprecated": false, + "preselect": false, + "sortText": "3_length", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "length($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "letsAccessTheDashes", + "kind": "variable", + "detail": "letsAccessTheDashes", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes" + } + }, + { + "label": "letsAccessTheDashes2", + "kind": "variable", + "detail": "letsAccessTheDashes2", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes2" + } + }, + { + "label": "listKeys", + "kind": "function", + "detail": "listKeys()", + "deprecated": false, + "preselect": false, + "sortText": "3_listKeys", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "listKeys($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "magicString1", + "kind": "variable", + "detail": "magicString1", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString1" + } + }, + { + "label": "magicString2", + "kind": "variable", + "detail": "magicString2", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString2" + } + }, + { + "label": "max", + "kind": "function", + "detail": "max()", + "deprecated": false, + "preselect": false, + "sortText": "3_max", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "max($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "min", + "kind": "function", + "detail": "min()", + "deprecated": false, + "preselect": false, + "sortText": "3_min", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "min($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "missingTopLevelProperties", + "kind": "interface", + "detail": "missingTopLevelProperties", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelProperties", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelProperties" + } + }, + { + "label": "missingTopLevelPropertiesExceptName", + "kind": "interface", + "detail": "missingTopLevelPropertiesExceptName", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelPropertiesExceptName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelPropertiesExceptName" + } + }, + { + "label": "missingType", + "kind": "interface", + "detail": "missingType", + "deprecated": false, + "preselect": false, + "sortText": "2_missingType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingType" + } + }, + { + "label": "mock", + "kind": "variable", + "detail": "mock", + "deprecated": false, + "preselect": false, + "sortText": "2_mock", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "mock" + } + }, + { + "label": "nestedDiscriminator", + "kind": "interface", + "detail": "nestedDiscriminator", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminator" + } + }, + { + "label": "nestedDiscriminatorArrayIndexCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorArrayIndexCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorArrayIndexCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorArrayIndexCompletions" + } + }, + { + "label": "nestedDiscriminatorCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions" + } + }, + { + "label": "nestedDiscriminatorCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions2" + } + }, + { + "label": "nestedDiscriminatorCompletions3", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions3" + } + }, + { + "label": "nestedDiscriminatorCompletions4", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions4", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions4" + } + }, + { + "label": "nestedDiscriminatorMissingKey", + "kind": "interface", + "detail": "nestedDiscriminatorMissingKey", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKey" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions2" + } + }, + { + "label": "nestedDiscriminatorMissingKeyIndexCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyIndexCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyIndexCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyIndexCompletions" + } + }, + { + "label": "notAResource", + "kind": "variable", + "detail": "notAResource", + "deprecated": false, + "preselect": false, + "sortText": "2_notAResource", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "notAResource" + } + }, + { + "label": "padLeft", + "kind": "function", + "detail": "padLeft()", + "deprecated": false, + "preselect": false, + "sortText": "3_padLeft", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "padLeft($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "pickZones", + "kind": "function", + "detail": "pickZones()", + "deprecated": false, + "preselect": false, + "sortText": "3_pickZones", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "pickZones($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "providers", + "kind": "function", + "detail": "providers()", + "deprecated": false, + "preselect": false, + "sortText": "3_providers", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "providers($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "range", + "kind": "function", + "detail": "range()", + "deprecated": false, + "preselect": false, + "sortText": "3_range", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "range($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "reference", + "kind": "function", + "detail": "reference()", + "deprecated": false, + "preselect": false, + "sortText": "3_reference", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "reference($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "replace", + "kind": "function", + "detail": "replace()", + "deprecated": false, + "preselect": false, + "sortText": "3_replace", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "replace($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceGroup", + "kind": "function", + "detail": "resourceGroup()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceGroup", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceGroup($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceId", + "kind": "function", + "detail": "resourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resrefpar", + "kind": "field", + "detail": "resrefpar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefpar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefpar" + } + }, + { + "label": "resrefvar", + "kind": "variable", + "detail": "resrefvar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefvar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefvar" + } + }, + { + "label": "runtimeInvalid", + "kind": "variable", + "detail": "runtimeInvalid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalid" + } + }, + { + "label": "runtimeInvalidRes1", + "kind": "interface", + "detail": "runtimeInvalidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes1" + } + }, + { + "label": "runtimeInvalidRes10", + "kind": "interface", + "detail": "runtimeInvalidRes10", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes10", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes10" + } + }, + { + "label": "runtimeInvalidRes11", + "kind": "interface", + "detail": "runtimeInvalidRes11", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes11", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes11" + } + }, + { + "label": "runtimeInvalidRes12", + "kind": "interface", + "detail": "runtimeInvalidRes12", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes12", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes12" + } + }, + { + "label": "runtimeInvalidRes13", + "kind": "interface", + "detail": "runtimeInvalidRes13", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes13", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes13" + } + }, + { + "label": "runtimeInvalidRes14", + "kind": "interface", + "detail": "runtimeInvalidRes14", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes14", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes14" + } + }, + { + "label": "runtimeInvalidRes15", + "kind": "interface", + "detail": "runtimeInvalidRes15", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes15", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes15" + } + }, + { + "label": "runtimeInvalidRes16", + "kind": "interface", + "detail": "runtimeInvalidRes16", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes16", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes16" + } + }, + { + "label": "runtimeInvalidRes17", + "kind": "interface", + "detail": "runtimeInvalidRes17", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes17", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes17" + } + }, + { + "label": "runtimeInvalidRes18", + "kind": "interface", + "detail": "runtimeInvalidRes18", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes18", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes18" + } + }, + { + "label": "runtimeInvalidRes2", + "kind": "interface", + "detail": "runtimeInvalidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes2" + } + }, + { + "label": "runtimeInvalidRes3", + "kind": "interface", + "detail": "runtimeInvalidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes3" + } + }, + { + "label": "runtimeInvalidRes4", + "kind": "interface", + "detail": "runtimeInvalidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes4" + } + }, + { + "label": "runtimeInvalidRes5", + "kind": "interface", + "detail": "runtimeInvalidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes5" + } + }, + { + "label": "runtimeInvalidRes6", + "kind": "interface", + "detail": "runtimeInvalidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes6" + } + }, + { + "label": "runtimeInvalidRes7", + "kind": "interface", + "detail": "runtimeInvalidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes7" + } + }, + { + "label": "runtimeInvalidRes8", + "kind": "interface", + "detail": "runtimeInvalidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes8" + } + }, + { + "label": "runtimeInvalidRes9", + "kind": "interface", + "detail": "runtimeInvalidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes9" + } + }, + { + "label": "runtimeValid", + "kind": "variable", + "detail": "runtimeValid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValid" + } + }, + { + "label": "runtimeValidRes1", + "kind": "interface", + "detail": "runtimeValidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes1" + } + }, + { + "label": "runtimeValidRes2", + "kind": "interface", + "detail": "runtimeValidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes2" + } + }, + { + "label": "runtimeValidRes3", + "kind": "interface", + "detail": "runtimeValidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes3" + } + }, + { + "label": "runtimeValidRes4", + "kind": "interface", + "detail": "runtimeValidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes4" + } + }, + { + "label": "runtimeValidRes5", + "kind": "interface", + "detail": "runtimeValidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes5" + } + }, + { + "label": "runtimeValidRes6", + "kind": "interface", + "detail": "runtimeValidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes6" + } + }, + { + "label": "runtimeValidRes7", + "kind": "interface", + "detail": "runtimeValidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes7" + } + }, + { + "label": "runtimeValidRes8", + "kind": "interface", + "detail": "runtimeValidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes8" + } + }, + { + "label": "runtimeValidRes9", + "kind": "interface", + "detail": "runtimeValidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes9" + } + }, + { + "label": "runtimefoo1", + "kind": "variable", + "detail": "runtimefoo1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo1" + } + }, + { + "label": "runtimefoo2", + "kind": "variable", + "detail": "runtimefoo2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo2" + } + }, + { + "label": "runtimefoo3", + "kind": "variable", + "detail": "runtimefoo3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo3" + } + }, + { + "label": "runtimefoo4", + "kind": "variable", + "detail": "runtimefoo4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo4" + } + }, + { + "label": "selfScope", + "kind": "interface", + "detail": "selfScope", + "deprecated": false, + "preselect": false, + "sortText": "2_selfScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "selfScope" + } + }, + { + "label": "skip", + "kind": "function", + "detail": "skip()", + "deprecated": false, + "preselect": false, + "sortText": "3_skip", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "skip($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "split", + "kind": "function", + "detail": "split()", + "deprecated": false, + "preselect": false, + "sortText": "3_split", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "split($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "startedTypingTypeWithQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithQuotes" + } + }, + { + "label": "startedTypingTypeWithoutQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithoutQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithoutQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithoutQuotes" + } + }, + { + "label": "startsWith", + "kind": "function", + "detail": "startsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_startsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "string", + "kind": "function", + "detail": "string()", + "deprecated": false, + "preselect": false, + "sortText": "3_string", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "string($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscription", + "kind": "function", + "detail": "subscription()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscription", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscription($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscriptionResourceId", + "kind": "function", + "detail": "subscriptionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscriptionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscriptionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "substring", + "kind": "function", + "detail": "substring()", + "deprecated": false, + "preselect": false, + "sortText": "3_substring", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "substring($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "sys", + "kind": "folder", + "detail": "sys", + "deprecated": false, + "preselect": false, + "sortText": "3_sys", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sys" + } + }, + { + "label": "take", + "kind": "function", + "detail": "take()", + "deprecated": false, + "preselect": false, + "sortText": "3_take", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "take($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "tenant", + "kind": "function", + "detail": "tenant()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenant", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenant()$0" + } + }, + { + "label": "tenantResourceId", + "kind": "function", + "detail": "tenantResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenantResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenantResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLower", + "kind": "function", + "detail": "toLower()", + "deprecated": false, + "preselect": false, + "sortText": "3_toLower", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toLower($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toUpper", + "kind": "function", + "detail": "toUpper()", + "deprecated": false, + "preselect": false, + "sortText": "3_toUpper", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toUpper($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "trailingSpace", + "kind": "interface", + "detail": "trailingSpace", + "deprecated": false, + "preselect": false, + "sortText": "2_trailingSpace", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trailingSpace" + } + }, + { + "label": "trim", + "kind": "function", + "detail": "trim()", + "deprecated": false, + "preselect": false, + "sortText": "3_trim", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trim($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "unfinishedVnet", + "kind": "interface", + "detail": "unfinishedVnet", + "deprecated": false, + "preselect": false, + "sortText": "2_unfinishedVnet", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "unfinishedVnet" + } + }, + { + "label": "union", + "kind": "function", + "detail": "union()", + "deprecated": false, + "preselect": false, + "sortText": "3_union", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "union($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uniqueString", + "kind": "function", + "detail": "uniqueString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uniqueString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uniqueString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uri", + "kind": "function", + "detail": "uri()", + "deprecated": false, + "preselect": false, + "sortText": "3_uri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponent", + "kind": "function", + "detail": "uriComponent()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponent", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponent($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponentToString", + "kind": "function", + "detail": "uriComponentToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponentToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponentToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "validModule", + "kind": "module", + "detail": "validModule", + "deprecated": false, + "preselect": false, + "sortText": "2_validModule", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validModule" + } + }, + { + "label": "validResourceForInvalidExtensionResourceDuplicateName", + "kind": "interface", + "detail": "validResourceForInvalidExtensionResourceDuplicateName", + "deprecated": false, + "preselect": false, + "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validResourceForInvalidExtensionResourceDuplicateName" + } + } ] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols.json index 9ac57234166..058ae99774d 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols.json @@ -1,2334 +1,2349 @@ -[ - { - "label": "'createMode'", - "kind": "property", - "detail": "createMode (Required)", - "documentation": { - "kind": "markdown", - "value": "Type: `'Default' | 'Restore'` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'createMode'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'createMode'" - } - }, - { - "label": "any", - "kind": "function", - "detail": "any()", - "deprecated": false, - "preselect": false, - "sortText": "3_any", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "any($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "array", - "kind": "function", - "detail": "array()", - "deprecated": false, - "preselect": false, - "sortText": "3_array", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "array($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "az", - "kind": "folder", - "detail": "az", - "deprecated": false, - "preselect": false, - "sortText": "3_az", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "az" - } - }, - { - "label": "badDepends", - "kind": "interface", - "detail": "badDepends", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends" - } - }, - { - "label": "badDepends2", - "kind": "interface", - "detail": "badDepends2", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends2" - } - }, - { - "label": "badDepends3", - "kind": "interface", - "detail": "badDepends3", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends3" - } - }, - { - "label": "badDepends4", - "kind": "interface", - "detail": "badDepends4", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends4" - } - }, - { - "label": "badDepends5", - "kind": "interface", - "detail": "badDepends5", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends5" - } - }, - { - "label": "badInterp", - "kind": "interface", - "detail": "badInterp", - "deprecated": false, - "preselect": false, - "sortText": "2_badInterp", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badInterp" - } - }, - { - "label": "bar", - "kind": "interface", - "detail": "bar", - "deprecated": false, - "preselect": false, - "sortText": "2_bar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bar" - } - }, - { - "label": "base64", - "kind": "function", - "detail": "base64()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToJson", - "kind": "function", - "detail": "base64ToJson()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToJson", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToJson($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToString", - "kind": "function", - "detail": "base64ToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "baz", - "kind": "interface", - "detail": "baz", - "deprecated": false, - "preselect": false, - "sortText": "2_baz", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "baz" - } - }, - { - "label": "bool", - "kind": "function", - "detail": "bool()", - "deprecated": false, - "preselect": false, - "sortText": "3_bool", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bool($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "coalesce", - "kind": "function", - "detail": "coalesce()", - "deprecated": false, - "preselect": false, - "sortText": "3_coalesce", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "coalesce($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "concat", - "kind": "function", - "detail": "concat()", - "deprecated": false, - "preselect": false, - "sortText": "3_concat", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "concat($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "contains", - "kind": "function", - "detail": "contains()", - "deprecated": false, - "preselect": false, - "sortText": "3_contains", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "contains($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dashesInPropertyNames", - "kind": "interface", - "detail": "dashesInPropertyNames", - "deprecated": false, - "preselect": false, - "sortText": "2_dashesInPropertyNames", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dashesInPropertyNames" - } - }, - { - "label": "dataUri", - "kind": "function", - "detail": "dataUri()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dataUriToString", - "kind": "function", - "detail": "dataUriToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUriToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUriToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dateTimeAdd", - "kind": "function", - "detail": "dateTimeAdd()", - "deprecated": false, - "preselect": false, - "sortText": "3_dateTimeAdd", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dateTimeAdd($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "deployment", - "kind": "function", - "detail": "deployment()", - "deprecated": false, - "preselect": false, - "sortText": "3_deployment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "deployment()$0" - } - }, - { - "label": "discriminatorKeyMissing", - "kind": "interface", - "detail": "discriminatorKeyMissing", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyMissing", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyMissing" - } - }, - { - "label": "discriminatorKeySetOne", - "kind": "interface", - "detail": "discriminatorKeySetOne", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOne", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOne" - } - }, - { - "label": "discriminatorKeySetOneCompletions", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions" - } - }, - { - "label": "discriminatorKeySetOneCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions2" - } - }, - { - "label": "discriminatorKeySetOneCompletions3", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions3" - } - }, - { - "label": "discriminatorKeySetTwo", - "kind": "interface", - "detail": "discriminatorKeySetTwo", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwo" - } - }, - { - "label": "discriminatorKeySetTwoCompletions", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions" - } - }, - { - "label": "discriminatorKeySetTwoCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions2" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" - } - }, - { - "label": "discriminatorKeyValueMissing", - "kind": "interface", - "detail": "discriminatorKeyValueMissing", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissing", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissing" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions2", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions2" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions3", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions3" - } - }, - { - "label": "empty", - "kind": "function", - "detail": "empty()", - "deprecated": false, - "preselect": false, - "sortText": "3_empty", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "empty($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "endsWith", - "kind": "function", - "detail": "endsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_endsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "endsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "environment", - "kind": "function", - "detail": "environment()", - "deprecated": false, - "preselect": false, - "sortText": "3_environment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "environment()$0" - } - }, - { - "label": "extensionResourceId", - "kind": "function", - "detail": "extensionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_extensionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "extensionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "first", - "kind": "function", - "detail": "first()", - "deprecated": false, - "preselect": false, - "sortText": "3_first", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "first($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "fo", - "kind": "interface", - "detail": "fo", - "deprecated": false, - "preselect": false, - "sortText": "2_fo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "fo" - } - }, - { - "label": "foo", - "kind": "interface", - "detail": "foo", - "deprecated": false, - "preselect": false, - "sortText": "2_foo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "foo" - } - }, - { - "label": "format", - "kind": "function", - "detail": "format()", - "deprecated": false, - "preselect": false, - "sortText": "3_format", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "format($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "guid", - "kind": "function", - "detail": "guid()", - "deprecated": false, - "preselect": false, - "sortText": "3_guid", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "guid($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "incorrectPropertiesKey", - "kind": "interface", - "detail": "incorrectPropertiesKey", - "deprecated": false, - "preselect": false, - "sortText": "2_incorrectPropertiesKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "incorrectPropertiesKey" - } - }, - { - "label": "incorrectPropertiesKey2", - "kind": "interface", - "detail": "incorrectPropertiesKey2", - "deprecated": false, - "preselect": false, - "sortText": "2_incorrectPropertiesKey2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "incorrectPropertiesKey2" - } - }, - { - "label": "indexOf", - "kind": "function", - "detail": "indexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_indexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "indexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "int", - "kind": "function", - "detail": "int()", - "deprecated": false, - "preselect": false, - "sortText": "3_int", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "int($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "interpVal", - "kind": "variable", - "detail": "interpVal", - "deprecated": false, - "preselect": false, - "sortText": "2_interpVal", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "interpVal" - } - }, - { - "label": "intersection", - "kind": "function", - "detail": "intersection()", - "deprecated": false, - "preselect": false, - "sortText": "3_intersection", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "intersection($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "invalidDuplicateName1", - "kind": "interface", - "detail": "invalidDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName1" - } - }, - { - "label": "invalidDuplicateName2", - "kind": "interface", - "detail": "invalidDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName2" - } - }, - { - "label": "invalidDuplicateName3", - "kind": "interface", - "detail": "invalidDuplicateName3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName3" - } - }, - { - "label": "invalidExtensionResourceDuplicateName1", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName1" - } - }, - { - "label": "invalidExtensionResourceDuplicateName2", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName2" - } - }, - { - "label": "invalidScope", - "kind": "interface", - "detail": "invalidScope", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope" - } - }, - { - "label": "invalidScope2", - "kind": "interface", - "detail": "invalidScope2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope2" - } - }, - { - "label": "invalidScope3", - "kind": "interface", - "detail": "invalidScope3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope3" - } - }, - { - "label": "json", - "kind": "function", - "detail": "json()", - "deprecated": false, - "preselect": false, - "sortText": "3_json", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "json($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "last", - "kind": "function", - "detail": "last()", - "deprecated": false, - "preselect": false, - "sortText": "3_last", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "last($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "lastIndexOf", - "kind": "function", - "detail": "lastIndexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_lastIndexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "lastIndexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "length", - "kind": "function", - "detail": "length()", - "deprecated": false, - "preselect": false, - "sortText": "3_length", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "length($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "letsAccessTheDashes", - "kind": "variable", - "detail": "letsAccessTheDashes", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes" - } - }, - { - "label": "letsAccessTheDashes2", - "kind": "variable", - "detail": "letsAccessTheDashes2", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes2" - } - }, - { - "label": "listKeys", - "kind": "function", - "detail": "listKeys()", - "deprecated": false, - "preselect": false, - "sortText": "3_listKeys", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "listKeys($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "magicString1", - "kind": "variable", - "detail": "magicString1", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString1" - } - }, - { - "label": "magicString2", - "kind": "variable", - "detail": "magicString2", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString2" - } - }, - { - "label": "max", - "kind": "function", - "detail": "max()", - "deprecated": false, - "preselect": false, - "sortText": "3_max", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "max($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "min", - "kind": "function", - "detail": "min()", - "deprecated": false, - "preselect": false, - "sortText": "3_min", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "min($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "missingTopLevelProperties", - "kind": "interface", - "detail": "missingTopLevelProperties", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelProperties", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelProperties" - } - }, - { - "label": "missingTopLevelPropertiesExceptName", - "kind": "interface", - "detail": "missingTopLevelPropertiesExceptName", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelPropertiesExceptName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelPropertiesExceptName" - } - }, - { - "label": "missingType", - "kind": "interface", - "detail": "missingType", - "deprecated": false, - "preselect": false, - "sortText": "2_missingType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingType" - } - }, - { - "label": "mock", - "kind": "variable", - "detail": "mock", - "deprecated": false, - "preselect": false, - "sortText": "2_mock", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "mock" - } - }, - { - "label": "nestedDiscriminator", - "kind": "interface", - "detail": "nestedDiscriminator", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminator", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminator" - } - }, - { - "label": "nestedDiscriminatorArrayIndexCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorArrayIndexCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorArrayIndexCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorArrayIndexCompletions" - } - }, - { - "label": "nestedDiscriminatorCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions" - } - }, - { - "label": "nestedDiscriminatorCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions2" - } - }, - { - "label": "nestedDiscriminatorCompletions3", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions3" - } - }, - { - "label": "nestedDiscriminatorCompletions4", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions4", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions4" - } - }, - { - "label": "nestedDiscriminatorMissingKey", - "kind": "interface", - "detail": "nestedDiscriminatorMissingKey", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKey" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions2" - } - }, - { - "label": "notAResource", - "kind": "variable", - "detail": "notAResource", - "deprecated": false, - "preselect": false, - "sortText": "2_notAResource", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "notAResource" - } - }, - { - "label": "padLeft", - "kind": "function", - "detail": "padLeft()", - "deprecated": false, - "preselect": false, - "sortText": "3_padLeft", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "padLeft($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "pickZones", - "kind": "function", - "detail": "pickZones()", - "deprecated": false, - "preselect": false, - "sortText": "3_pickZones", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "pickZones($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "providers", - "kind": "function", - "detail": "providers()", - "deprecated": false, - "preselect": false, - "sortText": "3_providers", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "providers($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "range", - "kind": "function", - "detail": "range()", - "deprecated": false, - "preselect": false, - "sortText": "3_range", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "range($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "reference", - "kind": "function", - "detail": "reference()", - "deprecated": false, - "preselect": false, - "sortText": "3_reference", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "reference($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "replace", - "kind": "function", - "detail": "replace()", - "deprecated": false, - "preselect": false, - "sortText": "3_replace", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "replace($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceGroup", - "kind": "function", - "detail": "resourceGroup()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceGroup", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceGroup($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceId", - "kind": "function", - "detail": "resourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resrefpar", - "kind": "field", - "detail": "resrefpar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefpar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefpar" - } - }, - { - "label": "resrefvar", - "kind": "variable", - "detail": "resrefvar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefvar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefvar" - } - }, - { - "label": "runtimeInvalid", - "kind": "variable", - "detail": "runtimeInvalid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalid" - } - }, - { - "label": "runtimeInvalidRes1", - "kind": "interface", - "detail": "runtimeInvalidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes1" - } - }, - { - "label": "runtimeInvalidRes10", - "kind": "interface", - "detail": "runtimeInvalidRes10", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes10", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes10" - } - }, - { - "label": "runtimeInvalidRes11", - "kind": "interface", - "detail": "runtimeInvalidRes11", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes11", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes11" - } - }, - { - "label": "runtimeInvalidRes12", - "kind": "interface", - "detail": "runtimeInvalidRes12", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes12", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes12" - } - }, - { - "label": "runtimeInvalidRes13", - "kind": "interface", - "detail": "runtimeInvalidRes13", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes13", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes13" - } - }, - { - "label": "runtimeInvalidRes14", - "kind": "interface", - "detail": "runtimeInvalidRes14", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes14", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes14" - } - }, - { - "label": "runtimeInvalidRes15", - "kind": "interface", - "detail": "runtimeInvalidRes15", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes15", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes15" - } - }, - { - "label": "runtimeInvalidRes16", - "kind": "interface", - "detail": "runtimeInvalidRes16", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes16", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes16" - } - }, - { - "label": "runtimeInvalidRes17", - "kind": "interface", - "detail": "runtimeInvalidRes17", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes17", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes17" - } - }, - { - "label": "runtimeInvalidRes18", - "kind": "interface", - "detail": "runtimeInvalidRes18", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes18", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes18" - } - }, - { - "label": "runtimeInvalidRes2", - "kind": "interface", - "detail": "runtimeInvalidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes2" - } - }, - { - "label": "runtimeInvalidRes3", - "kind": "interface", - "detail": "runtimeInvalidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes3" - } - }, - { - "label": "runtimeInvalidRes4", - "kind": "interface", - "detail": "runtimeInvalidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes4" - } - }, - { - "label": "runtimeInvalidRes5", - "kind": "interface", - "detail": "runtimeInvalidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes5" - } - }, - { - "label": "runtimeInvalidRes6", - "kind": "interface", - "detail": "runtimeInvalidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes6" - } - }, - { - "label": "runtimeInvalidRes7", - "kind": "interface", - "detail": "runtimeInvalidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes7" - } - }, - { - "label": "runtimeInvalidRes8", - "kind": "interface", - "detail": "runtimeInvalidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes8" - } - }, - { - "label": "runtimeInvalidRes9", - "kind": "interface", - "detail": "runtimeInvalidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes9" - } - }, - { - "label": "runtimeValid", - "kind": "variable", - "detail": "runtimeValid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValid" - } - }, - { - "label": "runtimeValidRes1", - "kind": "interface", - "detail": "runtimeValidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes1" - } - }, - { - "label": "runtimeValidRes2", - "kind": "interface", - "detail": "runtimeValidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes2" - } - }, - { - "label": "runtimeValidRes3", - "kind": "interface", - "detail": "runtimeValidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes3" - } - }, - { - "label": "runtimeValidRes4", - "kind": "interface", - "detail": "runtimeValidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes4" - } - }, - { - "label": "runtimeValidRes5", - "kind": "interface", - "detail": "runtimeValidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes5" - } - }, - { - "label": "runtimeValidRes6", - "kind": "interface", - "detail": "runtimeValidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes6" - } - }, - { - "label": "runtimeValidRes7", - "kind": "interface", - "detail": "runtimeValidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes7" - } - }, - { - "label": "runtimeValidRes8", - "kind": "interface", - "detail": "runtimeValidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes8" - } - }, - { - "label": "runtimeValidRes9", - "kind": "interface", - "detail": "runtimeValidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes9" - } - }, - { - "label": "runtimefoo1", - "kind": "variable", - "detail": "runtimefoo1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo1" - } - }, - { - "label": "runtimefoo2", - "kind": "variable", - "detail": "runtimefoo2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo2" - } - }, - { - "label": "runtimefoo3", - "kind": "variable", - "detail": "runtimefoo3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo3" - } - }, - { - "label": "runtimefoo4", - "kind": "variable", - "detail": "runtimefoo4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo4" - } - }, - { - "label": "selfScope", - "kind": "interface", - "detail": "selfScope", - "deprecated": false, - "preselect": false, - "sortText": "2_selfScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "selfScope" - } - }, - { - "label": "skip", - "kind": "function", - "detail": "skip()", - "deprecated": false, - "preselect": false, - "sortText": "3_skip", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "skip($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "split", - "kind": "function", - "detail": "split()", - "deprecated": false, - "preselect": false, - "sortText": "3_split", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "split($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "startedTypingTypeWithQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithQuotes" - } - }, - { - "label": "startedTypingTypeWithoutQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithoutQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithoutQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithoutQuotes" - } - }, - { - "label": "startsWith", - "kind": "function", - "detail": "startsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_startsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "string", - "kind": "function", - "detail": "string()", - "deprecated": false, - "preselect": false, - "sortText": "3_string", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "string($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscription", - "kind": "function", - "detail": "subscription()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscription", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscription($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscriptionResourceId", - "kind": "function", - "detail": "subscriptionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscriptionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscriptionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "substring", - "kind": "function", - "detail": "substring()", - "deprecated": false, - "preselect": false, - "sortText": "3_substring", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "substring($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "sys", - "kind": "folder", - "detail": "sys", - "deprecated": false, - "preselect": false, - "sortText": "3_sys", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sys" - } - }, - { - "label": "take", - "kind": "function", - "detail": "take()", - "deprecated": false, - "preselect": false, - "sortText": "3_take", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "take($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "tenant", - "kind": "function", - "detail": "tenant()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenant", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenant()$0" - } - }, - { - "label": "tenantResourceId", - "kind": "function", - "detail": "tenantResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenantResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenantResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toLower", - "kind": "function", - "detail": "toLower()", - "deprecated": false, - "preselect": false, - "sortText": "3_toLower", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toLower($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toUpper", - "kind": "function", - "detail": "toUpper()", - "deprecated": false, - "preselect": false, - "sortText": "3_toUpper", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toUpper($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "trailingSpace", - "kind": "interface", - "detail": "trailingSpace", - "deprecated": false, - "preselect": false, - "sortText": "2_trailingSpace", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trailingSpace" - } - }, - { - "label": "trim", - "kind": "function", - "detail": "trim()", - "deprecated": false, - "preselect": false, - "sortText": "3_trim", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trim($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "unfinishedVnet", - "kind": "interface", - "detail": "unfinishedVnet", - "deprecated": false, - "preselect": false, - "sortText": "2_unfinishedVnet", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "unfinishedVnet" - } - }, - { - "label": "union", - "kind": "function", - "detail": "union()", - "deprecated": false, - "preselect": false, - "sortText": "3_union", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "union($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uniqueString", - "kind": "function", - "detail": "uniqueString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uniqueString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uniqueString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uri", - "kind": "function", - "detail": "uri()", - "deprecated": false, - "preselect": false, - "sortText": "3_uri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponent", - "kind": "function", - "detail": "uriComponent()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponent", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponent($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponentToString", - "kind": "function", - "detail": "uriComponentToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponentToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponentToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "validModule", - "kind": "module", - "detail": "validModule", - "deprecated": false, - "preselect": false, - "sortText": "2_validModule", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validModule" - } -},{ - "label": "validResourceForInvalidExtensionResourceDuplicateName", - "kind": "interface", - "detail": "validResourceForInvalidExtensionResourceDuplicateName", - "deprecated": false, - "preselect": false, - "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validResourceForInvalidExtensionResourceDuplicateName" - } - } +[ + { + "label": "'createMode'", + "kind": "property", + "detail": "createMode (Required)", + "documentation": { + "kind": "markdown", + "value": "Type: `'Default' | 'Restore'` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'createMode'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'createMode'" + } + }, + { + "label": "any", + "kind": "function", + "detail": "any()", + "deprecated": false, + "preselect": false, + "sortText": "3_any", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "any($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "array", + "kind": "function", + "detail": "array()", + "deprecated": false, + "preselect": false, + "sortText": "3_array", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "array($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "az", + "kind": "folder", + "detail": "az", + "deprecated": false, + "preselect": false, + "sortText": "3_az", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "az" + } + }, + { + "label": "badDepends", + "kind": "interface", + "detail": "badDepends", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends" + } + }, + { + "label": "badDepends2", + "kind": "interface", + "detail": "badDepends2", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends2" + } + }, + { + "label": "badDepends3", + "kind": "interface", + "detail": "badDepends3", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends3" + } + }, + { + "label": "badDepends4", + "kind": "interface", + "detail": "badDepends4", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends4" + } + }, + { + "label": "badDepends5", + "kind": "interface", + "detail": "badDepends5", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends5" + } + }, + { + "label": "badInterp", + "kind": "interface", + "detail": "badInterp", + "deprecated": false, + "preselect": false, + "sortText": "2_badInterp", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badInterp" + } + }, + { + "label": "bar", + "kind": "interface", + "detail": "bar", + "deprecated": false, + "preselect": false, + "sortText": "2_bar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bar" + } + }, + { + "label": "base64", + "kind": "function", + "detail": "base64()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToJson", + "kind": "function", + "detail": "base64ToJson()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToJson", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToJson($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToString", + "kind": "function", + "detail": "base64ToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "baz", + "kind": "interface", + "detail": "baz", + "deprecated": false, + "preselect": false, + "sortText": "2_baz", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "baz" + } + }, + { + "label": "bool", + "kind": "function", + "detail": "bool()", + "deprecated": false, + "preselect": false, + "sortText": "3_bool", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bool($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "coalesce", + "kind": "function", + "detail": "coalesce()", + "deprecated": false, + "preselect": false, + "sortText": "3_coalesce", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "coalesce($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "concat", + "kind": "function", + "detail": "concat()", + "deprecated": false, + "preselect": false, + "sortText": "3_concat", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "concat($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "contains", + "kind": "function", + "detail": "contains()", + "deprecated": false, + "preselect": false, + "sortText": "3_contains", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "contains($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dashesInPropertyNames", + "kind": "interface", + "detail": "dashesInPropertyNames", + "deprecated": false, + "preselect": false, + "sortText": "2_dashesInPropertyNames", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dashesInPropertyNames" + } + }, + { + "label": "dataUri", + "kind": "function", + "detail": "dataUri()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dataUriToString", + "kind": "function", + "detail": "dataUriToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUriToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUriToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dateTimeAdd", + "kind": "function", + "detail": "dateTimeAdd()", + "deprecated": false, + "preselect": false, + "sortText": "3_dateTimeAdd", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dateTimeAdd($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "deployment", + "kind": "function", + "detail": "deployment()", + "deprecated": false, + "preselect": false, + "sortText": "3_deployment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "deployment()$0" + } + }, + { + "label": "discriminatorKeyMissing", + "kind": "interface", + "detail": "discriminatorKeyMissing", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyMissing", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyMissing" + } + }, + { + "label": "discriminatorKeySetOne", + "kind": "interface", + "detail": "discriminatorKeySetOne", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOne", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOne" + } + }, + { + "label": "discriminatorKeySetOneCompletions", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions" + } + }, + { + "label": "discriminatorKeySetOneCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions2" + } + }, + { + "label": "discriminatorKeySetOneCompletions3", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions3" + } + }, + { + "label": "discriminatorKeySetTwo", + "kind": "interface", + "detail": "discriminatorKeySetTwo", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwo" + } + }, + { + "label": "discriminatorKeySetTwoCompletions", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions" + } + }, + { + "label": "discriminatorKeySetTwoCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions2" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" + } + }, + { + "label": "discriminatorKeyValueMissing", + "kind": "interface", + "detail": "discriminatorKeyValueMissing", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissing", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissing" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions2", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions2" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions3", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions3" + } + }, + { + "label": "empty", + "kind": "function", + "detail": "empty()", + "deprecated": false, + "preselect": false, + "sortText": "3_empty", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "empty($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "endsWith", + "kind": "function", + "detail": "endsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_endsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "endsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "environment", + "kind": "function", + "detail": "environment()", + "deprecated": false, + "preselect": false, + "sortText": "3_environment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "environment()$0" + } + }, + { + "label": "extensionResourceId", + "kind": "function", + "detail": "extensionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_extensionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "extensionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "first", + "kind": "function", + "detail": "first()", + "deprecated": false, + "preselect": false, + "sortText": "3_first", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "first($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "fo", + "kind": "interface", + "detail": "fo", + "deprecated": false, + "preselect": false, + "sortText": "2_fo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "fo" + } + }, + { + "label": "foo", + "kind": "interface", + "detail": "foo", + "deprecated": false, + "preselect": false, + "sortText": "2_foo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "foo" + } + }, + { + "label": "format", + "kind": "function", + "detail": "format()", + "deprecated": false, + "preselect": false, + "sortText": "3_format", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "format($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "guid", + "kind": "function", + "detail": "guid()", + "deprecated": false, + "preselect": false, + "sortText": "3_guid", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "guid($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "incorrectPropertiesKey", + "kind": "interface", + "detail": "incorrectPropertiesKey", + "deprecated": false, + "preselect": false, + "sortText": "2_incorrectPropertiesKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incorrectPropertiesKey" + } + }, + { + "label": "incorrectPropertiesKey2", + "kind": "interface", + "detail": "incorrectPropertiesKey2", + "deprecated": false, + "preselect": false, + "sortText": "2_incorrectPropertiesKey2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incorrectPropertiesKey2" + } + }, + { + "label": "indexOf", + "kind": "function", + "detail": "indexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_indexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "indexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "int", + "kind": "function", + "detail": "int()", + "deprecated": false, + "preselect": false, + "sortText": "3_int", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "int($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "interpVal", + "kind": "variable", + "detail": "interpVal", + "deprecated": false, + "preselect": false, + "sortText": "2_interpVal", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "interpVal" + } + }, + { + "label": "intersection", + "kind": "function", + "detail": "intersection()", + "deprecated": false, + "preselect": false, + "sortText": "3_intersection", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "intersection($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "invalidDecorator", + "kind": "interface", + "detail": "invalidDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDecorator" + } + }, + { + "label": "invalidDuplicateName1", + "kind": "interface", + "detail": "invalidDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName1" + } + }, + { + "label": "invalidDuplicateName2", + "kind": "interface", + "detail": "invalidDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName2" + } + }, + { + "label": "invalidDuplicateName3", + "kind": "interface", + "detail": "invalidDuplicateName3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName3" + } + }, + { + "label": "invalidExtensionResourceDuplicateName1", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName1" + } + }, + { + "label": "invalidExtensionResourceDuplicateName2", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName2" + } + }, + { + "label": "invalidScope", + "kind": "interface", + "detail": "invalidScope", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope" + } + }, + { + "label": "invalidScope2", + "kind": "interface", + "detail": "invalidScope2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope2" + } + }, + { + "label": "invalidScope3", + "kind": "interface", + "detail": "invalidScope3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope3" + } + }, + { + "label": "json", + "kind": "function", + "detail": "json()", + "deprecated": false, + "preselect": false, + "sortText": "3_json", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "json($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "last", + "kind": "function", + "detail": "last()", + "deprecated": false, + "preselect": false, + "sortText": "3_last", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "last($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "lastIndexOf", + "kind": "function", + "detail": "lastIndexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_lastIndexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "lastIndexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "length", + "kind": "function", + "detail": "length()", + "deprecated": false, + "preselect": false, + "sortText": "3_length", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "length($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "letsAccessTheDashes", + "kind": "variable", + "detail": "letsAccessTheDashes", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes" + } + }, + { + "label": "letsAccessTheDashes2", + "kind": "variable", + "detail": "letsAccessTheDashes2", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes2" + } + }, + { + "label": "listKeys", + "kind": "function", + "detail": "listKeys()", + "deprecated": false, + "preselect": false, + "sortText": "3_listKeys", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "listKeys($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "magicString1", + "kind": "variable", + "detail": "magicString1", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString1" + } + }, + { + "label": "magicString2", + "kind": "variable", + "detail": "magicString2", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString2" + } + }, + { + "label": "max", + "kind": "function", + "detail": "max()", + "deprecated": false, + "preselect": false, + "sortText": "3_max", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "max($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "min", + "kind": "function", + "detail": "min()", + "deprecated": false, + "preselect": false, + "sortText": "3_min", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "min($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "missingTopLevelProperties", + "kind": "interface", + "detail": "missingTopLevelProperties", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelProperties", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelProperties" + } + }, + { + "label": "missingTopLevelPropertiesExceptName", + "kind": "interface", + "detail": "missingTopLevelPropertiesExceptName", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelPropertiesExceptName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelPropertiesExceptName" + } + }, + { + "label": "missingType", + "kind": "interface", + "detail": "missingType", + "deprecated": false, + "preselect": false, + "sortText": "2_missingType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingType" + } + }, + { + "label": "mock", + "kind": "variable", + "detail": "mock", + "deprecated": false, + "preselect": false, + "sortText": "2_mock", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "mock" + } + }, + { + "label": "nestedDiscriminator", + "kind": "interface", + "detail": "nestedDiscriminator", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminator" + } + }, + { + "label": "nestedDiscriminatorArrayIndexCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorArrayIndexCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorArrayIndexCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorArrayIndexCompletions" + } + }, + { + "label": "nestedDiscriminatorCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions" + } + }, + { + "label": "nestedDiscriminatorCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions2" + } + }, + { + "label": "nestedDiscriminatorCompletions3", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions3" + } + }, + { + "label": "nestedDiscriminatorCompletions4", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions4", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions4" + } + }, + { + "label": "nestedDiscriminatorMissingKey", + "kind": "interface", + "detail": "nestedDiscriminatorMissingKey", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKey" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions2" + } + }, + { + "label": "notAResource", + "kind": "variable", + "detail": "notAResource", + "deprecated": false, + "preselect": false, + "sortText": "2_notAResource", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "notAResource" + } + }, + { + "label": "padLeft", + "kind": "function", + "detail": "padLeft()", + "deprecated": false, + "preselect": false, + "sortText": "3_padLeft", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "padLeft($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "pickZones", + "kind": "function", + "detail": "pickZones()", + "deprecated": false, + "preselect": false, + "sortText": "3_pickZones", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "pickZones($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "providers", + "kind": "function", + "detail": "providers()", + "deprecated": false, + "preselect": false, + "sortText": "3_providers", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "providers($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "range", + "kind": "function", + "detail": "range()", + "deprecated": false, + "preselect": false, + "sortText": "3_range", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "range($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "reference", + "kind": "function", + "detail": "reference()", + "deprecated": false, + "preselect": false, + "sortText": "3_reference", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "reference($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "replace", + "kind": "function", + "detail": "replace()", + "deprecated": false, + "preselect": false, + "sortText": "3_replace", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "replace($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceGroup", + "kind": "function", + "detail": "resourceGroup()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceGroup", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceGroup($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceId", + "kind": "function", + "detail": "resourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resrefpar", + "kind": "field", + "detail": "resrefpar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefpar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefpar" + } + }, + { + "label": "resrefvar", + "kind": "variable", + "detail": "resrefvar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefvar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefvar" + } + }, + { + "label": "runtimeInvalid", + "kind": "variable", + "detail": "runtimeInvalid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalid" + } + }, + { + "label": "runtimeInvalidRes1", + "kind": "interface", + "detail": "runtimeInvalidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes1" + } + }, + { + "label": "runtimeInvalidRes10", + "kind": "interface", + "detail": "runtimeInvalidRes10", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes10", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes10" + } + }, + { + "label": "runtimeInvalidRes11", + "kind": "interface", + "detail": "runtimeInvalidRes11", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes11", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes11" + } + }, + { + "label": "runtimeInvalidRes12", + "kind": "interface", + "detail": "runtimeInvalidRes12", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes12", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes12" + } + }, + { + "label": "runtimeInvalidRes13", + "kind": "interface", + "detail": "runtimeInvalidRes13", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes13", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes13" + } + }, + { + "label": "runtimeInvalidRes14", + "kind": "interface", + "detail": "runtimeInvalidRes14", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes14", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes14" + } + }, + { + "label": "runtimeInvalidRes15", + "kind": "interface", + "detail": "runtimeInvalidRes15", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes15", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes15" + } + }, + { + "label": "runtimeInvalidRes16", + "kind": "interface", + "detail": "runtimeInvalidRes16", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes16", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes16" + } + }, + { + "label": "runtimeInvalidRes17", + "kind": "interface", + "detail": "runtimeInvalidRes17", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes17", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes17" + } + }, + { + "label": "runtimeInvalidRes18", + "kind": "interface", + "detail": "runtimeInvalidRes18", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes18", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes18" + } + }, + { + "label": "runtimeInvalidRes2", + "kind": "interface", + "detail": "runtimeInvalidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes2" + } + }, + { + "label": "runtimeInvalidRes3", + "kind": "interface", + "detail": "runtimeInvalidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes3" + } + }, + { + "label": "runtimeInvalidRes4", + "kind": "interface", + "detail": "runtimeInvalidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes4" + } + }, + { + "label": "runtimeInvalidRes5", + "kind": "interface", + "detail": "runtimeInvalidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes5" + } + }, + { + "label": "runtimeInvalidRes6", + "kind": "interface", + "detail": "runtimeInvalidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes6" + } + }, + { + "label": "runtimeInvalidRes7", + "kind": "interface", + "detail": "runtimeInvalidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes7" + } + }, + { + "label": "runtimeInvalidRes8", + "kind": "interface", + "detail": "runtimeInvalidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes8" + } + }, + { + "label": "runtimeInvalidRes9", + "kind": "interface", + "detail": "runtimeInvalidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes9" + } + }, + { + "label": "runtimeValid", + "kind": "variable", + "detail": "runtimeValid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValid" + } + }, + { + "label": "runtimeValidRes1", + "kind": "interface", + "detail": "runtimeValidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes1" + } + }, + { + "label": "runtimeValidRes2", + "kind": "interface", + "detail": "runtimeValidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes2" + } + }, + { + "label": "runtimeValidRes3", + "kind": "interface", + "detail": "runtimeValidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes3" + } + }, + { + "label": "runtimeValidRes4", + "kind": "interface", + "detail": "runtimeValidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes4" + } + }, + { + "label": "runtimeValidRes5", + "kind": "interface", + "detail": "runtimeValidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes5" + } + }, + { + "label": "runtimeValidRes6", + "kind": "interface", + "detail": "runtimeValidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes6" + } + }, + { + "label": "runtimeValidRes7", + "kind": "interface", + "detail": "runtimeValidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes7" + } + }, + { + "label": "runtimeValidRes8", + "kind": "interface", + "detail": "runtimeValidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes8" + } + }, + { + "label": "runtimeValidRes9", + "kind": "interface", + "detail": "runtimeValidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes9" + } + }, + { + "label": "runtimefoo1", + "kind": "variable", + "detail": "runtimefoo1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo1" + } + }, + { + "label": "runtimefoo2", + "kind": "variable", + "detail": "runtimefoo2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo2" + } + }, + { + "label": "runtimefoo3", + "kind": "variable", + "detail": "runtimefoo3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo3" + } + }, + { + "label": "runtimefoo4", + "kind": "variable", + "detail": "runtimefoo4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo4" + } + }, + { + "label": "selfScope", + "kind": "interface", + "detail": "selfScope", + "deprecated": false, + "preselect": false, + "sortText": "2_selfScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "selfScope" + } + }, + { + "label": "skip", + "kind": "function", + "detail": "skip()", + "deprecated": false, + "preselect": false, + "sortText": "3_skip", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "skip($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "split", + "kind": "function", + "detail": "split()", + "deprecated": false, + "preselect": false, + "sortText": "3_split", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "split($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "startedTypingTypeWithQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithQuotes" + } + }, + { + "label": "startedTypingTypeWithoutQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithoutQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithoutQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithoutQuotes" + } + }, + { + "label": "startsWith", + "kind": "function", + "detail": "startsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_startsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "string", + "kind": "function", + "detail": "string()", + "deprecated": false, + "preselect": false, + "sortText": "3_string", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "string($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscription", + "kind": "function", + "detail": "subscription()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscription", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscription($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscriptionResourceId", + "kind": "function", + "detail": "subscriptionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscriptionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscriptionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "substring", + "kind": "function", + "detail": "substring()", + "deprecated": false, + "preselect": false, + "sortText": "3_substring", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "substring($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "sys", + "kind": "folder", + "detail": "sys", + "deprecated": false, + "preselect": false, + "sortText": "3_sys", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sys" + } + }, + { + "label": "take", + "kind": "function", + "detail": "take()", + "deprecated": false, + "preselect": false, + "sortText": "3_take", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "take($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "tenant", + "kind": "function", + "detail": "tenant()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenant", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenant()$0" + } + }, + { + "label": "tenantResourceId", + "kind": "function", + "detail": "tenantResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenantResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenantResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLower", + "kind": "function", + "detail": "toLower()", + "deprecated": false, + "preselect": false, + "sortText": "3_toLower", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toLower($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toUpper", + "kind": "function", + "detail": "toUpper()", + "deprecated": false, + "preselect": false, + "sortText": "3_toUpper", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toUpper($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "trailingSpace", + "kind": "interface", + "detail": "trailingSpace", + "deprecated": false, + "preselect": false, + "sortText": "2_trailingSpace", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trailingSpace" + } + }, + { + "label": "trim", + "kind": "function", + "detail": "trim()", + "deprecated": false, + "preselect": false, + "sortText": "3_trim", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trim($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "unfinishedVnet", + "kind": "interface", + "detail": "unfinishedVnet", + "deprecated": false, + "preselect": false, + "sortText": "2_unfinishedVnet", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "unfinishedVnet" + } + }, + { + "label": "union", + "kind": "function", + "detail": "union()", + "deprecated": false, + "preselect": false, + "sortText": "3_union", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "union($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uniqueString", + "kind": "function", + "detail": "uniqueString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uniqueString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uniqueString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uri", + "kind": "function", + "detail": "uri()", + "deprecated": false, + "preselect": false, + "sortText": "3_uri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponent", + "kind": "function", + "detail": "uriComponent()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponent", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponent($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponentToString", + "kind": "function", + "detail": "uriComponentToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponentToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponentToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "validModule", + "kind": "module", + "detail": "validModule", + "deprecated": false, + "preselect": false, + "sortText": "2_validModule", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validModule" + } + }, + { + "label": "validResourceForInvalidExtensionResourceDuplicateName", + "kind": "interface", + "detail": "validResourceForInvalidExtensionResourceDuplicateName", + "deprecated": false, + "preselect": false, + "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validResourceForInvalidExtensionResourceDuplicateName" + } + } ] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes.json index 9822d1e903e..5474b94efef 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes.json @@ -1,2820 +1,2835 @@ -[ - { - "label": "'apiProperties'", - "kind": "property", - "detail": "apiProperties", - "documentation": { - "kind": "markdown", - "value": "Type: `ApiProperties` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'apiProperties'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'apiProperties'" - } - }, - { - "label": "'backupPolicy'", - "kind": "property", - "detail": "backupPolicy", - "documentation": { - "kind": "markdown", - "value": "Type: `BackupPolicy` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'backupPolicy'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'backupPolicy'" - } - }, - { - "label": "'capabilities'", - "kind": "property", - "detail": "capabilities", - "documentation": { - "kind": "markdown", - "value": "Type: `Capability[]` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'capabilities'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'capabilities'" - } - }, - { - "label": "'connectorOffer'", - "kind": "property", - "detail": "connectorOffer", - "documentation": { - "kind": "markdown", - "value": "Type: `'Small'` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'connectorOffer'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'connectorOffer'" - } - }, - { - "label": "'consistencyPolicy'", - "kind": "property", - "detail": "consistencyPolicy", - "documentation": { - "kind": "markdown", - "value": "Type: `ConsistencyPolicy` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'consistencyPolicy'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'consistencyPolicy'" - } - }, - { - "label": "'cors'", - "kind": "property", - "detail": "cors", - "documentation": { - "kind": "markdown", - "value": "Type: `CorsPolicy[]` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'cors'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'cors'" - } - }, - { - "label": "'createMode'", - "kind": "property", - "detail": "createMode (Required)", - "documentation": { - "kind": "markdown", - "value": "Type: `'Default'` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'createMode'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'createMode'" - } - }, - { - "label": "'databaseAccountOfferType'", - "kind": "property", - "detail": "databaseAccountOfferType (Required)", - "documentation": { - "kind": "markdown", - "value": "Type: `string` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'databaseAccountOfferType'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'databaseAccountOfferType'" - } - }, - { - "label": "'disableKeyBasedMetadataWriteAccess'", - "kind": "property", - "detail": "disableKeyBasedMetadataWriteAccess", - "documentation": { - "kind": "markdown", - "value": "Type: `bool` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'disableKeyBasedMetadataWriteAccess'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'disableKeyBasedMetadataWriteAccess'" - } - }, - { - "label": "'documentEndpoint'", - "kind": "property", - "detail": "documentEndpoint", - "documentation": { - "kind": "markdown", - "value": "Type: `string` \nRead-only property \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'documentEndpoint'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'documentEndpoint'" - } - }, - { - "label": "'enableAnalyticalStorage'", - "kind": "property", - "detail": "enableAnalyticalStorage", - "documentation": { - "kind": "markdown", - "value": "Type: `bool` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'enableAnalyticalStorage'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'enableAnalyticalStorage'" - } - }, - { - "label": "'enableAutomaticFailover'", - "kind": "property", - "detail": "enableAutomaticFailover", - "documentation": { - "kind": "markdown", - "value": "Type: `bool` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'enableAutomaticFailover'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'enableAutomaticFailover'" - } - }, - { - "label": "'enableCassandraConnector'", - "kind": "property", - "detail": "enableCassandraConnector", - "documentation": { - "kind": "markdown", - "value": "Type: `bool` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'enableCassandraConnector'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'enableCassandraConnector'" - } - }, - { - "label": "'enableFreeTier'", - "kind": "property", - "detail": "enableFreeTier", - "documentation": { - "kind": "markdown", - "value": "Type: `bool` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'enableFreeTier'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'enableFreeTier'" - } - }, - { - "label": "'enableMultipleWriteLocations'", - "kind": "property", - "detail": "enableMultipleWriteLocations", - "documentation": { - "kind": "markdown", - "value": "Type: `bool` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'enableMultipleWriteLocations'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'enableMultipleWriteLocations'" - } - }, - { - "label": "'failoverPolicies'", - "kind": "property", - "detail": "failoverPolicies", - "documentation": { - "kind": "markdown", - "value": "Type: `FailoverPolicy[]` \nRead-only property \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'failoverPolicies'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'failoverPolicies'" - } - }, - { - "label": "'instanceId'", - "kind": "property", - "detail": "instanceId", - "documentation": { - "kind": "markdown", - "value": "Type: `string` \nRead-only property \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'instanceId'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'instanceId'" - } - }, - { - "label": "'ipRules'", - "kind": "property", - "detail": "ipRules", - "documentation": { - "kind": "markdown", - "value": "Type: `IpAddressOrRange[]` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'ipRules'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'ipRules'" - } - }, - { - "label": "'isVirtualNetworkFilterEnabled'", - "kind": "property", - "detail": "isVirtualNetworkFilterEnabled", - "documentation": { - "kind": "markdown", - "value": "Type: `bool` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'isVirtualNetworkFilterEnabled'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'isVirtualNetworkFilterEnabled'" - } - }, - { - "label": "'keyVaultKeyUri'", - "kind": "property", - "detail": "keyVaultKeyUri", - "documentation": { - "kind": "markdown", - "value": "Type: `string` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'keyVaultKeyUri'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'keyVaultKeyUri'" - } - }, - { - "label": "'locations'", - "kind": "property", - "detail": "locations (Required)", - "documentation": { - "kind": "markdown", - "value": "Type: `Location[]` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'locations'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'locations'" - } - }, - { - "label": "'privateEndpointConnections'", - "kind": "property", - "detail": "privateEndpointConnections", - "documentation": { - "kind": "markdown", - "value": "Type: `PrivateEndpointConnection[]` \nRead-only property \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'privateEndpointConnections'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'privateEndpointConnections'" - } - }, - { - "label": "'provisioningState'", - "kind": "property", - "detail": "provisioningState", - "documentation": { - "kind": "markdown", - "value": "Type: `string` \nRead-only property \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'provisioningState'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'provisioningState'" - } - }, - { - "label": "'publicNetworkAccess'", - "kind": "property", - "detail": "publicNetworkAccess", - "documentation": { - "kind": "markdown", - "value": "Type: `'Disabled' | 'Enabled'` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'publicNetworkAccess'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'publicNetworkAccess'" - } - }, - { - "label": "'readLocations'", - "kind": "property", - "detail": "readLocations", - "documentation": { - "kind": "markdown", - "value": "Type: `Location[]` \nRead-only property \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'readLocations'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'readLocations'" - } - }, - { - "label": "'restoreParameters'", - "kind": "property", - "detail": "restoreParameters", - "documentation": { - "kind": "markdown", - "value": "Type: `RestoreParameters` \nRead-only property \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'restoreParameters'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'restoreParameters'" - } - }, - { - "label": "'virtualNetworkRules'", - "kind": "property", - "detail": "virtualNetworkRules", - "documentation": { - "kind": "markdown", - "value": "Type: `VirtualNetworkRule[]` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'virtualNetworkRules'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'virtualNetworkRules'" - } - }, - { - "label": "'writeLocations'", - "kind": "property", - "detail": "writeLocations", - "documentation": { - "kind": "markdown", - "value": "Type: `Location[]` \nRead-only property \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'writeLocations'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'writeLocations'" - } - }, - { - "label": "any", - "kind": "function", - "detail": "any()", - "deprecated": false, - "preselect": false, - "sortText": "3_any", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "any($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "array", - "kind": "function", - "detail": "array()", - "deprecated": false, - "preselect": false, - "sortText": "3_array", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "array($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "az", - "kind": "folder", - "detail": "az", - "deprecated": false, - "preselect": false, - "sortText": "3_az", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "az" - } - }, - { - "label": "badDepends", - "kind": "interface", - "detail": "badDepends", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends" - } - }, - { - "label": "badDepends2", - "kind": "interface", - "detail": "badDepends2", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends2" - } - }, - { - "label": "badDepends3", - "kind": "interface", - "detail": "badDepends3", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends3" - } - }, - { - "label": "badDepends4", - "kind": "interface", - "detail": "badDepends4", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends4" - } - }, - { - "label": "badDepends5", - "kind": "interface", - "detail": "badDepends5", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends5" - } - }, - { - "label": "badInterp", - "kind": "interface", - "detail": "badInterp", - "deprecated": false, - "preselect": false, - "sortText": "2_badInterp", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badInterp" - } - }, - { - "label": "bar", - "kind": "interface", - "detail": "bar", - "deprecated": false, - "preselect": false, - "sortText": "2_bar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bar" - } - }, - { - "label": "base64", - "kind": "function", - "detail": "base64()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToJson", - "kind": "function", - "detail": "base64ToJson()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToJson", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToJson($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToString", - "kind": "function", - "detail": "base64ToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "baz", - "kind": "interface", - "detail": "baz", - "deprecated": false, - "preselect": false, - "sortText": "2_baz", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "baz" - } - }, - { - "label": "bool", - "kind": "function", - "detail": "bool()", - "deprecated": false, - "preselect": false, - "sortText": "3_bool", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bool($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "coalesce", - "kind": "function", - "detail": "coalesce()", - "deprecated": false, - "preselect": false, - "sortText": "3_coalesce", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "coalesce($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "concat", - "kind": "function", - "detail": "concat()", - "deprecated": false, - "preselect": false, - "sortText": "3_concat", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "concat($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "contains", - "kind": "function", - "detail": "contains()", - "deprecated": false, - "preselect": false, - "sortText": "3_contains", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "contains($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dashesInPropertyNames", - "kind": "interface", - "detail": "dashesInPropertyNames", - "deprecated": false, - "preselect": false, - "sortText": "2_dashesInPropertyNames", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dashesInPropertyNames" - } - }, - { - "label": "dataUri", - "kind": "function", - "detail": "dataUri()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dataUriToString", - "kind": "function", - "detail": "dataUriToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUriToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUriToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dateTimeAdd", - "kind": "function", - "detail": "dateTimeAdd()", - "deprecated": false, - "preselect": false, - "sortText": "3_dateTimeAdd", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dateTimeAdd($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "deployment", - "kind": "function", - "detail": "deployment()", - "deprecated": false, - "preselect": false, - "sortText": "3_deployment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "deployment()$0" - } - }, - { - "label": "discriminatorKeyMissing", - "kind": "interface", - "detail": "discriminatorKeyMissing", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyMissing", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyMissing" - } - }, - { - "label": "discriminatorKeySetOne", - "kind": "interface", - "detail": "discriminatorKeySetOne", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOne", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOne" - } - }, - { - "label": "discriminatorKeySetOneCompletions", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions" - } - }, - { - "label": "discriminatorKeySetOneCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions2" - } - }, - { - "label": "discriminatorKeySetOneCompletions3", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions3" - } - }, - { - "label": "discriminatorKeySetTwo", - "kind": "interface", - "detail": "discriminatorKeySetTwo", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwo" - } - }, - { - "label": "discriminatorKeySetTwoCompletions", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions" - } - }, - { - "label": "discriminatorKeySetTwoCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions2" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" - } - }, - { - "label": "discriminatorKeyValueMissing", - "kind": "interface", - "detail": "discriminatorKeyValueMissing", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissing", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissing" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions2", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions2" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions3", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions3" - } - }, - { - "label": "empty", - "kind": "function", - "detail": "empty()", - "deprecated": false, - "preselect": false, - "sortText": "3_empty", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "empty($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "endsWith", - "kind": "function", - "detail": "endsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_endsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "endsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "environment", - "kind": "function", - "detail": "environment()", - "deprecated": false, - "preselect": false, - "sortText": "3_environment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "environment()$0" - } - }, - { - "label": "extensionResourceId", - "kind": "function", - "detail": "extensionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_extensionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "extensionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "first", - "kind": "function", - "detail": "first()", - "deprecated": false, - "preselect": false, - "sortText": "3_first", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "first($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "fo", - "kind": "interface", - "detail": "fo", - "deprecated": false, - "preselect": false, - "sortText": "2_fo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "fo" - } - }, - { - "label": "foo", - "kind": "interface", - "detail": "foo", - "deprecated": false, - "preselect": false, - "sortText": "2_foo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "foo" - } - }, - { - "label": "format", - "kind": "function", - "detail": "format()", - "deprecated": false, - "preselect": false, - "sortText": "3_format", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "format($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "guid", - "kind": "function", - "detail": "guid()", - "deprecated": false, - "preselect": false, - "sortText": "3_guid", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "guid($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "incorrectPropertiesKey", - "kind": "interface", - "detail": "incorrectPropertiesKey", - "deprecated": false, - "preselect": false, - "sortText": "2_incorrectPropertiesKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "incorrectPropertiesKey" - } - }, - { - "label": "incorrectPropertiesKey2", - "kind": "interface", - "detail": "incorrectPropertiesKey2", - "deprecated": false, - "preselect": false, - "sortText": "2_incorrectPropertiesKey2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "incorrectPropertiesKey2" - } - }, - { - "label": "indexOf", - "kind": "function", - "detail": "indexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_indexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "indexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "int", - "kind": "function", - "detail": "int()", - "deprecated": false, - "preselect": false, - "sortText": "3_int", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "int($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "interpVal", - "kind": "variable", - "detail": "interpVal", - "deprecated": false, - "preselect": false, - "sortText": "2_interpVal", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "interpVal" - } - }, - { - "label": "intersection", - "kind": "function", - "detail": "intersection()", - "deprecated": false, - "preselect": false, - "sortText": "3_intersection", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "intersection($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "invalidDuplicateName1", - "kind": "interface", - "detail": "invalidDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName1" - } - }, - { - "label": "invalidDuplicateName2", - "kind": "interface", - "detail": "invalidDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName2" - } - }, - { - "label": "invalidDuplicateName3", - "kind": "interface", - "detail": "invalidDuplicateName3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName3" - } - }, - { - "label": "invalidExtensionResourceDuplicateName1", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName1" - } - }, - { - "label": "invalidExtensionResourceDuplicateName2", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName2" - } - }, - { - "label": "invalidScope", - "kind": "interface", - "detail": "invalidScope", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope" - } - }, - { - "label": "invalidScope2", - "kind": "interface", - "detail": "invalidScope2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope2" - } - }, - { - "label": "invalidScope3", - "kind": "interface", - "detail": "invalidScope3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope3" - } - }, - { - "label": "json", - "kind": "function", - "detail": "json()", - "deprecated": false, - "preselect": false, - "sortText": "3_json", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "json($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "last", - "kind": "function", - "detail": "last()", - "deprecated": false, - "preselect": false, - "sortText": "3_last", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "last($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "lastIndexOf", - "kind": "function", - "detail": "lastIndexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_lastIndexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "lastIndexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "length", - "kind": "function", - "detail": "length()", - "deprecated": false, - "preselect": false, - "sortText": "3_length", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "length($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "letsAccessTheDashes", - "kind": "variable", - "detail": "letsAccessTheDashes", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes" - } - }, - { - "label": "letsAccessTheDashes2", - "kind": "variable", - "detail": "letsAccessTheDashes2", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes2" - } - }, - { - "label": "listKeys", - "kind": "function", - "detail": "listKeys()", - "deprecated": false, - "preselect": false, - "sortText": "3_listKeys", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "listKeys($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "magicString1", - "kind": "variable", - "detail": "magicString1", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString1" - } - }, - { - "label": "magicString2", - "kind": "variable", - "detail": "magicString2", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString2" - } - }, - { - "label": "max", - "kind": "function", - "detail": "max()", - "deprecated": false, - "preselect": false, - "sortText": "3_max", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "max($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "min", - "kind": "function", - "detail": "min()", - "deprecated": false, - "preselect": false, - "sortText": "3_min", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "min($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "missingTopLevelProperties", - "kind": "interface", - "detail": "missingTopLevelProperties", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelProperties", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelProperties" - } - }, - { - "label": "missingTopLevelPropertiesExceptName", - "kind": "interface", - "detail": "missingTopLevelPropertiesExceptName", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelPropertiesExceptName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelPropertiesExceptName" - } - }, - { - "label": "missingType", - "kind": "interface", - "detail": "missingType", - "deprecated": false, - "preselect": false, - "sortText": "2_missingType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingType" - } - }, - { - "label": "mock", - "kind": "variable", - "detail": "mock", - "deprecated": false, - "preselect": false, - "sortText": "2_mock", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "mock" - } - }, - { - "label": "nestedDiscriminator", - "kind": "interface", - "detail": "nestedDiscriminator", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminator", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminator" - } - }, - { - "label": "nestedDiscriminatorCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions" - } - }, - { - "label": "nestedDiscriminatorCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions2" - } - }, - { - "label": "nestedDiscriminatorCompletions3", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions3" - } - }, - { - "label": "nestedDiscriminatorCompletions4", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions4", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions4" - } - }, - { - "label": "nestedDiscriminatorMissingKey", - "kind": "interface", - "detail": "nestedDiscriminatorMissingKey", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKey" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions2" - } - }, - { - "label": "nestedDiscriminatorMissingKeyIndexCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyIndexCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyIndexCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyIndexCompletions" - } - }, - { - "label": "notAResource", - "kind": "variable", - "detail": "notAResource", - "deprecated": false, - "preselect": false, - "sortText": "2_notAResource", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "notAResource" - } - }, - { - "label": "padLeft", - "kind": "function", - "detail": "padLeft()", - "deprecated": false, - "preselect": false, - "sortText": "3_padLeft", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "padLeft($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "pickZones", - "kind": "function", - "detail": "pickZones()", - "deprecated": false, - "preselect": false, - "sortText": "3_pickZones", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "pickZones($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "providers", - "kind": "function", - "detail": "providers()", - "deprecated": false, - "preselect": false, - "sortText": "3_providers", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "providers($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "range", - "kind": "function", - "detail": "range()", - "deprecated": false, - "preselect": false, - "sortText": "3_range", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "range($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "reference", - "kind": "function", - "detail": "reference()", - "deprecated": false, - "preselect": false, - "sortText": "3_reference", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "reference($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "replace", - "kind": "function", - "detail": "replace()", - "deprecated": false, - "preselect": false, - "sortText": "3_replace", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "replace($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceGroup", - "kind": "function", - "detail": "resourceGroup()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceGroup", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceGroup($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceId", - "kind": "function", - "detail": "resourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resrefpar", - "kind": "field", - "detail": "resrefpar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefpar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefpar" - } - }, - { - "label": "resrefvar", - "kind": "variable", - "detail": "resrefvar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefvar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefvar" - } - }, - { - "label": "runtimeInvalid", - "kind": "variable", - "detail": "runtimeInvalid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalid" - } - }, - { - "label": "runtimeInvalidRes1", - "kind": "interface", - "detail": "runtimeInvalidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes1" - } - }, - { - "label": "runtimeInvalidRes10", - "kind": "interface", - "detail": "runtimeInvalidRes10", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes10", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes10" - } - }, - { - "label": "runtimeInvalidRes11", - "kind": "interface", - "detail": "runtimeInvalidRes11", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes11", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes11" - } - }, - { - "label": "runtimeInvalidRes12", - "kind": "interface", - "detail": "runtimeInvalidRes12", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes12", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes12" - } - }, - { - "label": "runtimeInvalidRes13", - "kind": "interface", - "detail": "runtimeInvalidRes13", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes13", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes13" - } - }, - { - "label": "runtimeInvalidRes14", - "kind": "interface", - "detail": "runtimeInvalidRes14", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes14", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes14" - } - }, - { - "label": "runtimeInvalidRes15", - "kind": "interface", - "detail": "runtimeInvalidRes15", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes15", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes15" - } - }, - { - "label": "runtimeInvalidRes16", - "kind": "interface", - "detail": "runtimeInvalidRes16", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes16", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes16" - } - }, - { - "label": "runtimeInvalidRes17", - "kind": "interface", - "detail": "runtimeInvalidRes17", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes17", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes17" - } - }, - { - "label": "runtimeInvalidRes18", - "kind": "interface", - "detail": "runtimeInvalidRes18", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes18", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes18" - } - }, - { - "label": "runtimeInvalidRes2", - "kind": "interface", - "detail": "runtimeInvalidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes2" - } - }, - { - "label": "runtimeInvalidRes3", - "kind": "interface", - "detail": "runtimeInvalidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes3" - } - }, - { - "label": "runtimeInvalidRes4", - "kind": "interface", - "detail": "runtimeInvalidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes4" - } - }, - { - "label": "runtimeInvalidRes5", - "kind": "interface", - "detail": "runtimeInvalidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes5" - } - }, - { - "label": "runtimeInvalidRes6", - "kind": "interface", - "detail": "runtimeInvalidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes6" - } - }, - { - "label": "runtimeInvalidRes7", - "kind": "interface", - "detail": "runtimeInvalidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes7" - } - }, - { - "label": "runtimeInvalidRes8", - "kind": "interface", - "detail": "runtimeInvalidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes8" - } - }, - { - "label": "runtimeInvalidRes9", - "kind": "interface", - "detail": "runtimeInvalidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes9" - } - }, - { - "label": "runtimeValid", - "kind": "variable", - "detail": "runtimeValid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValid" - } - }, - { - "label": "runtimeValidRes1", - "kind": "interface", - "detail": "runtimeValidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes1" - } - }, - { - "label": "runtimeValidRes2", - "kind": "interface", - "detail": "runtimeValidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes2" - } - }, - { - "label": "runtimeValidRes3", - "kind": "interface", - "detail": "runtimeValidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes3" - } - }, - { - "label": "runtimeValidRes4", - "kind": "interface", - "detail": "runtimeValidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes4" - } - }, - { - "label": "runtimeValidRes5", - "kind": "interface", - "detail": "runtimeValidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes5" - } - }, - { - "label": "runtimeValidRes6", - "kind": "interface", - "detail": "runtimeValidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes6" - } - }, - { - "label": "runtimeValidRes7", - "kind": "interface", - "detail": "runtimeValidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes7" - } - }, - { - "label": "runtimeValidRes8", - "kind": "interface", - "detail": "runtimeValidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes8" - } - }, - { - "label": "runtimeValidRes9", - "kind": "interface", - "detail": "runtimeValidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes9" - } - }, - { - "label": "runtimefoo1", - "kind": "variable", - "detail": "runtimefoo1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo1" - } - }, - { - "label": "runtimefoo2", - "kind": "variable", - "detail": "runtimefoo2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo2" - } - }, - { - "label": "runtimefoo3", - "kind": "variable", - "detail": "runtimefoo3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo3" - } - }, - { - "label": "runtimefoo4", - "kind": "variable", - "detail": "runtimefoo4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo4" - } - }, - { - "label": "selfScope", - "kind": "interface", - "detail": "selfScope", - "deprecated": false, - "preselect": false, - "sortText": "2_selfScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "selfScope" - } - }, - { - "label": "skip", - "kind": "function", - "detail": "skip()", - "deprecated": false, - "preselect": false, - "sortText": "3_skip", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "skip($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "split", - "kind": "function", - "detail": "split()", - "deprecated": false, - "preselect": false, - "sortText": "3_split", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "split($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "startedTypingTypeWithQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithQuotes" - } - }, - { - "label": "startedTypingTypeWithoutQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithoutQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithoutQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithoutQuotes" - } - }, - { - "label": "startsWith", - "kind": "function", - "detail": "startsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_startsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "string", - "kind": "function", - "detail": "string()", - "deprecated": false, - "preselect": false, - "sortText": "3_string", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "string($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscription", - "kind": "function", - "detail": "subscription()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscription", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscription($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscriptionResourceId", - "kind": "function", - "detail": "subscriptionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscriptionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscriptionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "substring", - "kind": "function", - "detail": "substring()", - "deprecated": false, - "preselect": false, - "sortText": "3_substring", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "substring($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "sys", - "kind": "folder", - "detail": "sys", - "deprecated": false, - "preselect": false, - "sortText": "3_sys", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sys" - } - }, - { - "label": "take", - "kind": "function", - "detail": "take()", - "deprecated": false, - "preselect": false, - "sortText": "3_take", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "take($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "tenant", - "kind": "function", - "detail": "tenant()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenant", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenant()$0" - } - }, - { - "label": "tenantResourceId", - "kind": "function", - "detail": "tenantResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenantResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenantResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toLower", - "kind": "function", - "detail": "toLower()", - "deprecated": false, - "preselect": false, - "sortText": "3_toLower", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toLower($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toUpper", - "kind": "function", - "detail": "toUpper()", - "deprecated": false, - "preselect": false, - "sortText": "3_toUpper", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toUpper($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "trailingSpace", - "kind": "interface", - "detail": "trailingSpace", - "deprecated": false, - "preselect": false, - "sortText": "2_trailingSpace", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trailingSpace" - } - }, - { - "label": "trim", - "kind": "function", - "detail": "trim()", - "deprecated": false, - "preselect": false, - "sortText": "3_trim", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trim($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "unfinishedVnet", - "kind": "interface", - "detail": "unfinishedVnet", - "deprecated": false, - "preselect": false, - "sortText": "2_unfinishedVnet", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "unfinishedVnet" - } - }, - { - "label": "union", - "kind": "function", - "detail": "union()", - "deprecated": false, - "preselect": false, - "sortText": "3_union", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "union($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uniqueString", - "kind": "function", - "detail": "uniqueString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uniqueString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uniqueString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uri", - "kind": "function", - "detail": "uri()", - "deprecated": false, - "preselect": false, - "sortText": "3_uri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponent", - "kind": "function", - "detail": "uriComponent()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponent", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponent($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponentToString", - "kind": "function", - "detail": "uriComponentToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponentToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponentToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "validModule", - "kind": "module", - "detail": "validModule", - "deprecated": false, - "preselect": false, - "sortText": "2_validModule", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validModule" - } -},{ - "label": "validResourceForInvalidExtensionResourceDuplicateName", - "kind": "interface", - "detail": "validResourceForInvalidExtensionResourceDuplicateName", - "deprecated": false, - "preselect": false, - "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validResourceForInvalidExtensionResourceDuplicateName" - } - } +[ + { + "label": "'apiProperties'", + "kind": "property", + "detail": "apiProperties", + "documentation": { + "kind": "markdown", + "value": "Type: `ApiProperties` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'apiProperties'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'apiProperties'" + } + }, + { + "label": "'backupPolicy'", + "kind": "property", + "detail": "backupPolicy", + "documentation": { + "kind": "markdown", + "value": "Type: `BackupPolicy` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'backupPolicy'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'backupPolicy'" + } + }, + { + "label": "'capabilities'", + "kind": "property", + "detail": "capabilities", + "documentation": { + "kind": "markdown", + "value": "Type: `Capability[]` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'capabilities'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'capabilities'" + } + }, + { + "label": "'connectorOffer'", + "kind": "property", + "detail": "connectorOffer", + "documentation": { + "kind": "markdown", + "value": "Type: `'Small'` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'connectorOffer'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'connectorOffer'" + } + }, + { + "label": "'consistencyPolicy'", + "kind": "property", + "detail": "consistencyPolicy", + "documentation": { + "kind": "markdown", + "value": "Type: `ConsistencyPolicy` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'consistencyPolicy'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'consistencyPolicy'" + } + }, + { + "label": "'cors'", + "kind": "property", + "detail": "cors", + "documentation": { + "kind": "markdown", + "value": "Type: `CorsPolicy[]` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'cors'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'cors'" + } + }, + { + "label": "'createMode'", + "kind": "property", + "detail": "createMode (Required)", + "documentation": { + "kind": "markdown", + "value": "Type: `'Default'` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'createMode'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'createMode'" + } + }, + { + "label": "'databaseAccountOfferType'", + "kind": "property", + "detail": "databaseAccountOfferType (Required)", + "documentation": { + "kind": "markdown", + "value": "Type: `string` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'databaseAccountOfferType'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'databaseAccountOfferType'" + } + }, + { + "label": "'disableKeyBasedMetadataWriteAccess'", + "kind": "property", + "detail": "disableKeyBasedMetadataWriteAccess", + "documentation": { + "kind": "markdown", + "value": "Type: `bool` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'disableKeyBasedMetadataWriteAccess'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'disableKeyBasedMetadataWriteAccess'" + } + }, + { + "label": "'documentEndpoint'", + "kind": "property", + "detail": "documentEndpoint", + "documentation": { + "kind": "markdown", + "value": "Type: `string` \nRead-only property \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'documentEndpoint'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'documentEndpoint'" + } + }, + { + "label": "'enableAnalyticalStorage'", + "kind": "property", + "detail": "enableAnalyticalStorage", + "documentation": { + "kind": "markdown", + "value": "Type: `bool` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'enableAnalyticalStorage'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'enableAnalyticalStorage'" + } + }, + { + "label": "'enableAutomaticFailover'", + "kind": "property", + "detail": "enableAutomaticFailover", + "documentation": { + "kind": "markdown", + "value": "Type: `bool` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'enableAutomaticFailover'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'enableAutomaticFailover'" + } + }, + { + "label": "'enableCassandraConnector'", + "kind": "property", + "detail": "enableCassandraConnector", + "documentation": { + "kind": "markdown", + "value": "Type: `bool` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'enableCassandraConnector'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'enableCassandraConnector'" + } + }, + { + "label": "'enableFreeTier'", + "kind": "property", + "detail": "enableFreeTier", + "documentation": { + "kind": "markdown", + "value": "Type: `bool` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'enableFreeTier'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'enableFreeTier'" + } + }, + { + "label": "'enableMultipleWriteLocations'", + "kind": "property", + "detail": "enableMultipleWriteLocations", + "documentation": { + "kind": "markdown", + "value": "Type: `bool` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'enableMultipleWriteLocations'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'enableMultipleWriteLocations'" + } + }, + { + "label": "'failoverPolicies'", + "kind": "property", + "detail": "failoverPolicies", + "documentation": { + "kind": "markdown", + "value": "Type: `FailoverPolicy[]` \nRead-only property \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'failoverPolicies'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'failoverPolicies'" + } + }, + { + "label": "'instanceId'", + "kind": "property", + "detail": "instanceId", + "documentation": { + "kind": "markdown", + "value": "Type: `string` \nRead-only property \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'instanceId'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'instanceId'" + } + }, + { + "label": "'ipRules'", + "kind": "property", + "detail": "ipRules", + "documentation": { + "kind": "markdown", + "value": "Type: `IpAddressOrRange[]` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'ipRules'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'ipRules'" + } + }, + { + "label": "'isVirtualNetworkFilterEnabled'", + "kind": "property", + "detail": "isVirtualNetworkFilterEnabled", + "documentation": { + "kind": "markdown", + "value": "Type: `bool` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'isVirtualNetworkFilterEnabled'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'isVirtualNetworkFilterEnabled'" + } + }, + { + "label": "'keyVaultKeyUri'", + "kind": "property", + "detail": "keyVaultKeyUri", + "documentation": { + "kind": "markdown", + "value": "Type: `string` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'keyVaultKeyUri'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'keyVaultKeyUri'" + } + }, + { + "label": "'locations'", + "kind": "property", + "detail": "locations (Required)", + "documentation": { + "kind": "markdown", + "value": "Type: `Location[]` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'locations'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'locations'" + } + }, + { + "label": "'privateEndpointConnections'", + "kind": "property", + "detail": "privateEndpointConnections", + "documentation": { + "kind": "markdown", + "value": "Type: `PrivateEndpointConnection[]` \nRead-only property \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'privateEndpointConnections'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'privateEndpointConnections'" + } + }, + { + "label": "'provisioningState'", + "kind": "property", + "detail": "provisioningState", + "documentation": { + "kind": "markdown", + "value": "Type: `string` \nRead-only property \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'provisioningState'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'provisioningState'" + } + }, + { + "label": "'publicNetworkAccess'", + "kind": "property", + "detail": "publicNetworkAccess", + "documentation": { + "kind": "markdown", + "value": "Type: `'Disabled' | 'Enabled'` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'publicNetworkAccess'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'publicNetworkAccess'" + } + }, + { + "label": "'readLocations'", + "kind": "property", + "detail": "readLocations", + "documentation": { + "kind": "markdown", + "value": "Type: `Location[]` \nRead-only property \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'readLocations'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'readLocations'" + } + }, + { + "label": "'restoreParameters'", + "kind": "property", + "detail": "restoreParameters", + "documentation": { + "kind": "markdown", + "value": "Type: `RestoreParameters` \nRead-only property \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'restoreParameters'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'restoreParameters'" + } + }, + { + "label": "'virtualNetworkRules'", + "kind": "property", + "detail": "virtualNetworkRules", + "documentation": { + "kind": "markdown", + "value": "Type: `VirtualNetworkRule[]` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'virtualNetworkRules'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'virtualNetworkRules'" + } + }, + { + "label": "'writeLocations'", + "kind": "property", + "detail": "writeLocations", + "documentation": { + "kind": "markdown", + "value": "Type: `Location[]` \nRead-only property \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'writeLocations'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'writeLocations'" + } + }, + { + "label": "any", + "kind": "function", + "detail": "any()", + "deprecated": false, + "preselect": false, + "sortText": "3_any", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "any($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "array", + "kind": "function", + "detail": "array()", + "deprecated": false, + "preselect": false, + "sortText": "3_array", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "array($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "az", + "kind": "folder", + "detail": "az", + "deprecated": false, + "preselect": false, + "sortText": "3_az", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "az" + } + }, + { + "label": "badDepends", + "kind": "interface", + "detail": "badDepends", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends" + } + }, + { + "label": "badDepends2", + "kind": "interface", + "detail": "badDepends2", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends2" + } + }, + { + "label": "badDepends3", + "kind": "interface", + "detail": "badDepends3", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends3" + } + }, + { + "label": "badDepends4", + "kind": "interface", + "detail": "badDepends4", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends4" + } + }, + { + "label": "badDepends5", + "kind": "interface", + "detail": "badDepends5", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends5" + } + }, + { + "label": "badInterp", + "kind": "interface", + "detail": "badInterp", + "deprecated": false, + "preselect": false, + "sortText": "2_badInterp", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badInterp" + } + }, + { + "label": "bar", + "kind": "interface", + "detail": "bar", + "deprecated": false, + "preselect": false, + "sortText": "2_bar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bar" + } + }, + { + "label": "base64", + "kind": "function", + "detail": "base64()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToJson", + "kind": "function", + "detail": "base64ToJson()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToJson", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToJson($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToString", + "kind": "function", + "detail": "base64ToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "baz", + "kind": "interface", + "detail": "baz", + "deprecated": false, + "preselect": false, + "sortText": "2_baz", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "baz" + } + }, + { + "label": "bool", + "kind": "function", + "detail": "bool()", + "deprecated": false, + "preselect": false, + "sortText": "3_bool", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bool($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "coalesce", + "kind": "function", + "detail": "coalesce()", + "deprecated": false, + "preselect": false, + "sortText": "3_coalesce", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "coalesce($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "concat", + "kind": "function", + "detail": "concat()", + "deprecated": false, + "preselect": false, + "sortText": "3_concat", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "concat($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "contains", + "kind": "function", + "detail": "contains()", + "deprecated": false, + "preselect": false, + "sortText": "3_contains", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "contains($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dashesInPropertyNames", + "kind": "interface", + "detail": "dashesInPropertyNames", + "deprecated": false, + "preselect": false, + "sortText": "2_dashesInPropertyNames", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dashesInPropertyNames" + } + }, + { + "label": "dataUri", + "kind": "function", + "detail": "dataUri()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dataUriToString", + "kind": "function", + "detail": "dataUriToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUriToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUriToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dateTimeAdd", + "kind": "function", + "detail": "dateTimeAdd()", + "deprecated": false, + "preselect": false, + "sortText": "3_dateTimeAdd", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dateTimeAdd($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "deployment", + "kind": "function", + "detail": "deployment()", + "deprecated": false, + "preselect": false, + "sortText": "3_deployment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "deployment()$0" + } + }, + { + "label": "discriminatorKeyMissing", + "kind": "interface", + "detail": "discriminatorKeyMissing", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyMissing", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyMissing" + } + }, + { + "label": "discriminatorKeySetOne", + "kind": "interface", + "detail": "discriminatorKeySetOne", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOne", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOne" + } + }, + { + "label": "discriminatorKeySetOneCompletions", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions" + } + }, + { + "label": "discriminatorKeySetOneCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions2" + } + }, + { + "label": "discriminatorKeySetOneCompletions3", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions3" + } + }, + { + "label": "discriminatorKeySetTwo", + "kind": "interface", + "detail": "discriminatorKeySetTwo", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwo" + } + }, + { + "label": "discriminatorKeySetTwoCompletions", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions" + } + }, + { + "label": "discriminatorKeySetTwoCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions2" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" + } + }, + { + "label": "discriminatorKeyValueMissing", + "kind": "interface", + "detail": "discriminatorKeyValueMissing", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissing", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissing" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions2", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions2" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions3", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions3" + } + }, + { + "label": "empty", + "kind": "function", + "detail": "empty()", + "deprecated": false, + "preselect": false, + "sortText": "3_empty", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "empty($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "endsWith", + "kind": "function", + "detail": "endsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_endsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "endsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "environment", + "kind": "function", + "detail": "environment()", + "deprecated": false, + "preselect": false, + "sortText": "3_environment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "environment()$0" + } + }, + { + "label": "extensionResourceId", + "kind": "function", + "detail": "extensionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_extensionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "extensionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "first", + "kind": "function", + "detail": "first()", + "deprecated": false, + "preselect": false, + "sortText": "3_first", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "first($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "fo", + "kind": "interface", + "detail": "fo", + "deprecated": false, + "preselect": false, + "sortText": "2_fo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "fo" + } + }, + { + "label": "foo", + "kind": "interface", + "detail": "foo", + "deprecated": false, + "preselect": false, + "sortText": "2_foo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "foo" + } + }, + { + "label": "format", + "kind": "function", + "detail": "format()", + "deprecated": false, + "preselect": false, + "sortText": "3_format", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "format($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "guid", + "kind": "function", + "detail": "guid()", + "deprecated": false, + "preselect": false, + "sortText": "3_guid", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "guid($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "incorrectPropertiesKey", + "kind": "interface", + "detail": "incorrectPropertiesKey", + "deprecated": false, + "preselect": false, + "sortText": "2_incorrectPropertiesKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incorrectPropertiesKey" + } + }, + { + "label": "incorrectPropertiesKey2", + "kind": "interface", + "detail": "incorrectPropertiesKey2", + "deprecated": false, + "preselect": false, + "sortText": "2_incorrectPropertiesKey2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incorrectPropertiesKey2" + } + }, + { + "label": "indexOf", + "kind": "function", + "detail": "indexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_indexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "indexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "int", + "kind": "function", + "detail": "int()", + "deprecated": false, + "preselect": false, + "sortText": "3_int", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "int($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "interpVal", + "kind": "variable", + "detail": "interpVal", + "deprecated": false, + "preselect": false, + "sortText": "2_interpVal", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "interpVal" + } + }, + { + "label": "intersection", + "kind": "function", + "detail": "intersection()", + "deprecated": false, + "preselect": false, + "sortText": "3_intersection", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "intersection($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "invalidDecorator", + "kind": "interface", + "detail": "invalidDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDecorator" + } + }, + { + "label": "invalidDuplicateName1", + "kind": "interface", + "detail": "invalidDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName1" + } + }, + { + "label": "invalidDuplicateName2", + "kind": "interface", + "detail": "invalidDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName2" + } + }, + { + "label": "invalidDuplicateName3", + "kind": "interface", + "detail": "invalidDuplicateName3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName3" + } + }, + { + "label": "invalidExtensionResourceDuplicateName1", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName1" + } + }, + { + "label": "invalidExtensionResourceDuplicateName2", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName2" + } + }, + { + "label": "invalidScope", + "kind": "interface", + "detail": "invalidScope", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope" + } + }, + { + "label": "invalidScope2", + "kind": "interface", + "detail": "invalidScope2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope2" + } + }, + { + "label": "invalidScope3", + "kind": "interface", + "detail": "invalidScope3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope3" + } + }, + { + "label": "json", + "kind": "function", + "detail": "json()", + "deprecated": false, + "preselect": false, + "sortText": "3_json", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "json($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "last", + "kind": "function", + "detail": "last()", + "deprecated": false, + "preselect": false, + "sortText": "3_last", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "last($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "lastIndexOf", + "kind": "function", + "detail": "lastIndexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_lastIndexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "lastIndexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "length", + "kind": "function", + "detail": "length()", + "deprecated": false, + "preselect": false, + "sortText": "3_length", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "length($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "letsAccessTheDashes", + "kind": "variable", + "detail": "letsAccessTheDashes", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes" + } + }, + { + "label": "letsAccessTheDashes2", + "kind": "variable", + "detail": "letsAccessTheDashes2", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes2" + } + }, + { + "label": "listKeys", + "kind": "function", + "detail": "listKeys()", + "deprecated": false, + "preselect": false, + "sortText": "3_listKeys", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "listKeys($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "magicString1", + "kind": "variable", + "detail": "magicString1", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString1" + } + }, + { + "label": "magicString2", + "kind": "variable", + "detail": "magicString2", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString2" + } + }, + { + "label": "max", + "kind": "function", + "detail": "max()", + "deprecated": false, + "preselect": false, + "sortText": "3_max", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "max($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "min", + "kind": "function", + "detail": "min()", + "deprecated": false, + "preselect": false, + "sortText": "3_min", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "min($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "missingTopLevelProperties", + "kind": "interface", + "detail": "missingTopLevelProperties", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelProperties", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelProperties" + } + }, + { + "label": "missingTopLevelPropertiesExceptName", + "kind": "interface", + "detail": "missingTopLevelPropertiesExceptName", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelPropertiesExceptName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelPropertiesExceptName" + } + }, + { + "label": "missingType", + "kind": "interface", + "detail": "missingType", + "deprecated": false, + "preselect": false, + "sortText": "2_missingType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingType" + } + }, + { + "label": "mock", + "kind": "variable", + "detail": "mock", + "deprecated": false, + "preselect": false, + "sortText": "2_mock", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "mock" + } + }, + { + "label": "nestedDiscriminator", + "kind": "interface", + "detail": "nestedDiscriminator", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminator" + } + }, + { + "label": "nestedDiscriminatorCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions" + } + }, + { + "label": "nestedDiscriminatorCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions2" + } + }, + { + "label": "nestedDiscriminatorCompletions3", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions3" + } + }, + { + "label": "nestedDiscriminatorCompletions4", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions4", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions4" + } + }, + { + "label": "nestedDiscriminatorMissingKey", + "kind": "interface", + "detail": "nestedDiscriminatorMissingKey", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKey" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions2" + } + }, + { + "label": "nestedDiscriminatorMissingKeyIndexCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyIndexCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyIndexCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyIndexCompletions" + } + }, + { + "label": "notAResource", + "kind": "variable", + "detail": "notAResource", + "deprecated": false, + "preselect": false, + "sortText": "2_notAResource", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "notAResource" + } + }, + { + "label": "padLeft", + "kind": "function", + "detail": "padLeft()", + "deprecated": false, + "preselect": false, + "sortText": "3_padLeft", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "padLeft($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "pickZones", + "kind": "function", + "detail": "pickZones()", + "deprecated": false, + "preselect": false, + "sortText": "3_pickZones", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "pickZones($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "providers", + "kind": "function", + "detail": "providers()", + "deprecated": false, + "preselect": false, + "sortText": "3_providers", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "providers($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "range", + "kind": "function", + "detail": "range()", + "deprecated": false, + "preselect": false, + "sortText": "3_range", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "range($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "reference", + "kind": "function", + "detail": "reference()", + "deprecated": false, + "preselect": false, + "sortText": "3_reference", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "reference($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "replace", + "kind": "function", + "detail": "replace()", + "deprecated": false, + "preselect": false, + "sortText": "3_replace", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "replace($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceGroup", + "kind": "function", + "detail": "resourceGroup()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceGroup", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceGroup($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceId", + "kind": "function", + "detail": "resourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resrefpar", + "kind": "field", + "detail": "resrefpar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefpar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefpar" + } + }, + { + "label": "resrefvar", + "kind": "variable", + "detail": "resrefvar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefvar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefvar" + } + }, + { + "label": "runtimeInvalid", + "kind": "variable", + "detail": "runtimeInvalid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalid" + } + }, + { + "label": "runtimeInvalidRes1", + "kind": "interface", + "detail": "runtimeInvalidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes1" + } + }, + { + "label": "runtimeInvalidRes10", + "kind": "interface", + "detail": "runtimeInvalidRes10", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes10", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes10" + } + }, + { + "label": "runtimeInvalidRes11", + "kind": "interface", + "detail": "runtimeInvalidRes11", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes11", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes11" + } + }, + { + "label": "runtimeInvalidRes12", + "kind": "interface", + "detail": "runtimeInvalidRes12", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes12", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes12" + } + }, + { + "label": "runtimeInvalidRes13", + "kind": "interface", + "detail": "runtimeInvalidRes13", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes13", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes13" + } + }, + { + "label": "runtimeInvalidRes14", + "kind": "interface", + "detail": "runtimeInvalidRes14", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes14", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes14" + } + }, + { + "label": "runtimeInvalidRes15", + "kind": "interface", + "detail": "runtimeInvalidRes15", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes15", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes15" + } + }, + { + "label": "runtimeInvalidRes16", + "kind": "interface", + "detail": "runtimeInvalidRes16", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes16", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes16" + } + }, + { + "label": "runtimeInvalidRes17", + "kind": "interface", + "detail": "runtimeInvalidRes17", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes17", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes17" + } + }, + { + "label": "runtimeInvalidRes18", + "kind": "interface", + "detail": "runtimeInvalidRes18", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes18", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes18" + } + }, + { + "label": "runtimeInvalidRes2", + "kind": "interface", + "detail": "runtimeInvalidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes2" + } + }, + { + "label": "runtimeInvalidRes3", + "kind": "interface", + "detail": "runtimeInvalidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes3" + } + }, + { + "label": "runtimeInvalidRes4", + "kind": "interface", + "detail": "runtimeInvalidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes4" + } + }, + { + "label": "runtimeInvalidRes5", + "kind": "interface", + "detail": "runtimeInvalidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes5" + } + }, + { + "label": "runtimeInvalidRes6", + "kind": "interface", + "detail": "runtimeInvalidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes6" + } + }, + { + "label": "runtimeInvalidRes7", + "kind": "interface", + "detail": "runtimeInvalidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes7" + } + }, + { + "label": "runtimeInvalidRes8", + "kind": "interface", + "detail": "runtimeInvalidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes8" + } + }, + { + "label": "runtimeInvalidRes9", + "kind": "interface", + "detail": "runtimeInvalidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes9" + } + }, + { + "label": "runtimeValid", + "kind": "variable", + "detail": "runtimeValid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValid" + } + }, + { + "label": "runtimeValidRes1", + "kind": "interface", + "detail": "runtimeValidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes1" + } + }, + { + "label": "runtimeValidRes2", + "kind": "interface", + "detail": "runtimeValidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes2" + } + }, + { + "label": "runtimeValidRes3", + "kind": "interface", + "detail": "runtimeValidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes3" + } + }, + { + "label": "runtimeValidRes4", + "kind": "interface", + "detail": "runtimeValidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes4" + } + }, + { + "label": "runtimeValidRes5", + "kind": "interface", + "detail": "runtimeValidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes5" + } + }, + { + "label": "runtimeValidRes6", + "kind": "interface", + "detail": "runtimeValidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes6" + } + }, + { + "label": "runtimeValidRes7", + "kind": "interface", + "detail": "runtimeValidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes7" + } + }, + { + "label": "runtimeValidRes8", + "kind": "interface", + "detail": "runtimeValidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes8" + } + }, + { + "label": "runtimeValidRes9", + "kind": "interface", + "detail": "runtimeValidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes9" + } + }, + { + "label": "runtimefoo1", + "kind": "variable", + "detail": "runtimefoo1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo1" + } + }, + { + "label": "runtimefoo2", + "kind": "variable", + "detail": "runtimefoo2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo2" + } + }, + { + "label": "runtimefoo3", + "kind": "variable", + "detail": "runtimefoo3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo3" + } + }, + { + "label": "runtimefoo4", + "kind": "variable", + "detail": "runtimefoo4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo4" + } + }, + { + "label": "selfScope", + "kind": "interface", + "detail": "selfScope", + "deprecated": false, + "preselect": false, + "sortText": "2_selfScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "selfScope" + } + }, + { + "label": "skip", + "kind": "function", + "detail": "skip()", + "deprecated": false, + "preselect": false, + "sortText": "3_skip", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "skip($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "split", + "kind": "function", + "detail": "split()", + "deprecated": false, + "preselect": false, + "sortText": "3_split", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "split($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "startedTypingTypeWithQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithQuotes" + } + }, + { + "label": "startedTypingTypeWithoutQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithoutQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithoutQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithoutQuotes" + } + }, + { + "label": "startsWith", + "kind": "function", + "detail": "startsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_startsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "string", + "kind": "function", + "detail": "string()", + "deprecated": false, + "preselect": false, + "sortText": "3_string", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "string($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscription", + "kind": "function", + "detail": "subscription()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscription", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscription($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscriptionResourceId", + "kind": "function", + "detail": "subscriptionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscriptionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscriptionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "substring", + "kind": "function", + "detail": "substring()", + "deprecated": false, + "preselect": false, + "sortText": "3_substring", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "substring($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "sys", + "kind": "folder", + "detail": "sys", + "deprecated": false, + "preselect": false, + "sortText": "3_sys", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sys" + } + }, + { + "label": "take", + "kind": "function", + "detail": "take()", + "deprecated": false, + "preselect": false, + "sortText": "3_take", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "take($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "tenant", + "kind": "function", + "detail": "tenant()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenant", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenant()$0" + } + }, + { + "label": "tenantResourceId", + "kind": "function", + "detail": "tenantResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenantResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenantResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLower", + "kind": "function", + "detail": "toLower()", + "deprecated": false, + "preselect": false, + "sortText": "3_toLower", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toLower($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toUpper", + "kind": "function", + "detail": "toUpper()", + "deprecated": false, + "preselect": false, + "sortText": "3_toUpper", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toUpper($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "trailingSpace", + "kind": "interface", + "detail": "trailingSpace", + "deprecated": false, + "preselect": false, + "sortText": "2_trailingSpace", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trailingSpace" + } + }, + { + "label": "trim", + "kind": "function", + "detail": "trim()", + "deprecated": false, + "preselect": false, + "sortText": "3_trim", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trim($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "unfinishedVnet", + "kind": "interface", + "detail": "unfinishedVnet", + "deprecated": false, + "preselect": false, + "sortText": "2_unfinishedVnet", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "unfinishedVnet" + } + }, + { + "label": "union", + "kind": "function", + "detail": "union()", + "deprecated": false, + "preselect": false, + "sortText": "3_union", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "union($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uniqueString", + "kind": "function", + "detail": "uniqueString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uniqueString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uniqueString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uri", + "kind": "function", + "detail": "uri()", + "deprecated": false, + "preselect": false, + "sortText": "3_uri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponent", + "kind": "function", + "detail": "uriComponent()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponent", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponent($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponentToString", + "kind": "function", + "detail": "uriComponentToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponentToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponentToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "validModule", + "kind": "module", + "detail": "validModule", + "deprecated": false, + "preselect": false, + "sortText": "2_validModule", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validModule" + } + }, + { + "label": "validResourceForInvalidExtensionResourceDuplicateName", + "kind": "interface", + "detail": "validResourceForInvalidExtensionResourceDuplicateName", + "deprecated": false, + "preselect": false, + "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validResourceForInvalidExtensionResourceDuplicateName" + } + } ] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols.json index c54e9d3b6ca..2018be5376b 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols.json @@ -1,2344 +1,2359 @@ -[ - { - "label": "'AzureCLI'", - "kind": "enumMember", - "detail": "'AzureCLI'", - "deprecated": false, - "preselect": true, - "sortText": "2_'AzureCLI'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'AzureCLI'" - } - }, - { - "label": "'AzurePowerShell'", - "kind": "enumMember", - "detail": "'AzurePowerShell'", - "deprecated": false, - "preselect": true, - "sortText": "2_'AzurePowerShell'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'AzurePowerShell'" - } - }, - { - "label": "any", - "kind": "function", - "detail": "any()", - "deprecated": false, - "preselect": false, - "sortText": "3_any", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "any($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "array", - "kind": "function", - "detail": "array()", - "deprecated": false, - "preselect": false, - "sortText": "3_array", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "array($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "az", - "kind": "folder", - "detail": "az", - "deprecated": false, - "preselect": false, - "sortText": "3_az", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "az" - } - }, - { - "label": "badDepends", - "kind": "interface", - "detail": "badDepends", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends" - } - }, - { - "label": "badDepends2", - "kind": "interface", - "detail": "badDepends2", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends2" - } - }, - { - "label": "badDepends3", - "kind": "interface", - "detail": "badDepends3", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends3" - } - }, - { - "label": "badDepends4", - "kind": "interface", - "detail": "badDepends4", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends4" - } - }, - { - "label": "badDepends5", - "kind": "interface", - "detail": "badDepends5", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends5" - } - }, - { - "label": "badInterp", - "kind": "interface", - "detail": "badInterp", - "deprecated": false, - "preselect": false, - "sortText": "2_badInterp", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badInterp" - } - }, - { - "label": "bar", - "kind": "interface", - "detail": "bar", - "deprecated": false, - "preselect": false, - "sortText": "2_bar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bar" - } - }, - { - "label": "base64", - "kind": "function", - "detail": "base64()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToJson", - "kind": "function", - "detail": "base64ToJson()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToJson", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToJson($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToString", - "kind": "function", - "detail": "base64ToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "baz", - "kind": "interface", - "detail": "baz", - "deprecated": false, - "preselect": false, - "sortText": "2_baz", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "baz" - } - }, - { - "label": "bool", - "kind": "function", - "detail": "bool()", - "deprecated": false, - "preselect": false, - "sortText": "3_bool", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bool($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "coalesce", - "kind": "function", - "detail": "coalesce()", - "deprecated": false, - "preselect": false, - "sortText": "3_coalesce", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "coalesce($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "concat", - "kind": "function", - "detail": "concat()", - "deprecated": false, - "preselect": false, - "sortText": "3_concat", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "concat($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "contains", - "kind": "function", - "detail": "contains()", - "deprecated": false, - "preselect": false, - "sortText": "3_contains", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "contains($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dashesInPropertyNames", - "kind": "interface", - "detail": "dashesInPropertyNames", - "deprecated": false, - "preselect": false, - "sortText": "2_dashesInPropertyNames", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dashesInPropertyNames" - } - }, - { - "label": "dataUri", - "kind": "function", - "detail": "dataUri()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dataUriToString", - "kind": "function", - "detail": "dataUriToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUriToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUriToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dateTimeAdd", - "kind": "function", - "detail": "dateTimeAdd()", - "deprecated": false, - "preselect": false, - "sortText": "3_dateTimeAdd", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dateTimeAdd($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "deployment", - "kind": "function", - "detail": "deployment()", - "deprecated": false, - "preselect": false, - "sortText": "3_deployment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "deployment()$0" - } - }, - { - "label": "discriminatorKeyMissing", - "kind": "interface", - "detail": "discriminatorKeyMissing", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyMissing", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyMissing" - } - }, - { - "label": "discriminatorKeySetOne", - "kind": "interface", - "detail": "discriminatorKeySetOne", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOne", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOne" - } - }, - { - "label": "discriminatorKeySetOneCompletions", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions" - } - }, - { - "label": "discriminatorKeySetOneCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions2" - } - }, - { - "label": "discriminatorKeySetOneCompletions3", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions3" - } - }, - { - "label": "discriminatorKeySetTwo", - "kind": "interface", - "detail": "discriminatorKeySetTwo", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwo" - } - }, - { - "label": "discriminatorKeySetTwoCompletions", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions" - } - }, - { - "label": "discriminatorKeySetTwoCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions2" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions2", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions2" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions3", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions3" - } - }, - { - "label": "empty", - "kind": "function", - "detail": "empty()", - "deprecated": false, - "preselect": false, - "sortText": "3_empty", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "empty($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "endsWith", - "kind": "function", - "detail": "endsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_endsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "endsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "environment", - "kind": "function", - "detail": "environment()", - "deprecated": false, - "preselect": false, - "sortText": "3_environment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "environment()$0" - } - }, - { - "label": "extensionResourceId", - "kind": "function", - "detail": "extensionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_extensionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "extensionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "first", - "kind": "function", - "detail": "first()", - "deprecated": false, - "preselect": false, - "sortText": "3_first", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "first($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "fo", - "kind": "interface", - "detail": "fo", - "deprecated": false, - "preselect": false, - "sortText": "2_fo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "fo" - } - }, - { - "label": "foo", - "kind": "interface", - "detail": "foo", - "deprecated": false, - "preselect": false, - "sortText": "2_foo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "foo" - } - }, - { - "label": "format", - "kind": "function", - "detail": "format()", - "deprecated": false, - "preselect": false, - "sortText": "3_format", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "format($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "guid", - "kind": "function", - "detail": "guid()", - "deprecated": false, - "preselect": false, - "sortText": "3_guid", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "guid($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "incorrectPropertiesKey", - "kind": "interface", - "detail": "incorrectPropertiesKey", - "deprecated": false, - "preselect": false, - "sortText": "2_incorrectPropertiesKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "incorrectPropertiesKey" - } - }, - { - "label": "incorrectPropertiesKey2", - "kind": "interface", - "detail": "incorrectPropertiesKey2", - "deprecated": false, - "preselect": false, - "sortText": "2_incorrectPropertiesKey2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "incorrectPropertiesKey2" - } - }, - { - "label": "indexOf", - "kind": "function", - "detail": "indexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_indexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "indexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "int", - "kind": "function", - "detail": "int()", - "deprecated": false, - "preselect": false, - "sortText": "3_int", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "int($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "interpVal", - "kind": "variable", - "detail": "interpVal", - "deprecated": false, - "preselect": false, - "sortText": "2_interpVal", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "interpVal" - } - }, - { - "label": "intersection", - "kind": "function", - "detail": "intersection()", - "deprecated": false, - "preselect": false, - "sortText": "3_intersection", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "intersection($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "invalidDuplicateName1", - "kind": "interface", - "detail": "invalidDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName1" - } - }, - { - "label": "invalidDuplicateName2", - "kind": "interface", - "detail": "invalidDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName2" - } - }, - { - "label": "invalidDuplicateName3", - "kind": "interface", - "detail": "invalidDuplicateName3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName3" - } - }, - { - "label": "invalidExtensionResourceDuplicateName1", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName1" - } - }, - { - "label": "invalidExtensionResourceDuplicateName2", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName2" - } - }, - { - "label": "invalidScope", - "kind": "interface", - "detail": "invalidScope", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope" - } - }, - { - "label": "invalidScope2", - "kind": "interface", - "detail": "invalidScope2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope2" - } - }, - { - "label": "invalidScope3", - "kind": "interface", - "detail": "invalidScope3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope3" - } - }, - { - "label": "json", - "kind": "function", - "detail": "json()", - "deprecated": false, - "preselect": false, - "sortText": "3_json", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "json($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "last", - "kind": "function", - "detail": "last()", - "deprecated": false, - "preselect": false, - "sortText": "3_last", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "last($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "lastIndexOf", - "kind": "function", - "detail": "lastIndexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_lastIndexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "lastIndexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "length", - "kind": "function", - "detail": "length()", - "deprecated": false, - "preselect": false, - "sortText": "3_length", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "length($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "letsAccessTheDashes", - "kind": "variable", - "detail": "letsAccessTheDashes", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes" - } - }, - { - "label": "letsAccessTheDashes2", - "kind": "variable", - "detail": "letsAccessTheDashes2", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes2" - } - }, - { - "label": "listKeys", - "kind": "function", - "detail": "listKeys()", - "deprecated": false, - "preselect": false, - "sortText": "3_listKeys", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "listKeys($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "magicString1", - "kind": "variable", - "detail": "magicString1", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString1" - } - }, - { - "label": "magicString2", - "kind": "variable", - "detail": "magicString2", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString2" - } - }, - { - "label": "max", - "kind": "function", - "detail": "max()", - "deprecated": false, - "preselect": false, - "sortText": "3_max", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "max($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "min", - "kind": "function", - "detail": "min()", - "deprecated": false, - "preselect": false, - "sortText": "3_min", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "min($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "missingTopLevelProperties", - "kind": "interface", - "detail": "missingTopLevelProperties", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelProperties", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelProperties" - } - }, - { - "label": "missingTopLevelPropertiesExceptName", - "kind": "interface", - "detail": "missingTopLevelPropertiesExceptName", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelPropertiesExceptName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelPropertiesExceptName" - } - }, - { - "label": "missingType", - "kind": "interface", - "detail": "missingType", - "deprecated": false, - "preselect": false, - "sortText": "2_missingType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingType" - } - }, - { - "label": "mock", - "kind": "variable", - "detail": "mock", - "deprecated": false, - "preselect": false, - "sortText": "2_mock", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "mock" - } - }, - { - "label": "nestedDiscriminator", - "kind": "interface", - "detail": "nestedDiscriminator", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminator", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminator" - } - }, - { - "label": "nestedDiscriminatorArrayIndexCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorArrayIndexCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorArrayIndexCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorArrayIndexCompletions" - } - }, - { - "label": "nestedDiscriminatorCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions" - } - }, - { - "label": "nestedDiscriminatorCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions2" - } - }, - { - "label": "nestedDiscriminatorCompletions3", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions3" - } - }, - { - "label": "nestedDiscriminatorCompletions4", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions4", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions4" - } - }, - { - "label": "nestedDiscriminatorMissingKey", - "kind": "interface", - "detail": "nestedDiscriminatorMissingKey", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKey" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions2" - } - }, - { - "label": "nestedDiscriminatorMissingKeyIndexCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyIndexCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyIndexCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyIndexCompletions" - } - }, - { - "label": "notAResource", - "kind": "variable", - "detail": "notAResource", - "deprecated": false, - "preselect": false, - "sortText": "2_notAResource", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "notAResource" - } - }, - { - "label": "padLeft", - "kind": "function", - "detail": "padLeft()", - "deprecated": false, - "preselect": false, - "sortText": "3_padLeft", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "padLeft($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "pickZones", - "kind": "function", - "detail": "pickZones()", - "deprecated": false, - "preselect": false, - "sortText": "3_pickZones", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "pickZones($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "providers", - "kind": "function", - "detail": "providers()", - "deprecated": false, - "preselect": false, - "sortText": "3_providers", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "providers($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "range", - "kind": "function", - "detail": "range()", - "deprecated": false, - "preselect": false, - "sortText": "3_range", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "range($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "reference", - "kind": "function", - "detail": "reference()", - "deprecated": false, - "preselect": false, - "sortText": "3_reference", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "reference($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "replace", - "kind": "function", - "detail": "replace()", - "deprecated": false, - "preselect": false, - "sortText": "3_replace", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "replace($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceGroup", - "kind": "function", - "detail": "resourceGroup()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceGroup", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceGroup($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceId", - "kind": "function", - "detail": "resourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resrefpar", - "kind": "field", - "detail": "resrefpar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefpar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefpar" - } - }, - { - "label": "resrefvar", - "kind": "variable", - "detail": "resrefvar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefvar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefvar" - } - }, - { - "label": "runtimeInvalid", - "kind": "variable", - "detail": "runtimeInvalid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalid" - } - }, - { - "label": "runtimeInvalidRes1", - "kind": "interface", - "detail": "runtimeInvalidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes1" - } - }, - { - "label": "runtimeInvalidRes10", - "kind": "interface", - "detail": "runtimeInvalidRes10", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes10", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes10" - } - }, - { - "label": "runtimeInvalidRes11", - "kind": "interface", - "detail": "runtimeInvalidRes11", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes11", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes11" - } - }, - { - "label": "runtimeInvalidRes12", - "kind": "interface", - "detail": "runtimeInvalidRes12", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes12", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes12" - } - }, - { - "label": "runtimeInvalidRes13", - "kind": "interface", - "detail": "runtimeInvalidRes13", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes13", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes13" - } - }, - { - "label": "runtimeInvalidRes14", - "kind": "interface", - "detail": "runtimeInvalidRes14", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes14", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes14" - } - }, - { - "label": "runtimeInvalidRes15", - "kind": "interface", - "detail": "runtimeInvalidRes15", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes15", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes15" - } - }, - { - "label": "runtimeInvalidRes16", - "kind": "interface", - "detail": "runtimeInvalidRes16", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes16", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes16" - } - }, - { - "label": "runtimeInvalidRes17", - "kind": "interface", - "detail": "runtimeInvalidRes17", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes17", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes17" - } - }, - { - "label": "runtimeInvalidRes18", - "kind": "interface", - "detail": "runtimeInvalidRes18", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes18", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes18" - } - }, - { - "label": "runtimeInvalidRes2", - "kind": "interface", - "detail": "runtimeInvalidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes2" - } - }, - { - "label": "runtimeInvalidRes3", - "kind": "interface", - "detail": "runtimeInvalidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes3" - } - }, - { - "label": "runtimeInvalidRes4", - "kind": "interface", - "detail": "runtimeInvalidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes4" - } - }, - { - "label": "runtimeInvalidRes5", - "kind": "interface", - "detail": "runtimeInvalidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes5" - } - }, - { - "label": "runtimeInvalidRes6", - "kind": "interface", - "detail": "runtimeInvalidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes6" - } - }, - { - "label": "runtimeInvalidRes7", - "kind": "interface", - "detail": "runtimeInvalidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes7" - } - }, - { - "label": "runtimeInvalidRes8", - "kind": "interface", - "detail": "runtimeInvalidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes8" - } - }, - { - "label": "runtimeInvalidRes9", - "kind": "interface", - "detail": "runtimeInvalidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes9" - } - }, - { - "label": "runtimeValid", - "kind": "variable", - "detail": "runtimeValid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValid" - } - }, - { - "label": "runtimeValidRes1", - "kind": "interface", - "detail": "runtimeValidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes1" - } - }, - { - "label": "runtimeValidRes2", - "kind": "interface", - "detail": "runtimeValidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes2" - } - }, - { - "label": "runtimeValidRes3", - "kind": "interface", - "detail": "runtimeValidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes3" - } - }, - { - "label": "runtimeValidRes4", - "kind": "interface", - "detail": "runtimeValidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes4" - } - }, - { - "label": "runtimeValidRes5", - "kind": "interface", - "detail": "runtimeValidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes5" - } - }, - { - "label": "runtimeValidRes6", - "kind": "interface", - "detail": "runtimeValidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes6" - } - }, - { - "label": "runtimeValidRes7", - "kind": "interface", - "detail": "runtimeValidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes7" - } - }, - { - "label": "runtimeValidRes8", - "kind": "interface", - "detail": "runtimeValidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes8" - } - }, - { - "label": "runtimeValidRes9", - "kind": "interface", - "detail": "runtimeValidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes9" - } - }, - { - "label": "runtimefoo1", - "kind": "variable", - "detail": "runtimefoo1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo1" - } - }, - { - "label": "runtimefoo2", - "kind": "variable", - "detail": "runtimefoo2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo2" - } - }, - { - "label": "runtimefoo3", - "kind": "variable", - "detail": "runtimefoo3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo3" - } - }, - { - "label": "runtimefoo4", - "kind": "variable", - "detail": "runtimefoo4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo4" - } - }, - { - "label": "selfScope", - "kind": "interface", - "detail": "selfScope", - "deprecated": false, - "preselect": false, - "sortText": "2_selfScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "selfScope" - } - }, - { - "label": "skip", - "kind": "function", - "detail": "skip()", - "deprecated": false, - "preselect": false, - "sortText": "3_skip", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "skip($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "split", - "kind": "function", - "detail": "split()", - "deprecated": false, - "preselect": false, - "sortText": "3_split", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "split($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "startedTypingTypeWithQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithQuotes" - } - }, - { - "label": "startedTypingTypeWithoutQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithoutQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithoutQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithoutQuotes" - } - }, - { - "label": "startsWith", - "kind": "function", - "detail": "startsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_startsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "string", - "kind": "function", - "detail": "string()", - "deprecated": false, - "preselect": false, - "sortText": "3_string", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "string($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscription", - "kind": "function", - "detail": "subscription()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscription", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscription($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscriptionResourceId", - "kind": "function", - "detail": "subscriptionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscriptionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscriptionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "substring", - "kind": "function", - "detail": "substring()", - "deprecated": false, - "preselect": false, - "sortText": "3_substring", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "substring($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "sys", - "kind": "folder", - "detail": "sys", - "deprecated": false, - "preselect": false, - "sortText": "3_sys", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sys" - } - }, - { - "label": "take", - "kind": "function", - "detail": "take()", - "deprecated": false, - "preselect": false, - "sortText": "3_take", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "take($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "tenant", - "kind": "function", - "detail": "tenant()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenant", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenant()$0" - } - }, - { - "label": "tenantResourceId", - "kind": "function", - "detail": "tenantResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenantResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenantResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toLower", - "kind": "function", - "detail": "toLower()", - "deprecated": false, - "preselect": false, - "sortText": "3_toLower", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toLower($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toUpper", - "kind": "function", - "detail": "toUpper()", - "deprecated": false, - "preselect": false, - "sortText": "3_toUpper", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toUpper($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "trailingSpace", - "kind": "interface", - "detail": "trailingSpace", - "deprecated": false, - "preselect": false, - "sortText": "2_trailingSpace", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trailingSpace" - } - }, - { - "label": "trim", - "kind": "function", - "detail": "trim()", - "deprecated": false, - "preselect": false, - "sortText": "3_trim", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trim($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "unfinishedVnet", - "kind": "interface", - "detail": "unfinishedVnet", - "deprecated": false, - "preselect": false, - "sortText": "2_unfinishedVnet", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "unfinishedVnet" - } - }, - { - "label": "union", - "kind": "function", - "detail": "union()", - "deprecated": false, - "preselect": false, - "sortText": "3_union", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "union($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uniqueString", - "kind": "function", - "detail": "uniqueString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uniqueString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uniqueString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uri", - "kind": "function", - "detail": "uri()", - "deprecated": false, - "preselect": false, - "sortText": "3_uri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponent", - "kind": "function", - "detail": "uriComponent()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponent", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponent($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponentToString", - "kind": "function", - "detail": "uriComponentToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponentToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponentToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "validModule", - "kind": "module", - "detail": "validModule", - "deprecated": false, - "preselect": false, - "sortText": "2_validModule", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validModule" - } -},{ - "label": "validResourceForInvalidExtensionResourceDuplicateName", - "kind": "interface", - "detail": "validResourceForInvalidExtensionResourceDuplicateName", - "deprecated": false, - "preselect": false, - "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validResourceForInvalidExtensionResourceDuplicateName" - } - } +[ + { + "label": "'AzureCLI'", + "kind": "enumMember", + "detail": "'AzureCLI'", + "deprecated": false, + "preselect": true, + "sortText": "2_'AzureCLI'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'AzureCLI'" + } + }, + { + "label": "'AzurePowerShell'", + "kind": "enumMember", + "detail": "'AzurePowerShell'", + "deprecated": false, + "preselect": true, + "sortText": "2_'AzurePowerShell'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'AzurePowerShell'" + } + }, + { + "label": "any", + "kind": "function", + "detail": "any()", + "deprecated": false, + "preselect": false, + "sortText": "3_any", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "any($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "array", + "kind": "function", + "detail": "array()", + "deprecated": false, + "preselect": false, + "sortText": "3_array", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "array($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "az", + "kind": "folder", + "detail": "az", + "deprecated": false, + "preselect": false, + "sortText": "3_az", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "az" + } + }, + { + "label": "badDepends", + "kind": "interface", + "detail": "badDepends", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends" + } + }, + { + "label": "badDepends2", + "kind": "interface", + "detail": "badDepends2", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends2" + } + }, + { + "label": "badDepends3", + "kind": "interface", + "detail": "badDepends3", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends3" + } + }, + { + "label": "badDepends4", + "kind": "interface", + "detail": "badDepends4", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends4" + } + }, + { + "label": "badDepends5", + "kind": "interface", + "detail": "badDepends5", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends5" + } + }, + { + "label": "badInterp", + "kind": "interface", + "detail": "badInterp", + "deprecated": false, + "preselect": false, + "sortText": "2_badInterp", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badInterp" + } + }, + { + "label": "bar", + "kind": "interface", + "detail": "bar", + "deprecated": false, + "preselect": false, + "sortText": "2_bar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bar" + } + }, + { + "label": "base64", + "kind": "function", + "detail": "base64()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToJson", + "kind": "function", + "detail": "base64ToJson()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToJson", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToJson($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToString", + "kind": "function", + "detail": "base64ToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "baz", + "kind": "interface", + "detail": "baz", + "deprecated": false, + "preselect": false, + "sortText": "2_baz", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "baz" + } + }, + { + "label": "bool", + "kind": "function", + "detail": "bool()", + "deprecated": false, + "preselect": false, + "sortText": "3_bool", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bool($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "coalesce", + "kind": "function", + "detail": "coalesce()", + "deprecated": false, + "preselect": false, + "sortText": "3_coalesce", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "coalesce($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "concat", + "kind": "function", + "detail": "concat()", + "deprecated": false, + "preselect": false, + "sortText": "3_concat", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "concat($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "contains", + "kind": "function", + "detail": "contains()", + "deprecated": false, + "preselect": false, + "sortText": "3_contains", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "contains($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dashesInPropertyNames", + "kind": "interface", + "detail": "dashesInPropertyNames", + "deprecated": false, + "preselect": false, + "sortText": "2_dashesInPropertyNames", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dashesInPropertyNames" + } + }, + { + "label": "dataUri", + "kind": "function", + "detail": "dataUri()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dataUriToString", + "kind": "function", + "detail": "dataUriToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUriToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUriToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dateTimeAdd", + "kind": "function", + "detail": "dateTimeAdd()", + "deprecated": false, + "preselect": false, + "sortText": "3_dateTimeAdd", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dateTimeAdd($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "deployment", + "kind": "function", + "detail": "deployment()", + "deprecated": false, + "preselect": false, + "sortText": "3_deployment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "deployment()$0" + } + }, + { + "label": "discriminatorKeyMissing", + "kind": "interface", + "detail": "discriminatorKeyMissing", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyMissing", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyMissing" + } + }, + { + "label": "discriminatorKeySetOne", + "kind": "interface", + "detail": "discriminatorKeySetOne", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOne", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOne" + } + }, + { + "label": "discriminatorKeySetOneCompletions", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions" + } + }, + { + "label": "discriminatorKeySetOneCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions2" + } + }, + { + "label": "discriminatorKeySetOneCompletions3", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions3" + } + }, + { + "label": "discriminatorKeySetTwo", + "kind": "interface", + "detail": "discriminatorKeySetTwo", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwo" + } + }, + { + "label": "discriminatorKeySetTwoCompletions", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions" + } + }, + { + "label": "discriminatorKeySetTwoCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions2" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions2", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions2" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions3", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions3" + } + }, + { + "label": "empty", + "kind": "function", + "detail": "empty()", + "deprecated": false, + "preselect": false, + "sortText": "3_empty", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "empty($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "endsWith", + "kind": "function", + "detail": "endsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_endsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "endsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "environment", + "kind": "function", + "detail": "environment()", + "deprecated": false, + "preselect": false, + "sortText": "3_environment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "environment()$0" + } + }, + { + "label": "extensionResourceId", + "kind": "function", + "detail": "extensionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_extensionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "extensionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "first", + "kind": "function", + "detail": "first()", + "deprecated": false, + "preselect": false, + "sortText": "3_first", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "first($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "fo", + "kind": "interface", + "detail": "fo", + "deprecated": false, + "preselect": false, + "sortText": "2_fo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "fo" + } + }, + { + "label": "foo", + "kind": "interface", + "detail": "foo", + "deprecated": false, + "preselect": false, + "sortText": "2_foo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "foo" + } + }, + { + "label": "format", + "kind": "function", + "detail": "format()", + "deprecated": false, + "preselect": false, + "sortText": "3_format", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "format($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "guid", + "kind": "function", + "detail": "guid()", + "deprecated": false, + "preselect": false, + "sortText": "3_guid", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "guid($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "incorrectPropertiesKey", + "kind": "interface", + "detail": "incorrectPropertiesKey", + "deprecated": false, + "preselect": false, + "sortText": "2_incorrectPropertiesKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incorrectPropertiesKey" + } + }, + { + "label": "incorrectPropertiesKey2", + "kind": "interface", + "detail": "incorrectPropertiesKey2", + "deprecated": false, + "preselect": false, + "sortText": "2_incorrectPropertiesKey2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incorrectPropertiesKey2" + } + }, + { + "label": "indexOf", + "kind": "function", + "detail": "indexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_indexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "indexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "int", + "kind": "function", + "detail": "int()", + "deprecated": false, + "preselect": false, + "sortText": "3_int", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "int($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "interpVal", + "kind": "variable", + "detail": "interpVal", + "deprecated": false, + "preselect": false, + "sortText": "2_interpVal", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "interpVal" + } + }, + { + "label": "intersection", + "kind": "function", + "detail": "intersection()", + "deprecated": false, + "preselect": false, + "sortText": "3_intersection", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "intersection($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "invalidDecorator", + "kind": "interface", + "detail": "invalidDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDecorator" + } + }, + { + "label": "invalidDuplicateName1", + "kind": "interface", + "detail": "invalidDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName1" + } + }, + { + "label": "invalidDuplicateName2", + "kind": "interface", + "detail": "invalidDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName2" + } + }, + { + "label": "invalidDuplicateName3", + "kind": "interface", + "detail": "invalidDuplicateName3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName3" + } + }, + { + "label": "invalidExtensionResourceDuplicateName1", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName1" + } + }, + { + "label": "invalidExtensionResourceDuplicateName2", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName2" + } + }, + { + "label": "invalidScope", + "kind": "interface", + "detail": "invalidScope", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope" + } + }, + { + "label": "invalidScope2", + "kind": "interface", + "detail": "invalidScope2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope2" + } + }, + { + "label": "invalidScope3", + "kind": "interface", + "detail": "invalidScope3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope3" + } + }, + { + "label": "json", + "kind": "function", + "detail": "json()", + "deprecated": false, + "preselect": false, + "sortText": "3_json", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "json($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "last", + "kind": "function", + "detail": "last()", + "deprecated": false, + "preselect": false, + "sortText": "3_last", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "last($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "lastIndexOf", + "kind": "function", + "detail": "lastIndexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_lastIndexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "lastIndexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "length", + "kind": "function", + "detail": "length()", + "deprecated": false, + "preselect": false, + "sortText": "3_length", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "length($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "letsAccessTheDashes", + "kind": "variable", + "detail": "letsAccessTheDashes", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes" + } + }, + { + "label": "letsAccessTheDashes2", + "kind": "variable", + "detail": "letsAccessTheDashes2", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes2" + } + }, + { + "label": "listKeys", + "kind": "function", + "detail": "listKeys()", + "deprecated": false, + "preselect": false, + "sortText": "3_listKeys", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "listKeys($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "magicString1", + "kind": "variable", + "detail": "magicString1", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString1" + } + }, + { + "label": "magicString2", + "kind": "variable", + "detail": "magicString2", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString2" + } + }, + { + "label": "max", + "kind": "function", + "detail": "max()", + "deprecated": false, + "preselect": false, + "sortText": "3_max", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "max($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "min", + "kind": "function", + "detail": "min()", + "deprecated": false, + "preselect": false, + "sortText": "3_min", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "min($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "missingTopLevelProperties", + "kind": "interface", + "detail": "missingTopLevelProperties", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelProperties", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelProperties" + } + }, + { + "label": "missingTopLevelPropertiesExceptName", + "kind": "interface", + "detail": "missingTopLevelPropertiesExceptName", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelPropertiesExceptName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelPropertiesExceptName" + } + }, + { + "label": "missingType", + "kind": "interface", + "detail": "missingType", + "deprecated": false, + "preselect": false, + "sortText": "2_missingType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingType" + } + }, + { + "label": "mock", + "kind": "variable", + "detail": "mock", + "deprecated": false, + "preselect": false, + "sortText": "2_mock", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "mock" + } + }, + { + "label": "nestedDiscriminator", + "kind": "interface", + "detail": "nestedDiscriminator", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminator" + } + }, + { + "label": "nestedDiscriminatorArrayIndexCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorArrayIndexCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorArrayIndexCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorArrayIndexCompletions" + } + }, + { + "label": "nestedDiscriminatorCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions" + } + }, + { + "label": "nestedDiscriminatorCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions2" + } + }, + { + "label": "nestedDiscriminatorCompletions3", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions3" + } + }, + { + "label": "nestedDiscriminatorCompletions4", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions4", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions4" + } + }, + { + "label": "nestedDiscriminatorMissingKey", + "kind": "interface", + "detail": "nestedDiscriminatorMissingKey", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKey" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions2" + } + }, + { + "label": "nestedDiscriminatorMissingKeyIndexCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyIndexCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyIndexCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyIndexCompletions" + } + }, + { + "label": "notAResource", + "kind": "variable", + "detail": "notAResource", + "deprecated": false, + "preselect": false, + "sortText": "2_notAResource", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "notAResource" + } + }, + { + "label": "padLeft", + "kind": "function", + "detail": "padLeft()", + "deprecated": false, + "preselect": false, + "sortText": "3_padLeft", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "padLeft($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "pickZones", + "kind": "function", + "detail": "pickZones()", + "deprecated": false, + "preselect": false, + "sortText": "3_pickZones", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "pickZones($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "providers", + "kind": "function", + "detail": "providers()", + "deprecated": false, + "preselect": false, + "sortText": "3_providers", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "providers($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "range", + "kind": "function", + "detail": "range()", + "deprecated": false, + "preselect": false, + "sortText": "3_range", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "range($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "reference", + "kind": "function", + "detail": "reference()", + "deprecated": false, + "preselect": false, + "sortText": "3_reference", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "reference($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "replace", + "kind": "function", + "detail": "replace()", + "deprecated": false, + "preselect": false, + "sortText": "3_replace", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "replace($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceGroup", + "kind": "function", + "detail": "resourceGroup()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceGroup", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceGroup($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceId", + "kind": "function", + "detail": "resourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resrefpar", + "kind": "field", + "detail": "resrefpar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefpar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefpar" + } + }, + { + "label": "resrefvar", + "kind": "variable", + "detail": "resrefvar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefvar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefvar" + } + }, + { + "label": "runtimeInvalid", + "kind": "variable", + "detail": "runtimeInvalid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalid" + } + }, + { + "label": "runtimeInvalidRes1", + "kind": "interface", + "detail": "runtimeInvalidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes1" + } + }, + { + "label": "runtimeInvalidRes10", + "kind": "interface", + "detail": "runtimeInvalidRes10", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes10", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes10" + } + }, + { + "label": "runtimeInvalidRes11", + "kind": "interface", + "detail": "runtimeInvalidRes11", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes11", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes11" + } + }, + { + "label": "runtimeInvalidRes12", + "kind": "interface", + "detail": "runtimeInvalidRes12", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes12", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes12" + } + }, + { + "label": "runtimeInvalidRes13", + "kind": "interface", + "detail": "runtimeInvalidRes13", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes13", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes13" + } + }, + { + "label": "runtimeInvalidRes14", + "kind": "interface", + "detail": "runtimeInvalidRes14", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes14", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes14" + } + }, + { + "label": "runtimeInvalidRes15", + "kind": "interface", + "detail": "runtimeInvalidRes15", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes15", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes15" + } + }, + { + "label": "runtimeInvalidRes16", + "kind": "interface", + "detail": "runtimeInvalidRes16", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes16", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes16" + } + }, + { + "label": "runtimeInvalidRes17", + "kind": "interface", + "detail": "runtimeInvalidRes17", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes17", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes17" + } + }, + { + "label": "runtimeInvalidRes18", + "kind": "interface", + "detail": "runtimeInvalidRes18", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes18", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes18" + } + }, + { + "label": "runtimeInvalidRes2", + "kind": "interface", + "detail": "runtimeInvalidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes2" + } + }, + { + "label": "runtimeInvalidRes3", + "kind": "interface", + "detail": "runtimeInvalidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes3" + } + }, + { + "label": "runtimeInvalidRes4", + "kind": "interface", + "detail": "runtimeInvalidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes4" + } + }, + { + "label": "runtimeInvalidRes5", + "kind": "interface", + "detail": "runtimeInvalidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes5" + } + }, + { + "label": "runtimeInvalidRes6", + "kind": "interface", + "detail": "runtimeInvalidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes6" + } + }, + { + "label": "runtimeInvalidRes7", + "kind": "interface", + "detail": "runtimeInvalidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes7" + } + }, + { + "label": "runtimeInvalidRes8", + "kind": "interface", + "detail": "runtimeInvalidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes8" + } + }, + { + "label": "runtimeInvalidRes9", + "kind": "interface", + "detail": "runtimeInvalidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes9" + } + }, + { + "label": "runtimeValid", + "kind": "variable", + "detail": "runtimeValid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValid" + } + }, + { + "label": "runtimeValidRes1", + "kind": "interface", + "detail": "runtimeValidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes1" + } + }, + { + "label": "runtimeValidRes2", + "kind": "interface", + "detail": "runtimeValidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes2" + } + }, + { + "label": "runtimeValidRes3", + "kind": "interface", + "detail": "runtimeValidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes3" + } + }, + { + "label": "runtimeValidRes4", + "kind": "interface", + "detail": "runtimeValidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes4" + } + }, + { + "label": "runtimeValidRes5", + "kind": "interface", + "detail": "runtimeValidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes5" + } + }, + { + "label": "runtimeValidRes6", + "kind": "interface", + "detail": "runtimeValidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes6" + } + }, + { + "label": "runtimeValidRes7", + "kind": "interface", + "detail": "runtimeValidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes7" + } + }, + { + "label": "runtimeValidRes8", + "kind": "interface", + "detail": "runtimeValidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes8" + } + }, + { + "label": "runtimeValidRes9", + "kind": "interface", + "detail": "runtimeValidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes9" + } + }, + { + "label": "runtimefoo1", + "kind": "variable", + "detail": "runtimefoo1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo1" + } + }, + { + "label": "runtimefoo2", + "kind": "variable", + "detail": "runtimefoo2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo2" + } + }, + { + "label": "runtimefoo3", + "kind": "variable", + "detail": "runtimefoo3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo3" + } + }, + { + "label": "runtimefoo4", + "kind": "variable", + "detail": "runtimefoo4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo4" + } + }, + { + "label": "selfScope", + "kind": "interface", + "detail": "selfScope", + "deprecated": false, + "preselect": false, + "sortText": "2_selfScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "selfScope" + } + }, + { + "label": "skip", + "kind": "function", + "detail": "skip()", + "deprecated": false, + "preselect": false, + "sortText": "3_skip", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "skip($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "split", + "kind": "function", + "detail": "split()", + "deprecated": false, + "preselect": false, + "sortText": "3_split", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "split($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "startedTypingTypeWithQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithQuotes" + } + }, + { + "label": "startedTypingTypeWithoutQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithoutQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithoutQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithoutQuotes" + } + }, + { + "label": "startsWith", + "kind": "function", + "detail": "startsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_startsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "string", + "kind": "function", + "detail": "string()", + "deprecated": false, + "preselect": false, + "sortText": "3_string", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "string($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscription", + "kind": "function", + "detail": "subscription()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscription", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscription($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscriptionResourceId", + "kind": "function", + "detail": "subscriptionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscriptionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscriptionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "substring", + "kind": "function", + "detail": "substring()", + "deprecated": false, + "preselect": false, + "sortText": "3_substring", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "substring($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "sys", + "kind": "folder", + "detail": "sys", + "deprecated": false, + "preselect": false, + "sortText": "3_sys", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sys" + } + }, + { + "label": "take", + "kind": "function", + "detail": "take()", + "deprecated": false, + "preselect": false, + "sortText": "3_take", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "take($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "tenant", + "kind": "function", + "detail": "tenant()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenant", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenant()$0" + } + }, + { + "label": "tenantResourceId", + "kind": "function", + "detail": "tenantResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenantResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenantResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLower", + "kind": "function", + "detail": "toLower()", + "deprecated": false, + "preselect": false, + "sortText": "3_toLower", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toLower($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toUpper", + "kind": "function", + "detail": "toUpper()", + "deprecated": false, + "preselect": false, + "sortText": "3_toUpper", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toUpper($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "trailingSpace", + "kind": "interface", + "detail": "trailingSpace", + "deprecated": false, + "preselect": false, + "sortText": "2_trailingSpace", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trailingSpace" + } + }, + { + "label": "trim", + "kind": "function", + "detail": "trim()", + "deprecated": false, + "preselect": false, + "sortText": "3_trim", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trim($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "unfinishedVnet", + "kind": "interface", + "detail": "unfinishedVnet", + "deprecated": false, + "preselect": false, + "sortText": "2_unfinishedVnet", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "unfinishedVnet" + } + }, + { + "label": "union", + "kind": "function", + "detail": "union()", + "deprecated": false, + "preselect": false, + "sortText": "3_union", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "union($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uniqueString", + "kind": "function", + "detail": "uniqueString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uniqueString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uniqueString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uri", + "kind": "function", + "detail": "uri()", + "deprecated": false, + "preselect": false, + "sortText": "3_uri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponent", + "kind": "function", + "detail": "uriComponent()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponent", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponent($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponentToString", + "kind": "function", + "detail": "uriComponentToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponentToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponentToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "validModule", + "kind": "module", + "detail": "validModule", + "deprecated": false, + "preselect": false, + "sortText": "2_validModule", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validModule" + } + }, + { + "label": "validResourceForInvalidExtensionResourceDuplicateName", + "kind": "interface", + "detail": "validResourceForInvalidExtensionResourceDuplicateName", + "deprecated": false, + "preselect": false, + "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validResourceForInvalidExtensionResourceDuplicateName" + } + } ] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols.json index 9e1ffea6731..6772279f7ed 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols.json @@ -1,2334 +1,2349 @@ -[ - { - "label": "'kind'", - "kind": "property", - "detail": "kind (Required)", - "documentation": { - "kind": "markdown", - "value": "Type: `'AzureCLI' | 'AzurePowerShell'` \n" - }, - "deprecated": false, - "preselect": false, - "sortText": "1_'kind'", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "'kind'" - } - }, - { - "label": "any", - "kind": "function", - "detail": "any()", - "deprecated": false, - "preselect": false, - "sortText": "3_any", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "any($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "array", - "kind": "function", - "detail": "array()", - "deprecated": false, - "preselect": false, - "sortText": "3_array", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "array($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "az", - "kind": "folder", - "detail": "az", - "deprecated": false, - "preselect": false, - "sortText": "3_az", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "az" - } - }, - { - "label": "badDepends", - "kind": "interface", - "detail": "badDepends", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends" - } - }, - { - "label": "badDepends2", - "kind": "interface", - "detail": "badDepends2", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends2" - } - }, - { - "label": "badDepends3", - "kind": "interface", - "detail": "badDepends3", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends3" - } - }, - { - "label": "badDepends4", - "kind": "interface", - "detail": "badDepends4", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends4" - } - }, - { - "label": "badDepends5", - "kind": "interface", - "detail": "badDepends5", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends5" - } - }, - { - "label": "badInterp", - "kind": "interface", - "detail": "badInterp", - "deprecated": false, - "preselect": false, - "sortText": "2_badInterp", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badInterp" - } - }, - { - "label": "bar", - "kind": "interface", - "detail": "bar", - "deprecated": false, - "preselect": false, - "sortText": "2_bar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bar" - } - }, - { - "label": "base64", - "kind": "function", - "detail": "base64()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToJson", - "kind": "function", - "detail": "base64ToJson()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToJson", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToJson($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToString", - "kind": "function", - "detail": "base64ToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "baz", - "kind": "interface", - "detail": "baz", - "deprecated": false, - "preselect": false, - "sortText": "2_baz", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "baz" - } - }, - { - "label": "bool", - "kind": "function", - "detail": "bool()", - "deprecated": false, - "preselect": false, - "sortText": "3_bool", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bool($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "coalesce", - "kind": "function", - "detail": "coalesce()", - "deprecated": false, - "preselect": false, - "sortText": "3_coalesce", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "coalesce($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "concat", - "kind": "function", - "detail": "concat()", - "deprecated": false, - "preselect": false, - "sortText": "3_concat", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "concat($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "contains", - "kind": "function", - "detail": "contains()", - "deprecated": false, - "preselect": false, - "sortText": "3_contains", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "contains($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dashesInPropertyNames", - "kind": "interface", - "detail": "dashesInPropertyNames", - "deprecated": false, - "preselect": false, - "sortText": "2_dashesInPropertyNames", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dashesInPropertyNames" - } - }, - { - "label": "dataUri", - "kind": "function", - "detail": "dataUri()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dataUriToString", - "kind": "function", - "detail": "dataUriToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUriToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUriToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dateTimeAdd", - "kind": "function", - "detail": "dateTimeAdd()", - "deprecated": false, - "preselect": false, - "sortText": "3_dateTimeAdd", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dateTimeAdd($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "deployment", - "kind": "function", - "detail": "deployment()", - "deprecated": false, - "preselect": false, - "sortText": "3_deployment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "deployment()$0" - } - }, - { - "label": "discriminatorKeyMissing", - "kind": "interface", - "detail": "discriminatorKeyMissing", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyMissing", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyMissing" - } - }, - { - "label": "discriminatorKeySetOne", - "kind": "interface", - "detail": "discriminatorKeySetOne", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOne", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOne" - } - }, - { - "label": "discriminatorKeySetOneCompletions", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions" - } - }, - { - "label": "discriminatorKeySetOneCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions2" - } - }, - { - "label": "discriminatorKeySetOneCompletions3", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions3" - } - }, - { - "label": "discriminatorKeySetTwo", - "kind": "interface", - "detail": "discriminatorKeySetTwo", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwo" - } - }, - { - "label": "discriminatorKeySetTwoCompletions", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions" - } - }, - { - "label": "discriminatorKeySetTwoCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions2" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" - } - }, - { - "label": "discriminatorKeyValueMissing", - "kind": "interface", - "detail": "discriminatorKeyValueMissing", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissing", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissing" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions2", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions2" - } - }, - { - "label": "empty", - "kind": "function", - "detail": "empty()", - "deprecated": false, - "preselect": false, - "sortText": "3_empty", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "empty($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "endsWith", - "kind": "function", - "detail": "endsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_endsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "endsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "environment", - "kind": "function", - "detail": "environment()", - "deprecated": false, - "preselect": false, - "sortText": "3_environment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "environment()$0" - } - }, - { - "label": "extensionResourceId", - "kind": "function", - "detail": "extensionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_extensionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "extensionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "first", - "kind": "function", - "detail": "first()", - "deprecated": false, - "preselect": false, - "sortText": "3_first", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "first($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "fo", - "kind": "interface", - "detail": "fo", - "deprecated": false, - "preselect": false, - "sortText": "2_fo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "fo" - } - }, - { - "label": "foo", - "kind": "interface", - "detail": "foo", - "deprecated": false, - "preselect": false, - "sortText": "2_foo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "foo" - } - }, - { - "label": "format", - "kind": "function", - "detail": "format()", - "deprecated": false, - "preselect": false, - "sortText": "3_format", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "format($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "guid", - "kind": "function", - "detail": "guid()", - "deprecated": false, - "preselect": false, - "sortText": "3_guid", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "guid($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "incorrectPropertiesKey", - "kind": "interface", - "detail": "incorrectPropertiesKey", - "deprecated": false, - "preselect": false, - "sortText": "2_incorrectPropertiesKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "incorrectPropertiesKey" - } - }, - { - "label": "incorrectPropertiesKey2", - "kind": "interface", - "detail": "incorrectPropertiesKey2", - "deprecated": false, - "preselect": false, - "sortText": "2_incorrectPropertiesKey2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "incorrectPropertiesKey2" - } - }, - { - "label": "indexOf", - "kind": "function", - "detail": "indexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_indexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "indexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "int", - "kind": "function", - "detail": "int()", - "deprecated": false, - "preselect": false, - "sortText": "3_int", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "int($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "interpVal", - "kind": "variable", - "detail": "interpVal", - "deprecated": false, - "preselect": false, - "sortText": "2_interpVal", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "interpVal" - } - }, - { - "label": "intersection", - "kind": "function", - "detail": "intersection()", - "deprecated": false, - "preselect": false, - "sortText": "3_intersection", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "intersection($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "invalidDuplicateName1", - "kind": "interface", - "detail": "invalidDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName1" - } - }, - { - "label": "invalidDuplicateName2", - "kind": "interface", - "detail": "invalidDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName2" - } - }, - { - "label": "invalidDuplicateName3", - "kind": "interface", - "detail": "invalidDuplicateName3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName3" - } - }, - { - "label": "invalidExtensionResourceDuplicateName1", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName1" - } - }, - { - "label": "invalidExtensionResourceDuplicateName2", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName2" - } - }, - { - "label": "invalidScope", - "kind": "interface", - "detail": "invalidScope", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope" - } - }, - { - "label": "invalidScope2", - "kind": "interface", - "detail": "invalidScope2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope2" - } - }, - { - "label": "invalidScope3", - "kind": "interface", - "detail": "invalidScope3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope3" - } - }, - { - "label": "json", - "kind": "function", - "detail": "json()", - "deprecated": false, - "preselect": false, - "sortText": "3_json", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "json($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "last", - "kind": "function", - "detail": "last()", - "deprecated": false, - "preselect": false, - "sortText": "3_last", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "last($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "lastIndexOf", - "kind": "function", - "detail": "lastIndexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_lastIndexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "lastIndexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "length", - "kind": "function", - "detail": "length()", - "deprecated": false, - "preselect": false, - "sortText": "3_length", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "length($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "letsAccessTheDashes", - "kind": "variable", - "detail": "letsAccessTheDashes", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes" - } - }, - { - "label": "letsAccessTheDashes2", - "kind": "variable", - "detail": "letsAccessTheDashes2", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes2" - } - }, - { - "label": "listKeys", - "kind": "function", - "detail": "listKeys()", - "deprecated": false, - "preselect": false, - "sortText": "3_listKeys", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "listKeys($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "magicString1", - "kind": "variable", - "detail": "magicString1", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString1" - } - }, - { - "label": "magicString2", - "kind": "variable", - "detail": "magicString2", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString2" - } - }, - { - "label": "max", - "kind": "function", - "detail": "max()", - "deprecated": false, - "preselect": false, - "sortText": "3_max", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "max($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "min", - "kind": "function", - "detail": "min()", - "deprecated": false, - "preselect": false, - "sortText": "3_min", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "min($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "missingTopLevelProperties", - "kind": "interface", - "detail": "missingTopLevelProperties", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelProperties", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelProperties" - } - }, - { - "label": "missingTopLevelPropertiesExceptName", - "kind": "interface", - "detail": "missingTopLevelPropertiesExceptName", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelPropertiesExceptName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelPropertiesExceptName" - } - }, - { - "label": "missingType", - "kind": "interface", - "detail": "missingType", - "deprecated": false, - "preselect": false, - "sortText": "2_missingType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingType" - } - }, - { - "label": "mock", - "kind": "variable", - "detail": "mock", - "deprecated": false, - "preselect": false, - "sortText": "2_mock", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "mock" - } - }, - { - "label": "nestedDiscriminator", - "kind": "interface", - "detail": "nestedDiscriminator", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminator", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminator" - } - }, - { - "label": "nestedDiscriminatorArrayIndexCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorArrayIndexCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorArrayIndexCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorArrayIndexCompletions" - } - }, - { - "label": "nestedDiscriminatorCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions" - } - }, - { - "label": "nestedDiscriminatorCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions2" - } - }, - { - "label": "nestedDiscriminatorCompletions3", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions3" - } - }, - { - "label": "nestedDiscriminatorCompletions4", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions4", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions4" - } - }, - { - "label": "nestedDiscriminatorMissingKey", - "kind": "interface", - "detail": "nestedDiscriminatorMissingKey", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKey" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions2" - } - }, - { - "label": "nestedDiscriminatorMissingKeyIndexCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyIndexCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyIndexCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyIndexCompletions" - } - }, - { - "label": "notAResource", - "kind": "variable", - "detail": "notAResource", - "deprecated": false, - "preselect": false, - "sortText": "2_notAResource", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "notAResource" - } - }, - { - "label": "padLeft", - "kind": "function", - "detail": "padLeft()", - "deprecated": false, - "preselect": false, - "sortText": "3_padLeft", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "padLeft($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "pickZones", - "kind": "function", - "detail": "pickZones()", - "deprecated": false, - "preselect": false, - "sortText": "3_pickZones", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "pickZones($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "providers", - "kind": "function", - "detail": "providers()", - "deprecated": false, - "preselect": false, - "sortText": "3_providers", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "providers($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "range", - "kind": "function", - "detail": "range()", - "deprecated": false, - "preselect": false, - "sortText": "3_range", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "range($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "reference", - "kind": "function", - "detail": "reference()", - "deprecated": false, - "preselect": false, - "sortText": "3_reference", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "reference($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "replace", - "kind": "function", - "detail": "replace()", - "deprecated": false, - "preselect": false, - "sortText": "3_replace", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "replace($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceGroup", - "kind": "function", - "detail": "resourceGroup()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceGroup", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceGroup($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceId", - "kind": "function", - "detail": "resourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resrefpar", - "kind": "field", - "detail": "resrefpar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefpar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefpar" - } - }, - { - "label": "resrefvar", - "kind": "variable", - "detail": "resrefvar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefvar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefvar" - } - }, - { - "label": "runtimeInvalid", - "kind": "variable", - "detail": "runtimeInvalid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalid" - } - }, - { - "label": "runtimeInvalidRes1", - "kind": "interface", - "detail": "runtimeInvalidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes1" - } - }, - { - "label": "runtimeInvalidRes10", - "kind": "interface", - "detail": "runtimeInvalidRes10", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes10", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes10" - } - }, - { - "label": "runtimeInvalidRes11", - "kind": "interface", - "detail": "runtimeInvalidRes11", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes11", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes11" - } - }, - { - "label": "runtimeInvalidRes12", - "kind": "interface", - "detail": "runtimeInvalidRes12", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes12", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes12" - } - }, - { - "label": "runtimeInvalidRes13", - "kind": "interface", - "detail": "runtimeInvalidRes13", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes13", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes13" - } - }, - { - "label": "runtimeInvalidRes14", - "kind": "interface", - "detail": "runtimeInvalidRes14", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes14", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes14" - } - }, - { - "label": "runtimeInvalidRes15", - "kind": "interface", - "detail": "runtimeInvalidRes15", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes15", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes15" - } - }, - { - "label": "runtimeInvalidRes16", - "kind": "interface", - "detail": "runtimeInvalidRes16", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes16", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes16" - } - }, - { - "label": "runtimeInvalidRes17", - "kind": "interface", - "detail": "runtimeInvalidRes17", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes17", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes17" - } - }, - { - "label": "runtimeInvalidRes18", - "kind": "interface", - "detail": "runtimeInvalidRes18", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes18", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes18" - } - }, - { - "label": "runtimeInvalidRes2", - "kind": "interface", - "detail": "runtimeInvalidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes2" - } - }, - { - "label": "runtimeInvalidRes3", - "kind": "interface", - "detail": "runtimeInvalidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes3" - } - }, - { - "label": "runtimeInvalidRes4", - "kind": "interface", - "detail": "runtimeInvalidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes4" - } - }, - { - "label": "runtimeInvalidRes5", - "kind": "interface", - "detail": "runtimeInvalidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes5" - } - }, - { - "label": "runtimeInvalidRes6", - "kind": "interface", - "detail": "runtimeInvalidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes6" - } - }, - { - "label": "runtimeInvalidRes7", - "kind": "interface", - "detail": "runtimeInvalidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes7" - } - }, - { - "label": "runtimeInvalidRes8", - "kind": "interface", - "detail": "runtimeInvalidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes8" - } - }, - { - "label": "runtimeInvalidRes9", - "kind": "interface", - "detail": "runtimeInvalidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes9" - } - }, - { - "label": "runtimeValid", - "kind": "variable", - "detail": "runtimeValid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValid" - } - }, - { - "label": "runtimeValidRes1", - "kind": "interface", - "detail": "runtimeValidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes1" - } - }, - { - "label": "runtimeValidRes2", - "kind": "interface", - "detail": "runtimeValidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes2" - } - }, - { - "label": "runtimeValidRes3", - "kind": "interface", - "detail": "runtimeValidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes3" - } - }, - { - "label": "runtimeValidRes4", - "kind": "interface", - "detail": "runtimeValidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes4" - } - }, - { - "label": "runtimeValidRes5", - "kind": "interface", - "detail": "runtimeValidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes5" - } - }, - { - "label": "runtimeValidRes6", - "kind": "interface", - "detail": "runtimeValidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes6" - } - }, - { - "label": "runtimeValidRes7", - "kind": "interface", - "detail": "runtimeValidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes7" - } - }, - { - "label": "runtimeValidRes8", - "kind": "interface", - "detail": "runtimeValidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes8" - } - }, - { - "label": "runtimeValidRes9", - "kind": "interface", - "detail": "runtimeValidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes9" - } - }, - { - "label": "runtimefoo1", - "kind": "variable", - "detail": "runtimefoo1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo1" - } - }, - { - "label": "runtimefoo2", - "kind": "variable", - "detail": "runtimefoo2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo2" - } - }, - { - "label": "runtimefoo3", - "kind": "variable", - "detail": "runtimefoo3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo3" - } - }, - { - "label": "runtimefoo4", - "kind": "variable", - "detail": "runtimefoo4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo4" - } - }, - { - "label": "selfScope", - "kind": "interface", - "detail": "selfScope", - "deprecated": false, - "preselect": false, - "sortText": "2_selfScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "selfScope" - } - }, - { - "label": "skip", - "kind": "function", - "detail": "skip()", - "deprecated": false, - "preselect": false, - "sortText": "3_skip", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "skip($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "split", - "kind": "function", - "detail": "split()", - "deprecated": false, - "preselect": false, - "sortText": "3_split", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "split($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "startedTypingTypeWithQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithQuotes" - } - }, - { - "label": "startedTypingTypeWithoutQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithoutQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithoutQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithoutQuotes" - } - }, - { - "label": "startsWith", - "kind": "function", - "detail": "startsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_startsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "string", - "kind": "function", - "detail": "string()", - "deprecated": false, - "preselect": false, - "sortText": "3_string", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "string($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscription", - "kind": "function", - "detail": "subscription()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscription", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscription($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscriptionResourceId", - "kind": "function", - "detail": "subscriptionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscriptionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscriptionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "substring", - "kind": "function", - "detail": "substring()", - "deprecated": false, - "preselect": false, - "sortText": "3_substring", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "substring($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "sys", - "kind": "folder", - "detail": "sys", - "deprecated": false, - "preselect": false, - "sortText": "3_sys", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sys" - } - }, - { - "label": "take", - "kind": "function", - "detail": "take()", - "deprecated": false, - "preselect": false, - "sortText": "3_take", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "take($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "tenant", - "kind": "function", - "detail": "tenant()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenant", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenant()$0" - } - }, - { - "label": "tenantResourceId", - "kind": "function", - "detail": "tenantResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenantResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenantResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toLower", - "kind": "function", - "detail": "toLower()", - "deprecated": false, - "preselect": false, - "sortText": "3_toLower", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toLower($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toUpper", - "kind": "function", - "detail": "toUpper()", - "deprecated": false, - "preselect": false, - "sortText": "3_toUpper", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toUpper($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "trailingSpace", - "kind": "interface", - "detail": "trailingSpace", - "deprecated": false, - "preselect": false, - "sortText": "2_trailingSpace", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trailingSpace" - } - }, - { - "label": "trim", - "kind": "function", - "detail": "trim()", - "deprecated": false, - "preselect": false, - "sortText": "3_trim", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trim($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "unfinishedVnet", - "kind": "interface", - "detail": "unfinishedVnet", - "deprecated": false, - "preselect": false, - "sortText": "2_unfinishedVnet", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "unfinishedVnet" - } - }, - { - "label": "union", - "kind": "function", - "detail": "union()", - "deprecated": false, - "preselect": false, - "sortText": "3_union", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "union($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uniqueString", - "kind": "function", - "detail": "uniqueString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uniqueString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uniqueString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uri", - "kind": "function", - "detail": "uri()", - "deprecated": false, - "preselect": false, - "sortText": "3_uri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponent", - "kind": "function", - "detail": "uriComponent()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponent", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponent($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponentToString", - "kind": "function", - "detail": "uriComponentToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponentToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponentToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "validModule", - "kind": "module", - "detail": "validModule", - "deprecated": false, - "preselect": false, - "sortText": "2_validModule", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validModule" - } -},{ - "label": "validResourceForInvalidExtensionResourceDuplicateName", - "kind": "interface", - "detail": "validResourceForInvalidExtensionResourceDuplicateName", - "deprecated": false, - "preselect": false, - "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validResourceForInvalidExtensionResourceDuplicateName" - } - } +[ + { + "label": "'kind'", + "kind": "property", + "detail": "kind (Required)", + "documentation": { + "kind": "markdown", + "value": "Type: `'AzureCLI' | 'AzurePowerShell'` \n" + }, + "deprecated": false, + "preselect": false, + "sortText": "1_'kind'", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "'kind'" + } + }, + { + "label": "any", + "kind": "function", + "detail": "any()", + "deprecated": false, + "preselect": false, + "sortText": "3_any", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "any($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "array", + "kind": "function", + "detail": "array()", + "deprecated": false, + "preselect": false, + "sortText": "3_array", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "array($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "az", + "kind": "folder", + "detail": "az", + "deprecated": false, + "preselect": false, + "sortText": "3_az", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "az" + } + }, + { + "label": "badDepends", + "kind": "interface", + "detail": "badDepends", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends" + } + }, + { + "label": "badDepends2", + "kind": "interface", + "detail": "badDepends2", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends2" + } + }, + { + "label": "badDepends3", + "kind": "interface", + "detail": "badDepends3", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends3" + } + }, + { + "label": "badDepends4", + "kind": "interface", + "detail": "badDepends4", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends4" + } + }, + { + "label": "badDepends5", + "kind": "interface", + "detail": "badDepends5", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends5" + } + }, + { + "label": "badInterp", + "kind": "interface", + "detail": "badInterp", + "deprecated": false, + "preselect": false, + "sortText": "2_badInterp", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badInterp" + } + }, + { + "label": "bar", + "kind": "interface", + "detail": "bar", + "deprecated": false, + "preselect": false, + "sortText": "2_bar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bar" + } + }, + { + "label": "base64", + "kind": "function", + "detail": "base64()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToJson", + "kind": "function", + "detail": "base64ToJson()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToJson", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToJson($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToString", + "kind": "function", + "detail": "base64ToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "baz", + "kind": "interface", + "detail": "baz", + "deprecated": false, + "preselect": false, + "sortText": "2_baz", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "baz" + } + }, + { + "label": "bool", + "kind": "function", + "detail": "bool()", + "deprecated": false, + "preselect": false, + "sortText": "3_bool", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bool($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "coalesce", + "kind": "function", + "detail": "coalesce()", + "deprecated": false, + "preselect": false, + "sortText": "3_coalesce", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "coalesce($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "concat", + "kind": "function", + "detail": "concat()", + "deprecated": false, + "preselect": false, + "sortText": "3_concat", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "concat($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "contains", + "kind": "function", + "detail": "contains()", + "deprecated": false, + "preselect": false, + "sortText": "3_contains", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "contains($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dashesInPropertyNames", + "kind": "interface", + "detail": "dashesInPropertyNames", + "deprecated": false, + "preselect": false, + "sortText": "2_dashesInPropertyNames", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dashesInPropertyNames" + } + }, + { + "label": "dataUri", + "kind": "function", + "detail": "dataUri()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dataUriToString", + "kind": "function", + "detail": "dataUriToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUriToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUriToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dateTimeAdd", + "kind": "function", + "detail": "dateTimeAdd()", + "deprecated": false, + "preselect": false, + "sortText": "3_dateTimeAdd", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dateTimeAdd($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "deployment", + "kind": "function", + "detail": "deployment()", + "deprecated": false, + "preselect": false, + "sortText": "3_deployment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "deployment()$0" + } + }, + { + "label": "discriminatorKeyMissing", + "kind": "interface", + "detail": "discriminatorKeyMissing", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyMissing", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyMissing" + } + }, + { + "label": "discriminatorKeySetOne", + "kind": "interface", + "detail": "discriminatorKeySetOne", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOne", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOne" + } + }, + { + "label": "discriminatorKeySetOneCompletions", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions" + } + }, + { + "label": "discriminatorKeySetOneCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions2" + } + }, + { + "label": "discriminatorKeySetOneCompletions3", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions3" + } + }, + { + "label": "discriminatorKeySetTwo", + "kind": "interface", + "detail": "discriminatorKeySetTwo", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwo" + } + }, + { + "label": "discriminatorKeySetTwoCompletions", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions" + } + }, + { + "label": "discriminatorKeySetTwoCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions2" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" + } + }, + { + "label": "discriminatorKeyValueMissing", + "kind": "interface", + "detail": "discriminatorKeyValueMissing", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissing", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissing" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions2", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions2" + } + }, + { + "label": "empty", + "kind": "function", + "detail": "empty()", + "deprecated": false, + "preselect": false, + "sortText": "3_empty", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "empty($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "endsWith", + "kind": "function", + "detail": "endsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_endsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "endsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "environment", + "kind": "function", + "detail": "environment()", + "deprecated": false, + "preselect": false, + "sortText": "3_environment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "environment()$0" + } + }, + { + "label": "extensionResourceId", + "kind": "function", + "detail": "extensionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_extensionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "extensionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "first", + "kind": "function", + "detail": "first()", + "deprecated": false, + "preselect": false, + "sortText": "3_first", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "first($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "fo", + "kind": "interface", + "detail": "fo", + "deprecated": false, + "preselect": false, + "sortText": "2_fo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "fo" + } + }, + { + "label": "foo", + "kind": "interface", + "detail": "foo", + "deprecated": false, + "preselect": false, + "sortText": "2_foo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "foo" + } + }, + { + "label": "format", + "kind": "function", + "detail": "format()", + "deprecated": false, + "preselect": false, + "sortText": "3_format", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "format($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "guid", + "kind": "function", + "detail": "guid()", + "deprecated": false, + "preselect": false, + "sortText": "3_guid", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "guid($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "incorrectPropertiesKey", + "kind": "interface", + "detail": "incorrectPropertiesKey", + "deprecated": false, + "preselect": false, + "sortText": "2_incorrectPropertiesKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incorrectPropertiesKey" + } + }, + { + "label": "incorrectPropertiesKey2", + "kind": "interface", + "detail": "incorrectPropertiesKey2", + "deprecated": false, + "preselect": false, + "sortText": "2_incorrectPropertiesKey2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incorrectPropertiesKey2" + } + }, + { + "label": "indexOf", + "kind": "function", + "detail": "indexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_indexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "indexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "int", + "kind": "function", + "detail": "int()", + "deprecated": false, + "preselect": false, + "sortText": "3_int", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "int($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "interpVal", + "kind": "variable", + "detail": "interpVal", + "deprecated": false, + "preselect": false, + "sortText": "2_interpVal", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "interpVal" + } + }, + { + "label": "intersection", + "kind": "function", + "detail": "intersection()", + "deprecated": false, + "preselect": false, + "sortText": "3_intersection", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "intersection($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "invalidDecorator", + "kind": "interface", + "detail": "invalidDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDecorator" + } + }, + { + "label": "invalidDuplicateName1", + "kind": "interface", + "detail": "invalidDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName1" + } + }, + { + "label": "invalidDuplicateName2", + "kind": "interface", + "detail": "invalidDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName2" + } + }, + { + "label": "invalidDuplicateName3", + "kind": "interface", + "detail": "invalidDuplicateName3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName3" + } + }, + { + "label": "invalidExtensionResourceDuplicateName1", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName1" + } + }, + { + "label": "invalidExtensionResourceDuplicateName2", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName2" + } + }, + { + "label": "invalidScope", + "kind": "interface", + "detail": "invalidScope", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope" + } + }, + { + "label": "invalidScope2", + "kind": "interface", + "detail": "invalidScope2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope2" + } + }, + { + "label": "invalidScope3", + "kind": "interface", + "detail": "invalidScope3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope3" + } + }, + { + "label": "json", + "kind": "function", + "detail": "json()", + "deprecated": false, + "preselect": false, + "sortText": "3_json", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "json($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "last", + "kind": "function", + "detail": "last()", + "deprecated": false, + "preselect": false, + "sortText": "3_last", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "last($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "lastIndexOf", + "kind": "function", + "detail": "lastIndexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_lastIndexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "lastIndexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "length", + "kind": "function", + "detail": "length()", + "deprecated": false, + "preselect": false, + "sortText": "3_length", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "length($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "letsAccessTheDashes", + "kind": "variable", + "detail": "letsAccessTheDashes", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes" + } + }, + { + "label": "letsAccessTheDashes2", + "kind": "variable", + "detail": "letsAccessTheDashes2", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes2" + } + }, + { + "label": "listKeys", + "kind": "function", + "detail": "listKeys()", + "deprecated": false, + "preselect": false, + "sortText": "3_listKeys", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "listKeys($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "magicString1", + "kind": "variable", + "detail": "magicString1", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString1" + } + }, + { + "label": "magicString2", + "kind": "variable", + "detail": "magicString2", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString2" + } + }, + { + "label": "max", + "kind": "function", + "detail": "max()", + "deprecated": false, + "preselect": false, + "sortText": "3_max", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "max($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "min", + "kind": "function", + "detail": "min()", + "deprecated": false, + "preselect": false, + "sortText": "3_min", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "min($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "missingTopLevelProperties", + "kind": "interface", + "detail": "missingTopLevelProperties", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelProperties", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelProperties" + } + }, + { + "label": "missingTopLevelPropertiesExceptName", + "kind": "interface", + "detail": "missingTopLevelPropertiesExceptName", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelPropertiesExceptName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelPropertiesExceptName" + } + }, + { + "label": "missingType", + "kind": "interface", + "detail": "missingType", + "deprecated": false, + "preselect": false, + "sortText": "2_missingType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingType" + } + }, + { + "label": "mock", + "kind": "variable", + "detail": "mock", + "deprecated": false, + "preselect": false, + "sortText": "2_mock", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "mock" + } + }, + { + "label": "nestedDiscriminator", + "kind": "interface", + "detail": "nestedDiscriminator", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminator" + } + }, + { + "label": "nestedDiscriminatorArrayIndexCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorArrayIndexCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorArrayIndexCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorArrayIndexCompletions" + } + }, + { + "label": "nestedDiscriminatorCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions" + } + }, + { + "label": "nestedDiscriminatorCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions2" + } + }, + { + "label": "nestedDiscriminatorCompletions3", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions3" + } + }, + { + "label": "nestedDiscriminatorCompletions4", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions4", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions4" + } + }, + { + "label": "nestedDiscriminatorMissingKey", + "kind": "interface", + "detail": "nestedDiscriminatorMissingKey", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKey" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions2" + } + }, + { + "label": "nestedDiscriminatorMissingKeyIndexCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyIndexCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyIndexCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyIndexCompletions" + } + }, + { + "label": "notAResource", + "kind": "variable", + "detail": "notAResource", + "deprecated": false, + "preselect": false, + "sortText": "2_notAResource", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "notAResource" + } + }, + { + "label": "padLeft", + "kind": "function", + "detail": "padLeft()", + "deprecated": false, + "preselect": false, + "sortText": "3_padLeft", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "padLeft($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "pickZones", + "kind": "function", + "detail": "pickZones()", + "deprecated": false, + "preselect": false, + "sortText": "3_pickZones", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "pickZones($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "providers", + "kind": "function", + "detail": "providers()", + "deprecated": false, + "preselect": false, + "sortText": "3_providers", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "providers($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "range", + "kind": "function", + "detail": "range()", + "deprecated": false, + "preselect": false, + "sortText": "3_range", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "range($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "reference", + "kind": "function", + "detail": "reference()", + "deprecated": false, + "preselect": false, + "sortText": "3_reference", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "reference($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "replace", + "kind": "function", + "detail": "replace()", + "deprecated": false, + "preselect": false, + "sortText": "3_replace", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "replace($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceGroup", + "kind": "function", + "detail": "resourceGroup()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceGroup", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceGroup($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceId", + "kind": "function", + "detail": "resourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resrefpar", + "kind": "field", + "detail": "resrefpar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefpar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefpar" + } + }, + { + "label": "resrefvar", + "kind": "variable", + "detail": "resrefvar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefvar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefvar" + } + }, + { + "label": "runtimeInvalid", + "kind": "variable", + "detail": "runtimeInvalid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalid" + } + }, + { + "label": "runtimeInvalidRes1", + "kind": "interface", + "detail": "runtimeInvalidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes1" + } + }, + { + "label": "runtimeInvalidRes10", + "kind": "interface", + "detail": "runtimeInvalidRes10", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes10", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes10" + } + }, + { + "label": "runtimeInvalidRes11", + "kind": "interface", + "detail": "runtimeInvalidRes11", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes11", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes11" + } + }, + { + "label": "runtimeInvalidRes12", + "kind": "interface", + "detail": "runtimeInvalidRes12", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes12", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes12" + } + }, + { + "label": "runtimeInvalidRes13", + "kind": "interface", + "detail": "runtimeInvalidRes13", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes13", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes13" + } + }, + { + "label": "runtimeInvalidRes14", + "kind": "interface", + "detail": "runtimeInvalidRes14", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes14", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes14" + } + }, + { + "label": "runtimeInvalidRes15", + "kind": "interface", + "detail": "runtimeInvalidRes15", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes15", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes15" + } + }, + { + "label": "runtimeInvalidRes16", + "kind": "interface", + "detail": "runtimeInvalidRes16", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes16", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes16" + } + }, + { + "label": "runtimeInvalidRes17", + "kind": "interface", + "detail": "runtimeInvalidRes17", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes17", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes17" + } + }, + { + "label": "runtimeInvalidRes18", + "kind": "interface", + "detail": "runtimeInvalidRes18", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes18", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes18" + } + }, + { + "label": "runtimeInvalidRes2", + "kind": "interface", + "detail": "runtimeInvalidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes2" + } + }, + { + "label": "runtimeInvalidRes3", + "kind": "interface", + "detail": "runtimeInvalidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes3" + } + }, + { + "label": "runtimeInvalidRes4", + "kind": "interface", + "detail": "runtimeInvalidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes4" + } + }, + { + "label": "runtimeInvalidRes5", + "kind": "interface", + "detail": "runtimeInvalidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes5" + } + }, + { + "label": "runtimeInvalidRes6", + "kind": "interface", + "detail": "runtimeInvalidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes6" + } + }, + { + "label": "runtimeInvalidRes7", + "kind": "interface", + "detail": "runtimeInvalidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes7" + } + }, + { + "label": "runtimeInvalidRes8", + "kind": "interface", + "detail": "runtimeInvalidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes8" + } + }, + { + "label": "runtimeInvalidRes9", + "kind": "interface", + "detail": "runtimeInvalidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes9" + } + }, + { + "label": "runtimeValid", + "kind": "variable", + "detail": "runtimeValid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValid" + } + }, + { + "label": "runtimeValidRes1", + "kind": "interface", + "detail": "runtimeValidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes1" + } + }, + { + "label": "runtimeValidRes2", + "kind": "interface", + "detail": "runtimeValidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes2" + } + }, + { + "label": "runtimeValidRes3", + "kind": "interface", + "detail": "runtimeValidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes3" + } + }, + { + "label": "runtimeValidRes4", + "kind": "interface", + "detail": "runtimeValidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes4" + } + }, + { + "label": "runtimeValidRes5", + "kind": "interface", + "detail": "runtimeValidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes5" + } + }, + { + "label": "runtimeValidRes6", + "kind": "interface", + "detail": "runtimeValidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes6" + } + }, + { + "label": "runtimeValidRes7", + "kind": "interface", + "detail": "runtimeValidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes7" + } + }, + { + "label": "runtimeValidRes8", + "kind": "interface", + "detail": "runtimeValidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes8" + } + }, + { + "label": "runtimeValidRes9", + "kind": "interface", + "detail": "runtimeValidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes9" + } + }, + { + "label": "runtimefoo1", + "kind": "variable", + "detail": "runtimefoo1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo1" + } + }, + { + "label": "runtimefoo2", + "kind": "variable", + "detail": "runtimefoo2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo2" + } + }, + { + "label": "runtimefoo3", + "kind": "variable", + "detail": "runtimefoo3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo3" + } + }, + { + "label": "runtimefoo4", + "kind": "variable", + "detail": "runtimefoo4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo4" + } + }, + { + "label": "selfScope", + "kind": "interface", + "detail": "selfScope", + "deprecated": false, + "preselect": false, + "sortText": "2_selfScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "selfScope" + } + }, + { + "label": "skip", + "kind": "function", + "detail": "skip()", + "deprecated": false, + "preselect": false, + "sortText": "3_skip", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "skip($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "split", + "kind": "function", + "detail": "split()", + "deprecated": false, + "preselect": false, + "sortText": "3_split", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "split($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "startedTypingTypeWithQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithQuotes" + } + }, + { + "label": "startedTypingTypeWithoutQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithoutQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithoutQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithoutQuotes" + } + }, + { + "label": "startsWith", + "kind": "function", + "detail": "startsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_startsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "string", + "kind": "function", + "detail": "string()", + "deprecated": false, + "preselect": false, + "sortText": "3_string", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "string($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscription", + "kind": "function", + "detail": "subscription()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscription", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscription($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscriptionResourceId", + "kind": "function", + "detail": "subscriptionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscriptionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscriptionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "substring", + "kind": "function", + "detail": "substring()", + "deprecated": false, + "preselect": false, + "sortText": "3_substring", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "substring($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "sys", + "kind": "folder", + "detail": "sys", + "deprecated": false, + "preselect": false, + "sortText": "3_sys", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sys" + } + }, + { + "label": "take", + "kind": "function", + "detail": "take()", + "deprecated": false, + "preselect": false, + "sortText": "3_take", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "take($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "tenant", + "kind": "function", + "detail": "tenant()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenant", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenant()$0" + } + }, + { + "label": "tenantResourceId", + "kind": "function", + "detail": "tenantResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenantResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenantResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLower", + "kind": "function", + "detail": "toLower()", + "deprecated": false, + "preselect": false, + "sortText": "3_toLower", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toLower($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toUpper", + "kind": "function", + "detail": "toUpper()", + "deprecated": false, + "preselect": false, + "sortText": "3_toUpper", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toUpper($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "trailingSpace", + "kind": "interface", + "detail": "trailingSpace", + "deprecated": false, + "preselect": false, + "sortText": "2_trailingSpace", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trailingSpace" + } + }, + { + "label": "trim", + "kind": "function", + "detail": "trim()", + "deprecated": false, + "preselect": false, + "sortText": "3_trim", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trim($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "unfinishedVnet", + "kind": "interface", + "detail": "unfinishedVnet", + "deprecated": false, + "preselect": false, + "sortText": "2_unfinishedVnet", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "unfinishedVnet" + } + }, + { + "label": "union", + "kind": "function", + "detail": "union()", + "deprecated": false, + "preselect": false, + "sortText": "3_union", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "union($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uniqueString", + "kind": "function", + "detail": "uniqueString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uniqueString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uniqueString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uri", + "kind": "function", + "detail": "uri()", + "deprecated": false, + "preselect": false, + "sortText": "3_uri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponent", + "kind": "function", + "detail": "uriComponent()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponent", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponent($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponentToString", + "kind": "function", + "detail": "uriComponentToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponentToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponentToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "validModule", + "kind": "module", + "detail": "validModule", + "deprecated": false, + "preselect": false, + "sortText": "2_validModule", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validModule" + } + }, + { + "label": "validResourceForInvalidExtensionResourceDuplicateName", + "kind": "interface", + "detail": "validResourceForInvalidExtensionResourceDuplicateName", + "deprecated": false, + "preselect": false, + "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validResourceForInvalidExtensionResourceDuplicateName" + } + } ] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/objectPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/objectPlusSymbols.json index 8c9a078e9dc..e5fc28b6b9d 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/objectPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/objectPlusSymbols.json @@ -1,2331 +1,2345 @@ -[ - { - "label": "any", - "kind": "function", - "detail": "any()", - "deprecated": false, - "preselect": false, - "sortText": "3_any", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "any($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "array", - "kind": "function", - "detail": "array()", - "deprecated": false, - "preselect": false, - "sortText": "3_array", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "array($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "az", - "kind": "folder", - "detail": "az", - "deprecated": false, - "preselect": false, - "sortText": "3_az", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "az" - } - }, - { - "label": "badDepends", - "kind": "interface", - "detail": "badDepends", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends" - } - }, - { - "label": "badDepends2", - "kind": "interface", - "detail": "badDepends2", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends2" - } - }, - { - "label": "badDepends3", - "kind": "interface", - "detail": "badDepends3", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends3" - } - }, - { - "label": "badDepends4", - "kind": "interface", - "detail": "badDepends4", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends4" - } - }, - { - "label": "badDepends5", - "kind": "interface", - "detail": "badDepends5", - "deprecated": false, - "preselect": false, - "sortText": "2_badDepends5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badDepends5" - } - }, - { - "label": "badInterp", - "kind": "interface", - "detail": "badInterp", - "deprecated": false, - "preselect": false, - "sortText": "2_badInterp", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "badInterp" - } - }, - { - "label": "bar", - "kind": "interface", - "detail": "bar", - "deprecated": false, - "preselect": false, - "sortText": "2_bar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bar" - } - }, - { - "label": "base64", - "kind": "function", - "detail": "base64()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToJson", - "kind": "function", - "detail": "base64ToJson()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToJson", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToJson($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "base64ToString", - "kind": "function", - "detail": "base64ToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_base64ToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "base64ToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "baz", - "kind": "interface", - "detail": "baz", - "deprecated": false, - "preselect": false, - "sortText": "2_baz", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "baz" - } - }, - { - "label": "bool", - "kind": "function", - "detail": "bool()", - "deprecated": false, - "preselect": false, - "sortText": "3_bool", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "bool($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "coalesce", - "kind": "function", - "detail": "coalesce()", - "deprecated": false, - "preselect": false, - "sortText": "3_coalesce", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "coalesce($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "concat", - "kind": "function", - "detail": "concat()", - "deprecated": false, - "preselect": false, - "sortText": "3_concat", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "concat($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "contains", - "kind": "function", - "detail": "contains()", - "deprecated": false, - "preselect": false, - "sortText": "3_contains", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "contains($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dashesInPropertyNames", - "kind": "interface", - "detail": "dashesInPropertyNames", - "deprecated": false, - "preselect": false, - "sortText": "2_dashesInPropertyNames", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dashesInPropertyNames" - } - }, - { - "label": "dataUri", - "kind": "function", - "detail": "dataUri()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dataUriToString", - "kind": "function", - "detail": "dataUriToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_dataUriToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dataUriToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "dateTimeAdd", - "kind": "function", - "detail": "dateTimeAdd()", - "deprecated": false, - "preselect": false, - "sortText": "3_dateTimeAdd", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "dateTimeAdd($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "deployment", - "kind": "function", - "detail": "deployment()", - "deprecated": false, - "preselect": false, - "sortText": "3_deployment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "deployment()$0" - } - }, - { - "label": "discriminatorKeyMissing", - "kind": "interface", - "detail": "discriminatorKeyMissing", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyMissing", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyMissing" - } - }, - { - "label": "discriminatorKeySetOne", - "kind": "interface", - "detail": "discriminatorKeySetOne", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOne", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOne" - } - }, - { - "label": "discriminatorKeySetOneCompletions", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions" - } - }, - { - "label": "discriminatorKeySetOneCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions2" - } - }, - { - "label": "discriminatorKeySetOneCompletions3", - "kind": "variable", - "detail": "discriminatorKeySetOneCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetOneCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetOneCompletions3" - } - }, - { - "label": "discriminatorKeySetTwo", - "kind": "interface", - "detail": "discriminatorKeySetTwo", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwo" - } - }, - { - "label": "discriminatorKeySetTwoCompletions", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions" - } - }, - { - "label": "discriminatorKeySetTwoCompletions2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletions2" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" - } - }, - { - "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "kind": "variable", - "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" - } - }, - { - "label": "discriminatorKeyValueMissing", - "kind": "interface", - "detail": "discriminatorKeyValueMissing", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissing", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissing" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions2", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions2" - } - }, - { - "label": "discriminatorKeyValueMissingCompletions3", - "kind": "variable", - "detail": "discriminatorKeyValueMissingCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_discriminatorKeyValueMissingCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "discriminatorKeyValueMissingCompletions3" - } - }, - { - "label": "empty", - "kind": "function", - "detail": "empty()", - "deprecated": false, - "preselect": false, - "sortText": "3_empty", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "empty($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "endsWith", - "kind": "function", - "detail": "endsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_endsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "endsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "environment", - "kind": "function", - "detail": "environment()", - "deprecated": false, - "preselect": false, - "sortText": "3_environment", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "environment()$0" - } - }, - { - "label": "extensionResourceId", - "kind": "function", - "detail": "extensionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_extensionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "extensionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "first", - "kind": "function", - "detail": "first()", - "deprecated": false, - "preselect": false, - "sortText": "3_first", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "first($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "fo", - "kind": "interface", - "detail": "fo", - "deprecated": false, - "preselect": false, - "sortText": "2_fo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "fo" - } - }, - { - "label": "foo", - "kind": "interface", - "detail": "foo", - "deprecated": false, - "preselect": false, - "sortText": "2_foo", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "foo" - } - }, - { - "label": "format", - "kind": "function", - "detail": "format()", - "deprecated": false, - "preselect": false, - "sortText": "3_format", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "format($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "guid", - "kind": "function", - "detail": "guid()", - "deprecated": false, - "preselect": false, - "sortText": "3_guid", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "guid($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "incorrectPropertiesKey", - "kind": "interface", - "detail": "incorrectPropertiesKey", - "deprecated": false, - "preselect": false, - "sortText": "2_incorrectPropertiesKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "incorrectPropertiesKey" - } - }, - { - "label": "indexOf", - "kind": "function", - "detail": "indexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_indexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "indexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "int", - "kind": "function", - "detail": "int()", - "deprecated": false, - "preselect": false, - "sortText": "3_int", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "int($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "interpVal", - "kind": "variable", - "detail": "interpVal", - "deprecated": false, - "preselect": false, - "sortText": "2_interpVal", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "interpVal" - } - }, - { - "label": "intersection", - "kind": "function", - "detail": "intersection()", - "deprecated": false, - "preselect": false, - "sortText": "3_intersection", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "intersection($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "invalidDuplicateName1", - "kind": "interface", - "detail": "invalidDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName1" - } - }, - { - "label": "invalidDuplicateName2", - "kind": "interface", - "detail": "invalidDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName2" - } - }, - { - "label": "invalidDuplicateName3", - "kind": "interface", - "detail": "invalidDuplicateName3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidDuplicateName3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidDuplicateName3" - } - }, - { - "label": "invalidExtensionResourceDuplicateName1", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName1", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName1" - } - }, - { - "label": "invalidExtensionResourceDuplicateName2", - "kind": "interface", - "detail": "invalidExtensionResourceDuplicateName2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidExtensionResourceDuplicateName2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidExtensionResourceDuplicateName2" - } - }, - { - "label": "invalidScope", - "kind": "interface", - "detail": "invalidScope", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope" - } - }, - { - "label": "invalidScope2", - "kind": "interface", - "detail": "invalidScope2", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope2" - } - }, - { - "label": "invalidScope3", - "kind": "interface", - "detail": "invalidScope3", - "deprecated": false, - "preselect": false, - "sortText": "2_invalidScope3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "invalidScope3" - } - }, - { - "label": "json", - "kind": "function", - "detail": "json()", - "deprecated": false, - "preselect": false, - "sortText": "3_json", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "json($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "last", - "kind": "function", - "detail": "last()", - "deprecated": false, - "preselect": false, - "sortText": "3_last", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "last($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "lastIndexOf", - "kind": "function", - "detail": "lastIndexOf()", - "deprecated": false, - "preselect": false, - "sortText": "3_lastIndexOf", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "lastIndexOf($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "length", - "kind": "function", - "detail": "length()", - "deprecated": false, - "preselect": false, - "sortText": "3_length", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "length($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "letsAccessTheDashes", - "kind": "variable", - "detail": "letsAccessTheDashes", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes" - } - }, - { - "label": "letsAccessTheDashes2", - "kind": "variable", - "detail": "letsAccessTheDashes2", - "deprecated": false, - "preselect": false, - "sortText": "2_letsAccessTheDashes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "letsAccessTheDashes2" - } - }, - { - "label": "listKeys", - "kind": "function", - "detail": "listKeys()", - "deprecated": false, - "preselect": false, - "sortText": "3_listKeys", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "listKeys($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "magicString1", - "kind": "variable", - "detail": "magicString1", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString1" - } - }, - { - "label": "magicString2", - "kind": "variable", - "detail": "magicString2", - "deprecated": false, - "preselect": false, - "sortText": "2_magicString2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "magicString2" - } - }, - { - "label": "max", - "kind": "function", - "detail": "max()", - "deprecated": false, - "preselect": false, - "sortText": "3_max", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "max($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "min", - "kind": "function", - "detail": "min()", - "deprecated": false, - "preselect": false, - "sortText": "3_min", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "min($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "missingTopLevelProperties", - "kind": "interface", - "detail": "missingTopLevelProperties", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelProperties", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelProperties" - } - }, - { - "label": "missingTopLevelPropertiesExceptName", - "kind": "interface", - "detail": "missingTopLevelPropertiesExceptName", - "deprecated": false, - "preselect": false, - "sortText": "2_missingTopLevelPropertiesExceptName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingTopLevelPropertiesExceptName" - } - }, - { - "label": "missingType", - "kind": "interface", - "detail": "missingType", - "deprecated": false, - "preselect": false, - "sortText": "2_missingType", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "missingType" - } - }, - { - "label": "mock", - "kind": "variable", - "detail": "mock", - "deprecated": false, - "preselect": false, - "sortText": "2_mock", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "mock" - } - }, - { - "label": "nestedDiscriminator", - "kind": "interface", - "detail": "nestedDiscriminator", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminator", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminator" - } - }, - { - "label": "nestedDiscriminatorArrayIndexCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorArrayIndexCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorArrayIndexCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorArrayIndexCompletions" - } - }, - { - "label": "nestedDiscriminatorCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions" - } - }, - { - "label": "nestedDiscriminatorCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions2" - } - }, - { - "label": "nestedDiscriminatorCompletions3", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions3", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions3" - } - }, - { - "label": "nestedDiscriminatorCompletions4", - "kind": "variable", - "detail": "nestedDiscriminatorCompletions4", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorCompletions4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorCompletions4" - } - }, - { - "label": "nestedDiscriminatorMissingKey", - "kind": "interface", - "detail": "nestedDiscriminatorMissingKey", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKey", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKey" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions" - } - }, - { - "label": "nestedDiscriminatorMissingKeyCompletions2", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyCompletions2", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyCompletions2" - } - }, - { - "label": "nestedDiscriminatorMissingKeyIndexCompletions", - "kind": "variable", - "detail": "nestedDiscriminatorMissingKeyIndexCompletions", - "deprecated": false, - "preselect": false, - "sortText": "2_nestedDiscriminatorMissingKeyIndexCompletions", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "nestedDiscriminatorMissingKeyIndexCompletions" - } - }, - { - "label": "notAResource", - "kind": "variable", - "detail": "notAResource", - "deprecated": false, - "preselect": false, - "sortText": "2_notAResource", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "notAResource" - } - }, - { - "label": "padLeft", - "kind": "function", - "detail": "padLeft()", - "deprecated": false, - "preselect": false, - "sortText": "3_padLeft", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "padLeft($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "pickZones", - "kind": "function", - "detail": "pickZones()", - "deprecated": false, - "preselect": false, - "sortText": "3_pickZones", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "pickZones($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "providers", - "kind": "function", - "detail": "providers()", - "deprecated": false, - "preselect": false, - "sortText": "3_providers", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "providers($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "range", - "kind": "function", - "detail": "range()", - "deprecated": false, - "preselect": false, - "sortText": "3_range", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "range($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "reference", - "kind": "function", - "detail": "reference()", - "deprecated": false, - "preselect": false, - "sortText": "3_reference", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "reference($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "replace", - "kind": "function", - "detail": "replace()", - "deprecated": false, - "preselect": false, - "sortText": "3_replace", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "replace($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceGroup", - "kind": "function", - "detail": "resourceGroup()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceGroup", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceGroup($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resourceId", - "kind": "function", - "detail": "resourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_resourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "resrefpar", - "kind": "field", - "detail": "resrefpar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefpar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefpar" - } - }, - { - "label": "resrefvar", - "kind": "variable", - "detail": "resrefvar", - "deprecated": false, - "preselect": false, - "sortText": "2_resrefvar", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "resrefvar" - } - }, - { - "label": "runtimeInvalid", - "kind": "variable", - "detail": "runtimeInvalid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalid" - } - }, - { - "label": "runtimeInvalidRes1", - "kind": "interface", - "detail": "runtimeInvalidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes1" - } - }, - { - "label": "runtimeInvalidRes10", - "kind": "interface", - "detail": "runtimeInvalidRes10", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes10", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes10" - } - }, - { - "label": "runtimeInvalidRes11", - "kind": "interface", - "detail": "runtimeInvalidRes11", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes11", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes11" - } - }, - { - "label": "runtimeInvalidRes12", - "kind": "interface", - "detail": "runtimeInvalidRes12", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes12", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes12" - } - }, - { - "label": "runtimeInvalidRes13", - "kind": "interface", - "detail": "runtimeInvalidRes13", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes13", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes13" - } - }, - { - "label": "runtimeInvalidRes14", - "kind": "interface", - "detail": "runtimeInvalidRes14", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes14", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes14" - } - }, - { - "label": "runtimeInvalidRes15", - "kind": "interface", - "detail": "runtimeInvalidRes15", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes15", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes15" - } - }, - { - "label": "runtimeInvalidRes16", - "kind": "interface", - "detail": "runtimeInvalidRes16", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes16", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes16" - } - }, - { - "label": "runtimeInvalidRes17", - "kind": "interface", - "detail": "runtimeInvalidRes17", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes17", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes17" - } - }, - { - "label": "runtimeInvalidRes18", - "kind": "interface", - "detail": "runtimeInvalidRes18", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes18", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes18" - } - }, - { - "label": "runtimeInvalidRes2", - "kind": "interface", - "detail": "runtimeInvalidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes2" - } - }, - { - "label": "runtimeInvalidRes3", - "kind": "interface", - "detail": "runtimeInvalidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes3" - } - }, - { - "label": "runtimeInvalidRes4", - "kind": "interface", - "detail": "runtimeInvalidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes4" - } - }, - { - "label": "runtimeInvalidRes5", - "kind": "interface", - "detail": "runtimeInvalidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes5" - } - }, - { - "label": "runtimeInvalidRes6", - "kind": "interface", - "detail": "runtimeInvalidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes6" - } - }, - { - "label": "runtimeInvalidRes7", - "kind": "interface", - "detail": "runtimeInvalidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes7" - } - }, - { - "label": "runtimeInvalidRes8", - "kind": "interface", - "detail": "runtimeInvalidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes8" - } - }, - { - "label": "runtimeInvalidRes9", - "kind": "interface", - "detail": "runtimeInvalidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeInvalidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeInvalidRes9" - } - }, - { - "label": "runtimeValid", - "kind": "variable", - "detail": "runtimeValid", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValid", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValid" - } - }, - { - "label": "runtimeValidRes1", - "kind": "interface", - "detail": "runtimeValidRes1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes1" - } - }, - { - "label": "runtimeValidRes2", - "kind": "interface", - "detail": "runtimeValidRes2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes2" - } - }, - { - "label": "runtimeValidRes3", - "kind": "interface", - "detail": "runtimeValidRes3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes3" - } - }, - { - "label": "runtimeValidRes4", - "kind": "interface", - "detail": "runtimeValidRes4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes4" - } - }, - { - "label": "runtimeValidRes5", - "kind": "interface", - "detail": "runtimeValidRes5", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes5", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes5" - } - }, - { - "label": "runtimeValidRes6", - "kind": "interface", - "detail": "runtimeValidRes6", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes6", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes6" - } - }, - { - "label": "runtimeValidRes7", - "kind": "interface", - "detail": "runtimeValidRes7", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes7", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes7" - } - }, - { - "label": "runtimeValidRes8", - "kind": "interface", - "detail": "runtimeValidRes8", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes8", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes8" - } - }, - { - "label": "runtimeValidRes9", - "kind": "interface", - "detail": "runtimeValidRes9", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimeValidRes9", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimeValidRes9" - } - }, - { - "label": "runtimefoo1", - "kind": "variable", - "detail": "runtimefoo1", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo1", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo1" - } - }, - { - "label": "runtimefoo2", - "kind": "variable", - "detail": "runtimefoo2", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo2", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo2" - } - }, - { - "label": "runtimefoo3", - "kind": "variable", - "detail": "runtimefoo3", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo3", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo3" - } - }, - { - "label": "runtimefoo4", - "kind": "variable", - "detail": "runtimefoo4", - "deprecated": false, - "preselect": false, - "sortText": "2_runtimefoo4", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "runtimefoo4" - } - }, - { - "label": "selfScope", - "kind": "interface", - "detail": "selfScope", - "deprecated": false, - "preselect": false, - "sortText": "2_selfScope", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "selfScope" - } - }, - { - "label": "skip", - "kind": "function", - "detail": "skip()", - "deprecated": false, - "preselect": false, - "sortText": "3_skip", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "skip($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "split", - "kind": "function", - "detail": "split()", - "deprecated": false, - "preselect": false, - "sortText": "3_split", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "split($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "startedTypingTypeWithQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithQuotes" - } - }, - { - "label": "startedTypingTypeWithoutQuotes", - "kind": "interface", - "detail": "startedTypingTypeWithoutQuotes", - "deprecated": false, - "preselect": false, - "sortText": "2_startedTypingTypeWithoutQuotes", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startedTypingTypeWithoutQuotes" - } - }, - { - "label": "startsWith", - "kind": "function", - "detail": "startsWith()", - "deprecated": false, - "preselect": false, - "sortText": "3_startsWith", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "startsWith($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "string", - "kind": "function", - "detail": "string()", - "deprecated": false, - "preselect": false, - "sortText": "3_string", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "string($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscription", - "kind": "function", - "detail": "subscription()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscription", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscription($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "subscriptionResourceId", - "kind": "function", - "detail": "subscriptionResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_subscriptionResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "subscriptionResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "substring", - "kind": "function", - "detail": "substring()", - "deprecated": false, - "preselect": false, - "sortText": "3_substring", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "substring($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "sys", - "kind": "folder", - "detail": "sys", - "deprecated": false, - "preselect": false, - "sortText": "3_sys", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "sys" - } - }, - { - "label": "take", - "kind": "function", - "detail": "take()", - "deprecated": false, - "preselect": false, - "sortText": "3_take", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "take($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "tenant", - "kind": "function", - "detail": "tenant()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenant", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenant()$0" - } - }, - { - "label": "tenantResourceId", - "kind": "function", - "detail": "tenantResourceId()", - "deprecated": false, - "preselect": false, - "sortText": "3_tenantResourceId", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "tenantResourceId($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toLower", - "kind": "function", - "detail": "toLower()", - "deprecated": false, - "preselect": false, - "sortText": "3_toLower", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toLower($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "toUpper", - "kind": "function", - "detail": "toUpper()", - "deprecated": false, - "preselect": false, - "sortText": "3_toUpper", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "toUpper($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "trailingSpace", - "kind": "interface", - "detail": "trailingSpace", - "deprecated": false, - "preselect": false, - "sortText": "2_trailingSpace", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trailingSpace" - } - }, - { - "label": "trim", - "kind": "function", - "detail": "trim()", - "deprecated": false, - "preselect": false, - "sortText": "3_trim", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "trim($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "unfinishedVnet", - "kind": "interface", - "detail": "unfinishedVnet", - "deprecated": false, - "preselect": false, - "sortText": "2_unfinishedVnet", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "unfinishedVnet" - } - }, - { - "label": "union", - "kind": "function", - "detail": "union()", - "deprecated": false, - "preselect": false, - "sortText": "3_union", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "union($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uniqueString", - "kind": "function", - "detail": "uniqueString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uniqueString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uniqueString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uri", - "kind": "function", - "detail": "uri()", - "deprecated": false, - "preselect": false, - "sortText": "3_uri", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uri($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponent", - "kind": "function", - "detail": "uriComponent()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponent", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponent($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "uriComponentToString", - "kind": "function", - "detail": "uriComponentToString()", - "deprecated": false, - "preselect": false, - "sortText": "3_uriComponentToString", - "insertTextFormat": "snippet", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "uriComponentToString($0)" - }, - "command": { - "command": "editor.action.triggerParameterHints" - } - }, - { - "label": "validModule", - "kind": "module", - "detail": "validModule", - "deprecated": false, - "preselect": false, - "sortText": "2_validModule", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validModule" - } - }, - { - "label": "validResourceForInvalidExtensionResourceDuplicateName", - "kind": "interface", - "detail": "validResourceForInvalidExtensionResourceDuplicateName", - "deprecated": false, - "preselect": false, - "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", - "insertTextFormat": "plainText", - "insertTextMode": "asIs", - "textEdit": { - "range": {}, - "newText": "validResourceForInvalidExtensionResourceDuplicateName" - } - }, - { - "label": "{}", - "kind": "value", - "detail": "{}", - "deprecated": false, - "preselect": true, - "sortText": "1_{}", - "insertTextFormat": "snippet", - "insertTextMode": "adjustIndentation", - "textEdit": { - "range": {}, - "newText": "{\n\t$0\n}" - } - } +[ + { + "label": "any", + "kind": "function", + "detail": "any()", + "deprecated": false, + "preselect": false, + "sortText": "3_any", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "any($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "array", + "kind": "function", + "detail": "array()", + "deprecated": false, + "preselect": false, + "sortText": "3_array", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "array($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "az", + "kind": "folder", + "detail": "az", + "deprecated": false, + "preselect": false, + "sortText": "3_az", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "az" + } + }, + { + "label": "badDepends", + "kind": "interface", + "detail": "badDepends", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends" + } + }, + { + "label": "badDepends2", + "kind": "interface", + "detail": "badDepends2", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends2" + } + }, + { + "label": "badDepends3", + "kind": "interface", + "detail": "badDepends3", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends3" + } + }, + { + "label": "badDepends4", + "kind": "interface", + "detail": "badDepends4", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends4" + } + }, + { + "label": "badDepends5", + "kind": "interface", + "detail": "badDepends5", + "deprecated": false, + "preselect": false, + "sortText": "2_badDepends5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badDepends5" + } + }, + { + "label": "badInterp", + "kind": "interface", + "detail": "badInterp", + "deprecated": false, + "preselect": false, + "sortText": "2_badInterp", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "badInterp" + } + }, + { + "label": "bar", + "kind": "interface", + "detail": "bar", + "deprecated": false, + "preselect": false, + "sortText": "2_bar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bar" + } + }, + { + "label": "base64", + "kind": "function", + "detail": "base64()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToJson", + "kind": "function", + "detail": "base64ToJson()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToJson", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToJson($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "base64ToString", + "kind": "function", + "detail": "base64ToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_base64ToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "base64ToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "baz", + "kind": "interface", + "detail": "baz", + "deprecated": false, + "preselect": false, + "sortText": "2_baz", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "baz" + } + }, + { + "label": "bool", + "kind": "function", + "detail": "bool()", + "deprecated": false, + "preselect": false, + "sortText": "3_bool", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "bool($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "coalesce", + "kind": "function", + "detail": "coalesce()", + "deprecated": false, + "preselect": false, + "sortText": "3_coalesce", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "coalesce($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "concat", + "kind": "function", + "detail": "concat()", + "deprecated": false, + "preselect": false, + "sortText": "3_concat", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "concat($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "contains", + "kind": "function", + "detail": "contains()", + "deprecated": false, + "preselect": false, + "sortText": "3_contains", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "contains($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dashesInPropertyNames", + "kind": "interface", + "detail": "dashesInPropertyNames", + "deprecated": false, + "preselect": false, + "sortText": "2_dashesInPropertyNames", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dashesInPropertyNames" + } + }, + { + "label": "dataUri", + "kind": "function", + "detail": "dataUri()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dataUriToString", + "kind": "function", + "detail": "dataUriToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_dataUriToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dataUriToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "dateTimeAdd", + "kind": "function", + "detail": "dateTimeAdd()", + "deprecated": false, + "preselect": false, + "sortText": "3_dateTimeAdd", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "dateTimeAdd($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "deployment", + "kind": "function", + "detail": "deployment()", + "deprecated": false, + "preselect": false, + "sortText": "3_deployment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "deployment()$0" + } + }, + { + "label": "discriminatorKeyMissing", + "kind": "interface", + "detail": "discriminatorKeyMissing", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyMissing", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyMissing" + } + }, + { + "label": "discriminatorKeySetOne", + "kind": "interface", + "detail": "discriminatorKeySetOne", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOne", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOne" + } + }, + { + "label": "discriminatorKeySetOneCompletions", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions" + } + }, + { + "label": "discriminatorKeySetOneCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions2" + } + }, + { + "label": "discriminatorKeySetOneCompletions3", + "kind": "variable", + "detail": "discriminatorKeySetOneCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetOneCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetOneCompletions3" + } + }, + { + "label": "discriminatorKeySetTwo", + "kind": "interface", + "detail": "discriminatorKeySetTwo", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwo" + } + }, + { + "label": "discriminatorKeySetTwoCompletions", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions" + } + }, + { + "label": "discriminatorKeySetTwoCompletions2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletions2" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer" + } + }, + { + "label": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "kind": "variable", + "detail": "discriminatorKeySetTwoCompletionsArrayIndexer2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeySetTwoCompletionsArrayIndexer2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeySetTwoCompletionsArrayIndexer2" + } + }, + { + "label": "discriminatorKeyValueMissing", + "kind": "interface", + "detail": "discriminatorKeyValueMissing", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissing", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissing" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions2", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions2" + } + }, + { + "label": "discriminatorKeyValueMissingCompletions3", + "kind": "variable", + "detail": "discriminatorKeyValueMissingCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_discriminatorKeyValueMissingCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "discriminatorKeyValueMissingCompletions3" + } + }, + { + "label": "empty", + "kind": "function", + "detail": "empty()", + "deprecated": false, + "preselect": false, + "sortText": "3_empty", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "empty($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "endsWith", + "kind": "function", + "detail": "endsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_endsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "endsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "environment", + "kind": "function", + "detail": "environment()", + "deprecated": false, + "preselect": false, + "sortText": "3_environment", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "environment()$0" + } + }, + { + "label": "extensionResourceId", + "kind": "function", + "detail": "extensionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_extensionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "extensionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "first", + "kind": "function", + "detail": "first()", + "deprecated": false, + "preselect": false, + "sortText": "3_first", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "first($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "fo", + "kind": "interface", + "detail": "fo", + "deprecated": false, + "preselect": false, + "sortText": "2_fo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "fo" + } + }, + { + "label": "foo", + "kind": "interface", + "detail": "foo", + "deprecated": false, + "preselect": false, + "sortText": "2_foo", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "foo" + } + }, + { + "label": "format", + "kind": "function", + "detail": "format()", + "deprecated": false, + "preselect": false, + "sortText": "3_format", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "format($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "guid", + "kind": "function", + "detail": "guid()", + "deprecated": false, + "preselect": false, + "sortText": "3_guid", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "guid($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "incorrectPropertiesKey", + "kind": "interface", + "detail": "incorrectPropertiesKey", + "deprecated": false, + "preselect": false, + "sortText": "2_incorrectPropertiesKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "incorrectPropertiesKey" + } + }, + { + "label": "indexOf", + "kind": "function", + "detail": "indexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_indexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "indexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "int", + "kind": "function", + "detail": "int()", + "deprecated": false, + "preselect": false, + "sortText": "3_int", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "int($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "interpVal", + "kind": "variable", + "detail": "interpVal", + "deprecated": false, + "preselect": false, + "sortText": "2_interpVal", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "interpVal" + } + }, + { + "label": "intersection", + "kind": "function", + "detail": "intersection()", + "deprecated": false, + "preselect": false, + "sortText": "3_intersection", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "intersection($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "invalidDecorator", + "kind": "interface", + "detail": "invalidDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDecorator" + } + }, + { + "label": "invalidDuplicateName1", + "kind": "interface", + "detail": "invalidDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName1" + } + }, + { + "label": "invalidDuplicateName2", + "kind": "interface", + "detail": "invalidDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName2" + } + }, + { + "label": "invalidDuplicateName3", + "kind": "interface", + "detail": "invalidDuplicateName3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDuplicateName3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDuplicateName3" + } + }, + { + "label": "invalidExtensionResourceDuplicateName1", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName1", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName1" + } + }, + { + "label": "invalidExtensionResourceDuplicateName2", + "kind": "interface", + "detail": "invalidExtensionResourceDuplicateName2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidExtensionResourceDuplicateName2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidExtensionResourceDuplicateName2" + } + }, + { + "label": "invalidScope", + "kind": "interface", + "detail": "invalidScope", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope" + } + }, + { + "label": "invalidScope2", + "kind": "interface", + "detail": "invalidScope2", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope2" + } + }, + { + "label": "invalidScope3", + "kind": "interface", + "detail": "invalidScope3", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidScope3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidScope3" + } + }, + { + "label": "json", + "kind": "function", + "detail": "json()", + "deprecated": false, + "preselect": false, + "sortText": "3_json", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "json($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "last", + "kind": "function", + "detail": "last()", + "deprecated": false, + "preselect": false, + "sortText": "3_last", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "last($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "lastIndexOf", + "kind": "function", + "detail": "lastIndexOf()", + "deprecated": false, + "preselect": false, + "sortText": "3_lastIndexOf", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "lastIndexOf($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "length", + "kind": "function", + "detail": "length()", + "deprecated": false, + "preselect": false, + "sortText": "3_length", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "length($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "letsAccessTheDashes", + "kind": "variable", + "detail": "letsAccessTheDashes", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes" + } + }, + { + "label": "letsAccessTheDashes2", + "kind": "variable", + "detail": "letsAccessTheDashes2", + "deprecated": false, + "preselect": false, + "sortText": "2_letsAccessTheDashes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "letsAccessTheDashes2" + } + }, + { + "label": "listKeys", + "kind": "function", + "detail": "listKeys()", + "deprecated": false, + "preselect": false, + "sortText": "3_listKeys", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "listKeys($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "magicString1", + "kind": "variable", + "detail": "magicString1", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString1" + } + }, + { + "label": "magicString2", + "kind": "variable", + "detail": "magicString2", + "deprecated": false, + "preselect": false, + "sortText": "2_magicString2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "magicString2" + } + }, + { + "label": "max", + "kind": "function", + "detail": "max()", + "deprecated": false, + "preselect": false, + "sortText": "3_max", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "max($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "min", + "kind": "function", + "detail": "min()", + "deprecated": false, + "preselect": false, + "sortText": "3_min", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "min($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "missingTopLevelProperties", + "kind": "interface", + "detail": "missingTopLevelProperties", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelProperties", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelProperties" + } + }, + { + "label": "missingTopLevelPropertiesExceptName", + "kind": "interface", + "detail": "missingTopLevelPropertiesExceptName", + "deprecated": false, + "preselect": false, + "sortText": "2_missingTopLevelPropertiesExceptName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingTopLevelPropertiesExceptName" + } + }, + { + "label": "missingType", + "kind": "interface", + "detail": "missingType", + "deprecated": false, + "preselect": false, + "sortText": "2_missingType", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "missingType" + } + }, + { + "label": "mock", + "kind": "variable", + "detail": "mock", + "deprecated": false, + "preselect": false, + "sortText": "2_mock", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "mock" + } + }, + { + "label": "nestedDiscriminator", + "kind": "interface", + "detail": "nestedDiscriminator", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminator" + } + }, + { + "label": "nestedDiscriminatorArrayIndexCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorArrayIndexCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorArrayIndexCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorArrayIndexCompletions" + } + }, + { + "label": "nestedDiscriminatorCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions" + } + }, + { + "label": "nestedDiscriminatorCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions2" + } + }, + { + "label": "nestedDiscriminatorCompletions3", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions3", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions3" + } + }, + { + "label": "nestedDiscriminatorCompletions4", + "kind": "variable", + "detail": "nestedDiscriminatorCompletions4", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorCompletions4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorCompletions4" + } + }, + { + "label": "nestedDiscriminatorMissingKey", + "kind": "interface", + "detail": "nestedDiscriminatorMissingKey", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKey", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKey" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions" + } + }, + { + "label": "nestedDiscriminatorMissingKeyCompletions2", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyCompletions2", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyCompletions2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyCompletions2" + } + }, + { + "label": "nestedDiscriminatorMissingKeyIndexCompletions", + "kind": "variable", + "detail": "nestedDiscriminatorMissingKeyIndexCompletions", + "deprecated": false, + "preselect": false, + "sortText": "2_nestedDiscriminatorMissingKeyIndexCompletions", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "nestedDiscriminatorMissingKeyIndexCompletions" + } + }, + { + "label": "notAResource", + "kind": "variable", + "detail": "notAResource", + "deprecated": false, + "preselect": false, + "sortText": "2_notAResource", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "notAResource" + } + }, + { + "label": "padLeft", + "kind": "function", + "detail": "padLeft()", + "deprecated": false, + "preselect": false, + "sortText": "3_padLeft", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "padLeft($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "pickZones", + "kind": "function", + "detail": "pickZones()", + "deprecated": false, + "preselect": false, + "sortText": "3_pickZones", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "pickZones($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "providers", + "kind": "function", + "detail": "providers()", + "deprecated": false, + "preselect": false, + "sortText": "3_providers", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "providers($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "range", + "kind": "function", + "detail": "range()", + "deprecated": false, + "preselect": false, + "sortText": "3_range", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "range($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "reference", + "kind": "function", + "detail": "reference()", + "deprecated": false, + "preselect": false, + "sortText": "3_reference", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "reference($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "replace", + "kind": "function", + "detail": "replace()", + "deprecated": false, + "preselect": false, + "sortText": "3_replace", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "replace($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceGroup", + "kind": "function", + "detail": "resourceGroup()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceGroup", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceGroup($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resourceId", + "kind": "function", + "detail": "resourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_resourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "resrefpar", + "kind": "field", + "detail": "resrefpar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefpar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefpar" + } + }, + { + "label": "resrefvar", + "kind": "variable", + "detail": "resrefvar", + "deprecated": false, + "preselect": false, + "sortText": "2_resrefvar", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "resrefvar" + } + }, + { + "label": "runtimeInvalid", + "kind": "variable", + "detail": "runtimeInvalid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalid" + } + }, + { + "label": "runtimeInvalidRes1", + "kind": "interface", + "detail": "runtimeInvalidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes1" + } + }, + { + "label": "runtimeInvalidRes10", + "kind": "interface", + "detail": "runtimeInvalidRes10", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes10", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes10" + } + }, + { + "label": "runtimeInvalidRes11", + "kind": "interface", + "detail": "runtimeInvalidRes11", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes11", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes11" + } + }, + { + "label": "runtimeInvalidRes12", + "kind": "interface", + "detail": "runtimeInvalidRes12", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes12", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes12" + } + }, + { + "label": "runtimeInvalidRes13", + "kind": "interface", + "detail": "runtimeInvalidRes13", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes13", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes13" + } + }, + { + "label": "runtimeInvalidRes14", + "kind": "interface", + "detail": "runtimeInvalidRes14", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes14", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes14" + } + }, + { + "label": "runtimeInvalidRes15", + "kind": "interface", + "detail": "runtimeInvalidRes15", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes15", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes15" + } + }, + { + "label": "runtimeInvalidRes16", + "kind": "interface", + "detail": "runtimeInvalidRes16", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes16", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes16" + } + }, + { + "label": "runtimeInvalidRes17", + "kind": "interface", + "detail": "runtimeInvalidRes17", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes17", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes17" + } + }, + { + "label": "runtimeInvalidRes18", + "kind": "interface", + "detail": "runtimeInvalidRes18", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes18", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes18" + } + }, + { + "label": "runtimeInvalidRes2", + "kind": "interface", + "detail": "runtimeInvalidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes2" + } + }, + { + "label": "runtimeInvalidRes3", + "kind": "interface", + "detail": "runtimeInvalidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes3" + } + }, + { + "label": "runtimeInvalidRes4", + "kind": "interface", + "detail": "runtimeInvalidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes4" + } + }, + { + "label": "runtimeInvalidRes5", + "kind": "interface", + "detail": "runtimeInvalidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes5" + } + }, + { + "label": "runtimeInvalidRes6", + "kind": "interface", + "detail": "runtimeInvalidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes6" + } + }, + { + "label": "runtimeInvalidRes7", + "kind": "interface", + "detail": "runtimeInvalidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes7" + } + }, + { + "label": "runtimeInvalidRes8", + "kind": "interface", + "detail": "runtimeInvalidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes8" + } + }, + { + "label": "runtimeInvalidRes9", + "kind": "interface", + "detail": "runtimeInvalidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeInvalidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeInvalidRes9" + } + }, + { + "label": "runtimeValid", + "kind": "variable", + "detail": "runtimeValid", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValid", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValid" + } + }, + { + "label": "runtimeValidRes1", + "kind": "interface", + "detail": "runtimeValidRes1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes1" + } + }, + { + "label": "runtimeValidRes2", + "kind": "interface", + "detail": "runtimeValidRes2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes2" + } + }, + { + "label": "runtimeValidRes3", + "kind": "interface", + "detail": "runtimeValidRes3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes3" + } + }, + { + "label": "runtimeValidRes4", + "kind": "interface", + "detail": "runtimeValidRes4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes4" + } + }, + { + "label": "runtimeValidRes5", + "kind": "interface", + "detail": "runtimeValidRes5", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes5", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes5" + } + }, + { + "label": "runtimeValidRes6", + "kind": "interface", + "detail": "runtimeValidRes6", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes6", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes6" + } + }, + { + "label": "runtimeValidRes7", + "kind": "interface", + "detail": "runtimeValidRes7", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes7", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes7" + } + }, + { + "label": "runtimeValidRes8", + "kind": "interface", + "detail": "runtimeValidRes8", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes8", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes8" + } + }, + { + "label": "runtimeValidRes9", + "kind": "interface", + "detail": "runtimeValidRes9", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimeValidRes9", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimeValidRes9" + } + }, + { + "label": "runtimefoo1", + "kind": "variable", + "detail": "runtimefoo1", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo1", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo1" + } + }, + { + "label": "runtimefoo2", + "kind": "variable", + "detail": "runtimefoo2", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo2", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo2" + } + }, + { + "label": "runtimefoo3", + "kind": "variable", + "detail": "runtimefoo3", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo3", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo3" + } + }, + { + "label": "runtimefoo4", + "kind": "variable", + "detail": "runtimefoo4", + "deprecated": false, + "preselect": false, + "sortText": "2_runtimefoo4", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "runtimefoo4" + } + }, + { + "label": "selfScope", + "kind": "interface", + "detail": "selfScope", + "deprecated": false, + "preselect": false, + "sortText": "2_selfScope", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "selfScope" + } + }, + { + "label": "skip", + "kind": "function", + "detail": "skip()", + "deprecated": false, + "preselect": false, + "sortText": "3_skip", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "skip($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "split", + "kind": "function", + "detail": "split()", + "deprecated": false, + "preselect": false, + "sortText": "3_split", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "split($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "startedTypingTypeWithQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithQuotes" + } + }, + { + "label": "startedTypingTypeWithoutQuotes", + "kind": "interface", + "detail": "startedTypingTypeWithoutQuotes", + "deprecated": false, + "preselect": false, + "sortText": "2_startedTypingTypeWithoutQuotes", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startedTypingTypeWithoutQuotes" + } + }, + { + "label": "startsWith", + "kind": "function", + "detail": "startsWith()", + "deprecated": false, + "preselect": false, + "sortText": "3_startsWith", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "startsWith($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "string", + "kind": "function", + "detail": "string()", + "deprecated": false, + "preselect": false, + "sortText": "3_string", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "string($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscription", + "kind": "function", + "detail": "subscription()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscription", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscription($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "subscriptionResourceId", + "kind": "function", + "detail": "subscriptionResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_subscriptionResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "subscriptionResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "substring", + "kind": "function", + "detail": "substring()", + "deprecated": false, + "preselect": false, + "sortText": "3_substring", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "substring($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "sys", + "kind": "folder", + "detail": "sys", + "deprecated": false, + "preselect": false, + "sortText": "3_sys", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "sys" + } + }, + { + "label": "take", + "kind": "function", + "detail": "take()", + "deprecated": false, + "preselect": false, + "sortText": "3_take", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "take($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "tenant", + "kind": "function", + "detail": "tenant()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenant", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenant()$0" + } + }, + { + "label": "tenantResourceId", + "kind": "function", + "detail": "tenantResourceId()", + "deprecated": false, + "preselect": false, + "sortText": "3_tenantResourceId", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "tenantResourceId($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLower", + "kind": "function", + "detail": "toLower()", + "deprecated": false, + "preselect": false, + "sortText": "3_toLower", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toLower($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toUpper", + "kind": "function", + "detail": "toUpper()", + "deprecated": false, + "preselect": false, + "sortText": "3_toUpper", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "toUpper($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "trailingSpace", + "kind": "interface", + "detail": "trailingSpace", + "deprecated": false, + "preselect": false, + "sortText": "2_trailingSpace", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trailingSpace" + } + }, + { + "label": "trim", + "kind": "function", + "detail": "trim()", + "deprecated": false, + "preselect": false, + "sortText": "3_trim", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "trim($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "unfinishedVnet", + "kind": "interface", + "detail": "unfinishedVnet", + "deprecated": false, + "preselect": false, + "sortText": "2_unfinishedVnet", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "unfinishedVnet" + } + }, + { + "label": "union", + "kind": "function", + "detail": "union()", + "deprecated": false, + "preselect": false, + "sortText": "3_union", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "union($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uniqueString", + "kind": "function", + "detail": "uniqueString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uniqueString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uniqueString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uri", + "kind": "function", + "detail": "uri()", + "deprecated": false, + "preselect": false, + "sortText": "3_uri", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uri($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponent", + "kind": "function", + "detail": "uriComponent()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponent", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponent($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "uriComponentToString", + "kind": "function", + "detail": "uriComponentToString()", + "deprecated": false, + "preselect": false, + "sortText": "3_uriComponentToString", + "insertTextFormat": "snippet", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "uriComponentToString($0)" + }, + "command": { + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "validModule", + "kind": "module", + "detail": "validModule", + "deprecated": false, + "preselect": false, + "sortText": "2_validModule", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validModule" + } + }, + { + "label": "validResourceForInvalidExtensionResourceDuplicateName", + "kind": "interface", + "detail": "validResourceForInvalidExtensionResourceDuplicateName", + "deprecated": false, + "preselect": false, + "sortText": "2_validResourceForInvalidExtensionResourceDuplicateName", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "validResourceForInvalidExtensionResourceDuplicateName" + } + }, + { + "label": "{}", + "kind": "value", + "detail": "{}", + "deprecated": false, + "preselect": true, + "sortText": "1_{}", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "{\n\t$0\n}" + } + } ] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbols.json index c30dece8a7b..8d4bb061a27 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbols.json @@ -790,6 +790,20 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "invalidDecorator", + "kind": "interface", + "detail": "invalidDecorator", + "deprecated": false, + "preselect": false, + "sortText": "2_invalidDecorator", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "invalidDecorator" + } + }, { "label": "invalidDuplicateName1", "kind": "interface", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.bicep b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.bicep index 3f169480fb3..a9364cf257c 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.bicep @@ -562,4 +562,10 @@ resource invalidExtensionResourceDuplicateName1 'Mock.Rp/mockExtResource@2020-01 resource invalidExtensionResourceDuplicateName2 'Mock.Rp/mockExtResource@2019-01-01' = { name: 'invalidExtensionResourceDuplicateName' scope: validResourceForInvalidExtensionResourceDuplicateName -} \ No newline at end of file +} + +@concat('foo', 'bar') +@secure() +resource invalidDecorator 'Microsoft.Foo/foos@2020-02-02-alpha'= { + name: 'invalidDecorator' +} diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.diagnostics.bicep b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.diagnostics.bicep index e14a2e422dd..cd75d240fe4 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.diagnostics.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.diagnostics.bicep @@ -740,3 +740,12 @@ resource invalidExtensionResourceDuplicateName2 'Mock.Rp/mockExtResource@2019-01 //@[8:47) [BCP121 (Error)] Resources: "invalidExtensionResourceDuplicateName1", "invalidExtensionResourceDuplicateName2" are defined with this same name in a file. Rename them or split into different modules. |'invalidExtensionResourceDuplicateName'| scope: validResourceForInvalidExtensionResourceDuplicateName } + +@concat('foo', 'bar') +//@[1:7) [BCP127 (Error)] Function "concat" cannot be used as a resource decorator. |concat| +@secure() +//@[1:7) [BCP127 (Error)] Function "secure" cannot be used as a resource decorator. |secure| +resource invalidDecorator 'Microsoft.Foo/foos@2020-02-02-alpha'= { + name: 'invalidDecorator' +} + diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.formatted.bicep b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.formatted.bicep index ff0147ccfac..ca674025021 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.formatted.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.formatted.bicep @@ -545,3 +545,9 @@ resource invalidExtensionResourceDuplicateName2 'Mock.Rp/mockExtResource@2019-01 name: 'invalidExtensionResourceDuplicateName' scope: validResourceForInvalidExtensionResourceDuplicateName } + +@concat('foo', 'bar') +@secure() +resource invalidDecorator 'Microsoft.Foo/foos@2020-02-02-alpha' = { + name: 'invalidDecorator' +} diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.symbols.bicep b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.symbols.bicep index db24960b4f8..ab1c3c363ec 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.symbols.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.symbols.bicep @@ -686,3 +686,11 @@ resource invalidExtensionResourceDuplicateName2 'Mock.Rp/mockExtResource@2019-01 name: 'invalidExtensionResourceDuplicateName' scope: validResourceForInvalidExtensionResourceDuplicateName } + +@concat('foo', 'bar') +@secure() +resource invalidDecorator 'Microsoft.Foo/foos@2020-02-02-alpha'= { +//@[9:25) Resource invalidDecorator. Type: Microsoft.Foo/foos@2020-02-02-alpha. Declaration start char: 0, length: 131 + name: 'invalidDecorator' +} + diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.syntax.bicep b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.syntax.bicep index c77a7519a4d..eae6f8b33a7 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.syntax.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.syntax.bicep @@ -3904,4 +3904,54 @@ resource invalidExtensionResourceDuplicateName2 'Mock.Rp/mockExtResource@2019-01 //@[62:64) NewLine |\r\n| } //@[0:1) RightBrace |}| -//@[1:1) EndOfFile || +//@[1:5) NewLine |\r\n\r\n| + +@concat('foo', 'bar') +//@[0:131) ResourceDeclarationSyntax +//@[0:21) DecoratorSyntax +//@[0:1) At |@| +//@[1:21) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |concat| +//@[7:8) LeftParen |(| +//@[8:14) FunctionArgumentSyntax +//@[8:13) StringSyntax +//@[8:13) StringComplete |'foo'| +//@[13:14) Comma |,| +//@[15:20) FunctionArgumentSyntax +//@[15:20) StringSyntax +//@[15:20) StringComplete |'bar'| +//@[20:21) RightParen |)| +//@[21:23) NewLine |\r\n| +@secure() +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +resource invalidDecorator 'Microsoft.Foo/foos@2020-02-02-alpha'= { +//@[0:8) Identifier |resource| +//@[9:25) IdentifierSyntax +//@[9:25) Identifier |invalidDecorator| +//@[26:63) StringSyntax +//@[26:63) StringComplete |'Microsoft.Foo/foos@2020-02-02-alpha'| +//@[63:64) Assignment |=| +//@[65:97) ObjectSyntax +//@[65:66) LeftBrace |{| +//@[66:68) NewLine |\r\n| + name: 'invalidDecorator' +//@[2:26) ObjectPropertySyntax +//@[2:6) IdentifierSyntax +//@[2:6) Identifier |name| +//@[6:7) Colon |:| +//@[8:26) StringSyntax +//@[8:26) StringComplete |'invalidDecorator'| +//@[26:28) NewLine |\r\n| +} +//@[0:1) RightBrace |}| +//@[1:3) NewLine |\r\n| + +//@[0:0) EndOfFile || diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.tokens.bicep b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.tokens.bicep index 6826d0a7067..cd31f0abc13 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.tokens.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/main.tokens.bicep @@ -2519,4 +2519,37 @@ resource invalidExtensionResourceDuplicateName2 'Mock.Rp/mockExtResource@2019-01 //@[62:64) NewLine |\r\n| } //@[0:1) RightBrace |}| -//@[1:1) EndOfFile || +//@[1:5) NewLine |\r\n\r\n| + +@concat('foo', 'bar') +//@[0:1) At |@| +//@[1:7) Identifier |concat| +//@[7:8) LeftParen |(| +//@[8:13) StringComplete |'foo'| +//@[13:14) Comma |,| +//@[15:20) StringComplete |'bar'| +//@[20:21) RightParen |)| +//@[21:23) NewLine |\r\n| +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +resource invalidDecorator 'Microsoft.Foo/foos@2020-02-02-alpha'= { +//@[0:8) Identifier |resource| +//@[9:25) Identifier |invalidDecorator| +//@[26:63) StringComplete |'Microsoft.Foo/foos@2020-02-02-alpha'| +//@[63:64) Assignment |=| +//@[65:66) LeftBrace |{| +//@[66:68) NewLine |\r\n| + name: 'invalidDecorator' +//@[2:6) Identifier |name| +//@[6:7) Colon |:| +//@[8:26) StringComplete |'invalidDecorator'| +//@[26:28) NewLine |\r\n| +} +//@[0:1) RightBrace |}| +//@[1:3) NewLine |\r\n| + +//@[0:0) EndOfFile || diff --git a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/objectVarTopLevelIndexes.json b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/objectVarTopLevelIndexes.json index 3d6454d8998..13aa8822b50 100644 --- a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/objectVarTopLevelIndexes.json +++ b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/objectVarTopLevelIndexes.json @@ -989,6 +989,20 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "something", + "kind": "variable", + "detail": "something", + "deprecated": false, + "preselect": false, + "sortText": "2_something", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "something" + } + }, { "label": "split", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/symbols.json b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/symbols.json index 9b9738a911f..26e9b0bdfba 100644 --- a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/symbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/symbols.json @@ -989,6 +989,20 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "something", + "kind": "variable", + "detail": "something", + "deprecated": false, + "preselect": false, + "sortText": "2_something", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "something" + } + }, { "label": "split", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/twoIndexPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/twoIndexPlusSymbols.json index 3a76d3b85a7..79e2a4fc7d4 100644 --- a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/twoIndexPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/twoIndexPlusSymbols.json @@ -1007,6 +1007,20 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "something", + "kind": "variable", + "detail": "something", + "deprecated": false, + "preselect": false, + "sortText": "2_something", + "insertTextFormat": "plainText", + "insertTextMode": "asIs", + "textEdit": { + "range": {}, + "newText": "something" + } + }, { "label": "split", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.bicep b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.bicep index e67d7a6cad7..d0a6662d3a9 100644 --- a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.bicep @@ -145,4 +145,8 @@ var objectVarTopLevelArrayIndexCompletions = objectLiteralType[f] var oneArrayIndexCompletions = objectLiteralType.sixth[0][] // Issue 486 -var myFloat = 3.14 \ No newline at end of file +var myFloat = 3.14 + +// secure cannot be used as a varaible decorator +@sys.secure() +var something = 1 diff --git a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.diagnostics.bicep b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.diagnostics.bicep index 32be2c5cfdd..f773b2a17f9 100644 --- a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.diagnostics.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.diagnostics.bicep @@ -217,3 +217,9 @@ var myFloat = 3.14 //@[16:16) [BCP020 (Error)] Expected a function or property name at this location. || //@[16:18) [BCP019 (Error)] Expected a new line character at this location. |14| //@[16:16) [BCP055 (Error)] Cannot access properties of type "int". An "object" type is required. || + +// secure cannot be used as a varaible decorator +@sys.secure() +//@[5:11) [BCP126 (Error)] Function "secure" cannot be used as a variable decorator. |secure| +var something = 1 + diff --git a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.formatted.bicep b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.formatted.bicep index 7e0201de927..735b2f464b0 100644 --- a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.formatted.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.formatted.bicep @@ -145,3 +145,7 @@ var oneArrayIndexCompletions = objectLiteralType.sixth[0][] // Issue 486 var myFloat = 3. 14 + +// secure cannot be used as a varaible decorator +@sys.secure() +var something = 1 diff --git a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.symbols.bicep b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.symbols.bicep index 526725bd9ba..861548f0626 100644 --- a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.symbols.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.symbols.bicep @@ -190,3 +190,9 @@ var oneArrayIndexCompletions = objectLiteralType.sixth[0][] // Issue 486 var myFloat = 3.14 //@[4:11) Variable myFloat. Type: error. Declaration start char: 0, length: 16 + +// secure cannot be used as a varaible decorator +@sys.secure() +var something = 1 +//@[4:13) Variable something. Type: int. Declaration start char: 0, length: 31 + diff --git a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.syntax.bicep b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.syntax.bicep index 5bea6a9aad0..8b9158df3c8 100644 --- a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.syntax.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.syntax.bicep @@ -906,6 +906,33 @@ var myFloat = 3.14 //@[15:16) Dot |.| //@[16:16) IdentifierSyntax //@[16:16) SkippedTriviaSyntax -//@[16:18) SkippedTriviaSyntax +//@[16:20) SkippedTriviaSyntax //@[16:18) Integer |14| -//@[18:18) EndOfFile || +//@[18:20) NewLine |\n\n| + +// secure cannot be used as a varaible decorator +//@[48:49) NewLine |\n| +@sys.secure() +//@[0:31) VariableDeclarationSyntax +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) InstanceFunctionCallSyntax +//@[1:4) VariableAccessSyntax +//@[1:4) IdentifierSyntax +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:11) IdentifierSyntax +//@[5:11) Identifier |secure| +//@[11:12) LeftParen |(| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +var something = 1 +//@[0:3) Identifier |var| +//@[4:13) IdentifierSyntax +//@[4:13) Identifier |something| +//@[14:15) Assignment |=| +//@[16:17) IntegerLiteralSyntax +//@[16:17) Integer |1| +//@[17:18) NewLine |\n| + +//@[0:0) EndOfFile || diff --git a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.tokens.bicep b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.tokens.bicep index 0a5de42ae29..ecf455ef510 100644 --- a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.tokens.bicep +++ b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/main.tokens.bicep @@ -594,4 +594,23 @@ var myFloat = 3.14 //@[14:15) Integer |3| //@[15:16) Dot |.| //@[16:18) Integer |14| -//@[18:18) EndOfFile || +//@[18:20) NewLine |\n\n| + +// secure cannot be used as a varaible decorator +//@[48:49) NewLine |\n| +@sys.secure() +//@[0:1) At |@| +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:11) Identifier |secure| +//@[11:12) LeftParen |(| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +var something = 1 +//@[0:3) Identifier |var| +//@[4:13) Identifier |something| +//@[14:15) Assignment |=| +//@[16:17) Integer |1| +//@[17:18) NewLine |\n| + +//@[0:0) EndOfFile || diff --git a/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.bicep b/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.bicep index acc849f311e..b464c4308b9 100644 --- a/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.bicep +++ b/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.bicep @@ -59,6 +59,9 @@ param password string { secure: true } +@secure() +param passwordWithDecorator string + // non-secure string param nonSecure string { secure: false @@ -69,6 +72,9 @@ param secretObject object { secure: true } +@secure() +param secretObjectWithDecorator object + // enum parameter param storageSku string { allowed: [ @@ -77,24 +83,41 @@ param storageSku string { ] } +@allowed([ + 'Standard_LRS' + 'Standard_GRS' +]) +param storageSkuWithDecorator string + // length constraint on a string param storageName string { minLength: 3 maxLength: 24 } +@minLength(3) +@maxLength(24) +param storageNameWithDecorator string + // length constraint on an array param someArray array { minLength: 3 maxLength: 24 } +@minLength(3) +@maxLength(24) +param someArrayWithDecorator array + // empty metadata param emptyMetadata string { metadata: { } } +@metadata({}) +param emptyMetadataWithDecorator string + // description param description string { metadata: { @@ -102,6 +125,14 @@ param description string { } } +@metadata({ + description: 'my description' +}) +param descriptionWithDecorator string + +@sys.description('my description') +param descriptionWithDecorator2 string + // random extra metadata param additionalMetadata string { metadata: { @@ -116,6 +147,18 @@ param additionalMetadata string { } } +@metadata({ + description: 'my description' + a: 1 + b: true + c: [ + ] + d: { + test: 'abc' + } +}) +param additionalMetadataWithDecorator string + // all modifiers together param someParameter string { secure: true @@ -132,6 +175,19 @@ param someParameter string { } } +@secure() +@minLength(3) +@maxLength(24) +@allowed([ + 'one' + 'two' + 'three' +]) +@metadata({ + description: 'Name of the storage account' +}) +param someParameterWithDecorator string + param defaultValueExpression int { default: true ? 4 + 2*3 : 0 } @@ -153,3 +209,78 @@ param stringLiteralWithAllowedValuesSuperset string { ] default: stringLiteral } + +@allowed([ + 'abc' + 'def' +]) +param stringLiteralWithDecorator string + +@allowed([ + 'abc' + 'def' + 'ghi' +]) +param stringLiteralWithDecoratorWithAllowedValuesSuperset string = stringLiteralWithDecorator + +@secure() +@minLength(2) + @maxLength(10) +@allowed([ + 'Apple' + 'Banana' +]) +param decoratedString string + +@minValue(200) +param decoratedInt int = 123 + +@sys.description('A boolean.') +@metadata({ + description: 'I will be overrode.' + foo: 'something' + bar: [ + { } + true + 123 + ] +}) +param decoratedBool bool = (true && false) != true + +@secure() +@secure() +@secure() +param decoratedObject object = { + enabled: true + name: 'this is my object' + priority: 3 + info: { + a: 'b' + } + empty: { + } + array: [ + 'string item' + 12 + true + [ + 'inner' + false + ] + { + a: 'b' + } + ] +} + +@sys.metadata({ + description: 'An array.' +}) +@sys.maxLength(20) +@maxLength(10) +@maxLength(5) +@sys.description('I will be overrode.') +param decoratedArray array = [ + utcNow() + newGuid() +] diff --git a/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.diagnostics.bicep b/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.diagnostics.bicep index 420a55fe85f..933e5233c1a 100644 --- a/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.diagnostics.bicep +++ b/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.diagnostics.bicep @@ -59,6 +59,9 @@ param password string { secure: true } +@secure() +param passwordWithDecorator string + // non-secure string param nonSecure string { secure: false @@ -69,6 +72,9 @@ param secretObject object { secure: true } +@secure() +param secretObjectWithDecorator object + // enum parameter param storageSku string { allowed: [ @@ -77,24 +83,41 @@ param storageSku string { ] } +@allowed([ + 'Standard_LRS' + 'Standard_GRS' +]) +param storageSkuWithDecorator string + // length constraint on a string param storageName string { minLength: 3 maxLength: 24 } +@minLength(3) +@maxLength(24) +param storageNameWithDecorator string + // length constraint on an array param someArray array { minLength: 3 maxLength: 24 } +@minLength(3) +@maxLength(24) +param someArrayWithDecorator array + // empty metadata param emptyMetadata string { metadata: { } } +@metadata({}) +param emptyMetadataWithDecorator string + // description param description string { metadata: { @@ -102,6 +125,14 @@ param description string { } } +@metadata({ + description: 'my description' +}) +param descriptionWithDecorator string + +@sys.description('my description') +param descriptionWithDecorator2 string + // random extra metadata param additionalMetadata string { metadata: { @@ -116,6 +147,18 @@ param additionalMetadata string { } } +@metadata({ + description: 'my description' + a: 1 + b: true + c: [ + ] + d: { + test: 'abc' + } +}) +param additionalMetadataWithDecorator string + // all modifiers together param someParameter string { secure: true @@ -132,6 +175,19 @@ param someParameter string { } } +@secure() +@minLength(3) +@maxLength(24) +@allowed([ + 'one' + 'two' + 'three' +]) +@metadata({ + description: 'Name of the storage account' +}) +param someParameterWithDecorator string + param defaultValueExpression int { default: true ? 4 + 2*3 : 0 } @@ -154,3 +210,78 @@ param stringLiteralWithAllowedValuesSuperset string { default: stringLiteral } +@allowed([ + 'abc' + 'def' +]) +param stringLiteralWithDecorator string + +@allowed([ + 'abc' + 'def' + 'ghi' +]) +param stringLiteralWithDecoratorWithAllowedValuesSuperset string = stringLiteralWithDecorator + +@secure() +@minLength(2) + @maxLength(10) +@allowed([ + 'Apple' + 'Banana' +]) +param decoratedString string + +@minValue(200) +param decoratedInt int = 123 + +@sys.description('A boolean.') +@metadata({ + description: 'I will be overrode.' + foo: 'something' + bar: [ + { } + true + 123 + ] +}) +param decoratedBool bool = (true && false) != true + +@secure() +@secure() +@secure() +param decoratedObject object = { + enabled: true + name: 'this is my object' + priority: 3 + info: { + a: 'b' + } + empty: { + } + array: [ + 'string item' + 12 + true + [ + 'inner' + false + ] + { + a: 'b' + } + ] +} + +@sys.metadata({ + description: 'An array.' +}) +@sys.maxLength(20) +@maxLength(10) +@maxLength(5) +@sys.description('I will be overrode.') +param decoratedArray array = [ + utcNow() + newGuid() +] + diff --git a/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.formatted.bicep b/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.formatted.bicep index 4cacfebe46a..daf27d158b8 100644 --- a/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.formatted.bicep +++ b/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.formatted.bicep @@ -58,6 +58,9 @@ param password string { secure: true } +@secure() +param passwordWithDecorator string + // non-secure string param nonSecure string { secure: false @@ -68,6 +71,9 @@ param secretObject object { secure: true } +@secure() +param secretObjectWithDecorator object + // enum parameter param storageSku string { allowed: [ @@ -76,23 +82,40 @@ param storageSku string { ] } +@allowed([ + 'Standard_LRS' + 'Standard_GRS' +]) +param storageSkuWithDecorator string + // length constraint on a string param storageName string { minLength: 3 maxLength: 24 } +@minLength(3) +@maxLength(24) +param storageNameWithDecorator string + // length constraint on an array param someArray array { minLength: 3 maxLength: 24 } +@minLength(3) +@maxLength(24) +param someArrayWithDecorator array + // empty metadata param emptyMetadata string { metadata: {} } +@metadata({}) +param emptyMetadataWithDecorator string + // description param description string { metadata: { @@ -100,6 +123,14 @@ param description string { } } +@metadata({ + description: 'my description' +}) +param descriptionWithDecorator string + +@sys.description('my description') +param descriptionWithDecorator2 string + // random extra metadata param additionalMetadata string { metadata: { @@ -113,6 +144,17 @@ param additionalMetadata string { } } +@metadata({ + description: 'my description' + a: 1 + b: true + c: [] + d: { + test: 'abc' + } +}) +param additionalMetadataWithDecorator string + // all modifiers together param someParameter string { secure: true @@ -129,6 +171,19 @@ param someParameter string { } } +@secure() +@minLength(3) +@maxLength(24) +@allowed([ + 'one' + 'two' + 'three' +]) +@metadata({ + description: 'Name of the storage account' +}) +param someParameterWithDecorator string + param defaultValueExpression int { default: true ? 4 + 2 * 3 : 0 } @@ -150,3 +205,77 @@ param stringLiteralWithAllowedValuesSuperset string { ] default: stringLiteral } + +@allowed([ + 'abc' + 'def' +]) +param stringLiteralWithDecorator string + +@allowed([ + 'abc' + 'def' + 'ghi' +]) +param stringLiteralWithDecoratorWithAllowedValuesSuperset string = stringLiteralWithDecorator + +@secure() +@minLength(2) +@maxLength(10) +@allowed([ + 'Apple' + 'Banana' +]) +param decoratedString string + +@minValue(200) +param decoratedInt int = 123 + +@sys.description('A boolean.') +@metadata({ + description: 'I will be overrode.' + foo: 'something' + bar: [ + {} + true + 123 + ] +}) +param decoratedBool bool = (true && false) != true + +@secure() +@secure() +@secure() +param decoratedObject object = { + enabled: true + name: 'this is my object' + priority: 3 + info: { + a: 'b' + } + empty: {} + array: [ + 'string item' + 12 + true + [ + 'inner' + false + ] + { + a: 'b' + } + ] +} + +@sys.metadata({ + description: 'An array.' +}) +@sys.maxLength(20) +@maxLength(10) +@maxLength(5) +@sys.description('I will be overrode.') +param decoratedArray array = [ + utcNow() + newGuid() +] diff --git a/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.json b/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.json index 3cf69295f03..f785d9cf03a 100644 --- a/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.json +++ b/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.json @@ -1,163 +1,277 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "myString": { - "type": "string" - }, - "myInt": { - "type": "int" - }, - "myBool": { - "type": "bool" - }, - "myString2": { - "type": "string", - "defaultValue": "string value" - }, - "myInt2": { - "type": "int", - "defaultValue": 42 - }, - "myTruth": { - "type": "bool", - "defaultValue": true - }, - "myFalsehood": { - "type": "bool", - "defaultValue": false - }, - "myEscapedString": { - "type": "string", - "defaultValue": "First line\r\nSecond\ttabbed\tline" - }, - "foo": { - "type": "object", - "defaultValue": { - "enabled": true, - "name": "this is my object", - "priority": 3, - "info": { - "a": "b" - }, - "empty": {}, - "array": [ - "string item", - 12, - true, - [ - "inner", - false - ], - { - "a": "b" - } - ] - } - }, - "myArrayParam": { - "type": "array", - "defaultValue": [ - "a", - "b", - "c" - ] - }, - "myAlternativeArrayParam": { - "type": "array", - "defaultValue": [ - "a", - "b", - "c" - ] - }, - "password": { - "type": "secureString" - }, - "nonSecure": { - "type": "string" - }, - "secretObject": { - "type": "secureObject" - }, - "storageSku": { - "type": "string", - "allowedValues": [ - "Standard_LRS", - "Standard_GRS" - ] - }, - "storageName": { - "type": "string", - "minLength": 3, - "maxLength": 24 - }, - "someArray": { - "type": "array", - "minLength": 3, - "maxLength": 24 - }, - "emptyMetadata": { - "type": "string", - "metadata": {} - }, - "description": { - "type": "string", - "metadata": { - "description": "my description" - } - }, - "additionalMetadata": { - "type": "string", - "metadata": { - "description": "my description", - "a": 1, - "b": true, - "c": [], - "d": { - "test": "abc" - } - } - }, - "someParameter": { - "type": "secureString", - "minLength": 3, - "maxLength": 24, - "metadata": { - "description": "Name of the storage account" - }, - "defaultValue": "one", - "allowedValues": [ - "one", - "two", - "three" - ] - }, - "defaultValueExpression": { - "type": "int", - "defaultValue": "[if(true(), add(4, mul(2, 3)), 0)]" - }, - "defaultExpression": { - "type": "bool", - "defaultValue": "[not(equals(18, or(true(), false())))]" - }, - "stringLiteral": { - "type": "string", - "allowedValues": [ - "abc", - "def" - ] - }, - "stringLiteralWithAllowedValuesSuperset": { - "type": "string", - "defaultValue": "[parameters('stringLiteral')]", - "allowedValues": [ - "abc", - "def", - "ghi" - ] - } - }, - "functions": [], - "resources": [] +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "myString": { + "type": "string" + }, + "myInt": { + "type": "int" + }, + "myBool": { + "type": "bool" + }, + "myString2": { + "type": "string", + "defaultValue": "string value" + }, + "myInt2": { + "type": "int", + "defaultValue": 42 + }, + "myTruth": { + "type": "bool", + "defaultValue": true + }, + "myFalsehood": { + "type": "bool", + "defaultValue": false + }, + "myEscapedString": { + "type": "string", + "defaultValue": "First line\r\nSecond\ttabbed\tline" + }, + "foo": { + "type": "object", + "defaultValue": { + "enabled": true, + "name": "this is my object", + "priority": 3, + "info": { + "a": "b" + }, + "empty": {}, + "array": [ + "string item", + 12, + true, + [ + "inner", + false + ], + { + "a": "b" + } + ] + } + }, + "myArrayParam": { + "type": "array", + "defaultValue": [ + "a", + "b", + "c" + ] + }, + "myAlternativeArrayParam": { + "type": "array", + "defaultValue": [ + "a", + "b", + "c" + ] + }, + "password": { + "type": "secureString" + }, + "passwordWithDecorator": { + "type": "secureString" + }, + "nonSecure": { + "type": "string" + }, + "secretObject": { + "type": "secureObject" + }, + "secretObjectWithDecorator": { + "type": "secureObject" + }, + "storageSku": { + "type": "string", + "allowedValues": [ + "Standard_LRS", + "Standard_GRS" + ] + }, + "storageSkuWithDecorator": { + "type": "string", + "allowedValues": [ + "Standard_LRS", + "Standard_GRS" + ] + }, + "storageName": { + "type": "string", + "minLength": 3, + "maxLength": 24 + }, + "storageNameWithDecorator": { + "type": "string", + "maxLength": 24, + "minLength": 3 + }, + "someArray": { + "type": "array", + "minLength": 3, + "maxLength": 24 + }, + "someArrayWithDecorator": { + "type": "array", + "maxLength": 24, + "minLength": 3 + }, + "emptyMetadata": { + "type": "string", + "metadata": {} + }, + "emptyMetadataWithDecorator": { + "type": "string", + "metadata": {} + }, + "description": { + "type": "string", + "metadata": { + "description": "my description" + } + }, + "descriptionWithDecorator": { + "type": "string", + "metadata": { + "description": "my description" + } + }, + "descriptionWithDecorator2": { + "type": "string", + "metadata": { + "description": "my description" + } + }, + "additionalMetadata": { + "type": "string", + "metadata": { + "description": "my description", + "a": 1, + "b": true, + "c": [], + "d": { + "test": "abc" + } + } + }, + "additionalMetadataWithDecorator": { + "type": "string", + "metadata": { + "description": "my description", + "a": 1, + "b": true, + "c": [], + "d": { + "test": "abc" + } + } + }, + "someParameter": { + "type": "secureString", + "minLength": 3, + "maxLength": 24, + "metadata": { + "description": "Name of the storage account" + }, + "defaultValue": "one", + "allowedValues": [ + "one", + "two", + "three" + ] + }, + "someParameterWithDecorator": { + "type": "secureString", + "metadata": { + "description": "Name of the storage account" + }, + "allowedValues": [ + "one", + "two", + "three" + ], + "maxLength": 24, + "minLength": 3 + }, + "defaultValueExpression": { + "type": "int", + "defaultValue": "[if(true(), add(4, mul(2, 3)), 0)]" + }, + "defaultExpression": { + "type": "bool", + "defaultValue": "[not(equals(18, or(true(), false())))]" + }, + "stringLiteral": { + "type": "string", + "allowedValues": [ + "abc", + "def" + ] + }, + "stringLiteralWithAllowedValuesSuperset": { + "type": "string", + "defaultValue": "[parameters('stringLiteral')]", + "allowedValues": [ + "abc", + "def", + "ghi" + ] + }, + "stringLiteralWithDecorator": { + "type": "string", + "allowedValues": [ + "abc", + "def" + ] + }, + "stringLiteralWithDecoratorWithAllowedValuesSuperset": { + "type": "string", + "allowedValues": [ + "abc", + "def", + "ghi" + ] + }, + "decoratedString": { + "type": "secureString", + "allowedValues": [ + "Apple", + "Banana" + ], + "maxLength": 10, + "minLength": 2 + }, + "decoratedInt": { + "type": "int", + "minValue": 200 + }, + "decoratedBool": { + "type": "bool", + "metadata": { + "description": "A boolean.", + "foo": "something", + "bar": [ + {}, + true, + 123 + ] + } + }, + "decoratedObject": { + "type": "secureObject" + }, + "decoratedArray": { + "type": "array", + "metadata": { + "description": "An array." + }, + "maxLength": 20 + } + }, + "functions": [], + "resources": [] } \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.symbols.bicep b/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.symbols.bicep index c7068f5383f..881089469e9 100644 --- a/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.symbols.bicep +++ b/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.symbols.bicep @@ -71,6 +71,10 @@ param password string { secure: true } +@secure() +param passwordWithDecorator string +//@[6:27) Parameter passwordWithDecorator. Type: string. Declaration start char: 0, length: 45 + // non-secure string param nonSecure string { //@[6:15) Parameter nonSecure. Type: string. Declaration start char: 0, length: 44 @@ -83,6 +87,10 @@ param secretObject object { secure: true } +@secure() +param secretObjectWithDecorator object +//@[6:31) Parameter secretObjectWithDecorator. Type: object. Declaration start char: 0, length: 49 + // enum parameter param storageSku string { //@[6:16) Parameter storageSku. Type: 'Standard_GRS' | 'Standard_LRS'. Declaration start char: 0, length: 87 @@ -92,6 +100,13 @@ param storageSku string { ] } +@allowed([ + 'Standard_LRS' + 'Standard_GRS' +]) +param storageSkuWithDecorator string +//@[6:29) Parameter storageSkuWithDecorator. Type: string. Declaration start char: 0, length: 88 + // length constraint on a string param storageName string { //@[6:17) Parameter storageName. Type: string. Declaration start char: 0, length: 62 @@ -99,6 +114,11 @@ param storageName string { maxLength: 24 } +@minLength(3) +@maxLength(24) +param storageNameWithDecorator string +//@[6:30) Parameter storageNameWithDecorator. Type: string. Declaration start char: 0, length: 68 + // length constraint on an array param someArray array { //@[6:15) Parameter someArray. Type: array. Declaration start char: 0, length: 59 @@ -106,6 +126,11 @@ param someArray array { maxLength: 24 } +@minLength(3) +@maxLength(24) +param someArrayWithDecorator array +//@[6:28) Parameter someArrayWithDecorator. Type: array. Declaration start char: 0, length: 65 + // empty metadata param emptyMetadata string { //@[6:19) Parameter emptyMetadata. Type: string. Declaration start char: 0, length: 51 @@ -113,6 +138,10 @@ param emptyMetadata string { } } +@metadata({}) +param emptyMetadataWithDecorator string +//@[6:32) Parameter emptyMetadataWithDecorator. Type: string. Declaration start char: 0, length: 54 + // description param description string { //@[6:17) Parameter description. Type: string. Declaration start char: 0, length: 84 @@ -121,6 +150,16 @@ param description string { } } +@metadata({ + description: 'my description' +}) +param descriptionWithDecorator string +//@[6:30) Parameter descriptionWithDecorator. Type: string. Declaration start char: 0, length: 87 + +@sys.description('my description') +param descriptionWithDecorator2 string +//@[6:31) Parameter descriptionWithDecorator2. Type: string. Declaration start char: 0, length: 74 + // random extra metadata param additionalMetadata string { //@[6:24) Parameter additionalMetadata. Type: string. Declaration start char: 0, length: 167 @@ -136,6 +175,19 @@ param additionalMetadata string { } } +@metadata({ + description: 'my description' + a: 1 + b: true + c: [ + ] + d: { + test: 'abc' + } +}) +param additionalMetadataWithDecorator string +//@[6:37) Parameter additionalMetadataWithDecorator. Type: string. Declaration start char: 0, length: 156 + // all modifiers together param someParameter string { //@[6:19) Parameter someParameter. Type: 'one' | 'three' | 'two'. Declaration start char: 0, length: 220 @@ -153,6 +205,20 @@ param someParameter string { } } +@secure() +@minLength(3) +@maxLength(24) +@allowed([ + 'one' + 'two' + 'three' +]) +@metadata({ + description: 'Name of the storage account' +}) +param someParameterWithDecorator string +//@[6:32) Parameter someParameterWithDecorator. Type: string. Declaration start char: 0, length: 189 + param defaultValueExpression int { //@[6:28) Parameter defaultValueExpression. Type: int. Declaration start char: 0, length: 68 default: true ? 4 + 2*3 : 0 @@ -179,3 +245,85 @@ param stringLiteralWithAllowedValuesSuperset string { default: stringLiteral } +@allowed([ + 'abc' + 'def' +]) +param stringLiteralWithDecorator string +//@[6:32) Parameter stringLiteralWithDecorator. Type: string. Declaration start char: 0, length: 73 + +@allowed([ + 'abc' + 'def' + 'ghi' +]) +param stringLiteralWithDecoratorWithAllowedValuesSuperset string = stringLiteralWithDecorator +//@[6:57) Parameter stringLiteralWithDecoratorWithAllowedValuesSuperset. Type: string. Declaration start char: 0, length: 136 + +@secure() +@minLength(2) + @maxLength(10) +@allowed([ + 'Apple' + 'Banana' +]) +param decoratedString string +//@[6:21) Parameter decoratedString. Type: string. Declaration start char: 0, length: 111 + +@minValue(200) +param decoratedInt int = 123 +//@[6:18) Parameter decoratedInt. Type: int. Declaration start char: 0, length: 44 + +@sys.description('A boolean.') +@metadata({ + description: 'I will be overrode.' + foo: 'something' + bar: [ + { } + true + 123 + ] +}) +param decoratedBool bool = (true && false) != true +//@[6:19) Parameter decoratedBool. Type: bool. Declaration start char: 0, length: 229 + +@secure() +@secure() +@secure() +param decoratedObject object = { +//@[6:21) Parameter decoratedObject. Type: object. Declaration start char: 0, length: 298 + enabled: true + name: 'this is my object' + priority: 3 + info: { + a: 'b' + } + empty: { + } + array: [ + 'string item' + 12 + true + [ + 'inner' + false + ] + { + a: 'b' + } + ] +} + +@sys.metadata({ + description: 'An array.' +}) +@sys.maxLength(20) +@maxLength(10) +@maxLength(5) +@sys.description('I will be overrode.') +param decoratedArray array = [ +//@[6:20) Parameter decoratedArray. Type: array. Declaration start char: 0, length: 205 + utcNow() + newGuid() +] + diff --git a/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.syntax.bicep b/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.syntax.bicep index d5059438347..6be3c4b2eb1 100644 --- a/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.syntax.bicep +++ b/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.syntax.bicep @@ -324,6 +324,24 @@ param password string { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@secure() +//@[0:45) ParameterDeclarationSyntax +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +param passwordWithDecorator string +//@[0:5) Identifier |param| +//@[6:27) IdentifierSyntax +//@[6:27) Identifier |passwordWithDecorator| +//@[28:34) TypeSyntax +//@[28:34) Identifier |string| +//@[34:38) NewLine |\r\n\r\n| + // non-secure string //@[20:22) NewLine |\r\n| param nonSecure string { @@ -372,6 +390,24 @@ param secretObject object { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@secure() +//@[0:49) ParameterDeclarationSyntax +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +param secretObjectWithDecorator object +//@[0:5) Identifier |param| +//@[6:31) IdentifierSyntax +//@[6:31) Identifier |secretObjectWithDecorator| +//@[32:38) TypeSyntax +//@[32:38) Identifier |object| +//@[38:42) NewLine |\r\n\r\n| + // enum parameter //@[17:19) NewLine |\r\n| param storageSku string { @@ -409,6 +445,40 @@ param storageSku string { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@allowed([ +//@[0:88) ParameterDeclarationSyntax +//@[0:50) DecoratorSyntax +//@[0:1) At |@| +//@[1:50) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:49) FunctionArgumentSyntax +//@[9:49) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:12) NewLine |\r\n| + 'Standard_LRS' +//@[2:16) ArrayItemSyntax +//@[2:16) StringSyntax +//@[2:16) StringComplete |'Standard_LRS'| +//@[16:18) NewLine |\r\n| + 'Standard_GRS' +//@[2:16) ArrayItemSyntax +//@[2:16) StringSyntax +//@[2:16) StringComplete |'Standard_GRS'| +//@[16:18) NewLine |\r\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param storageSkuWithDecorator string +//@[0:5) Identifier |param| +//@[6:29) IdentifierSyntax +//@[6:29) Identifier |storageSkuWithDecorator| +//@[30:36) TypeSyntax +//@[30:36) Identifier |string| +//@[36:40) NewLine |\r\n\r\n| + // length constraint on a string //@[32:34) NewLine |\r\n| param storageName string { @@ -441,6 +511,39 @@ param storageName string { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@minLength(3) +//@[0:68) ParameterDeclarationSyntax +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) FunctionArgumentSyntax +//@[11:12) IntegerLiteralSyntax +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| +@maxLength(24) +//@[0:14) DecoratorSyntax +//@[0:1) At |@| +//@[1:14) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) FunctionArgumentSyntax +//@[11:13) IntegerLiteralSyntax +//@[11:13) Integer |24| +//@[13:14) RightParen |)| +//@[14:16) NewLine |\r\n| +param storageNameWithDecorator string +//@[0:5) Identifier |param| +//@[6:30) IdentifierSyntax +//@[6:30) Identifier |storageNameWithDecorator| +//@[31:37) TypeSyntax +//@[31:37) Identifier |string| +//@[37:41) NewLine |\r\n\r\n| + // length constraint on an array //@[32:34) NewLine |\r\n| param someArray array { @@ -473,6 +576,39 @@ param someArray array { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@minLength(3) +//@[0:65) ParameterDeclarationSyntax +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) FunctionArgumentSyntax +//@[11:12) IntegerLiteralSyntax +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| +@maxLength(24) +//@[0:14) DecoratorSyntax +//@[0:1) At |@| +//@[1:14) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) FunctionArgumentSyntax +//@[11:13) IntegerLiteralSyntax +//@[11:13) Integer |24| +//@[13:14) RightParen |)| +//@[14:16) NewLine |\r\n| +param someArrayWithDecorator array +//@[0:5) Identifier |param| +//@[6:28) IdentifierSyntax +//@[6:28) Identifier |someArrayWithDecorator| +//@[29:34) TypeSyntax +//@[29:34) Identifier |array| +//@[34:38) NewLine |\r\n\r\n| + // empty metadata //@[17:19) NewLine |\r\n| param emptyMetadata string { @@ -500,6 +636,28 @@ param emptyMetadata string { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@metadata({}) +//@[0:54) ParameterDeclarationSyntax +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:12) FunctionArgumentSyntax +//@[10:12) ObjectSyntax +//@[10:11) LeftBrace |{| +//@[11:12) RightBrace |}| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| +param emptyMetadataWithDecorator string +//@[0:5) Identifier |param| +//@[6:32) IdentifierSyntax +//@[6:32) Identifier |emptyMetadataWithDecorator| +//@[33:39) TypeSyntax +//@[33:39) Identifier |string| +//@[39:43) NewLine |\r\n\r\n| + // description //@[14:16) NewLine |\r\n| param description string { @@ -535,6 +693,63 @@ param description string { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@metadata({ +//@[0:87) ParameterDeclarationSyntax +//@[0:48) DecoratorSyntax +//@[0:1) At |@| +//@[1:48) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:47) FunctionArgumentSyntax +//@[10:47) ObjectSyntax +//@[10:11) LeftBrace |{| +//@[11:13) NewLine |\r\n| + description: 'my description' +//@[2:31) ObjectPropertySyntax +//@[2:13) IdentifierSyntax +//@[2:13) Identifier |description| +//@[13:14) Colon |:| +//@[15:31) StringSyntax +//@[15:31) StringComplete |'my description'| +//@[31:33) NewLine |\r\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param descriptionWithDecorator string +//@[0:5) Identifier |param| +//@[6:30) IdentifierSyntax +//@[6:30) Identifier |descriptionWithDecorator| +//@[31:37) TypeSyntax +//@[31:37) Identifier |string| +//@[37:41) NewLine |\r\n\r\n| + +@sys.description('my description') +//@[0:74) ParameterDeclarationSyntax +//@[0:34) DecoratorSyntax +//@[0:1) At |@| +//@[1:34) InstanceFunctionCallSyntax +//@[1:4) VariableAccessSyntax +//@[1:4) IdentifierSyntax +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:16) IdentifierSyntax +//@[5:16) Identifier |description| +//@[16:17) LeftParen |(| +//@[17:33) FunctionArgumentSyntax +//@[17:33) StringSyntax +//@[17:33) StringComplete |'my description'| +//@[33:34) RightParen |)| +//@[34:36) NewLine |\r\n| +param descriptionWithDecorator2 string +//@[0:5) Identifier |param| +//@[6:31) IdentifierSyntax +//@[6:31) Identifier |descriptionWithDecorator2| +//@[32:38) TypeSyntax +//@[32:38) Identifier |string| +//@[38:42) NewLine |\r\n\r\n| + // random extra metadata //@[24:26) NewLine |\r\n| param additionalMetadata string { @@ -616,6 +831,84 @@ param additionalMetadata string { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@metadata({ +//@[0:156) ParameterDeclarationSyntax +//@[0:110) DecoratorSyntax +//@[0:1) At |@| +//@[1:110) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:109) FunctionArgumentSyntax +//@[10:109) ObjectSyntax +//@[10:11) LeftBrace |{| +//@[11:13) NewLine |\r\n| + description: 'my description' +//@[2:31) ObjectPropertySyntax +//@[2:13) IdentifierSyntax +//@[2:13) Identifier |description| +//@[13:14) Colon |:| +//@[15:31) StringSyntax +//@[15:31) StringComplete |'my description'| +//@[31:33) NewLine |\r\n| + a: 1 +//@[2:6) ObjectPropertySyntax +//@[2:3) IdentifierSyntax +//@[2:3) Identifier |a| +//@[3:4) Colon |:| +//@[5:6) IntegerLiteralSyntax +//@[5:6) Integer |1| +//@[6:8) NewLine |\r\n| + b: true +//@[2:9) ObjectPropertySyntax +//@[2:3) IdentifierSyntax +//@[2:3) Identifier |b| +//@[3:4) Colon |:| +//@[5:9) BooleanLiteralSyntax +//@[5:9) TrueKeyword |true| +//@[9:11) NewLine |\r\n| + c: [ +//@[2:11) ObjectPropertySyntax +//@[2:3) IdentifierSyntax +//@[2:3) Identifier |c| +//@[3:4) Colon |:| +//@[5:11) ArraySyntax +//@[5:6) LeftSquare |[| +//@[6:8) NewLine |\r\n| + ] +//@[2:3) RightSquare |]| +//@[3:5) NewLine |\r\n| + d: { +//@[2:28) ObjectPropertySyntax +//@[2:3) IdentifierSyntax +//@[2:3) Identifier |d| +//@[3:4) Colon |:| +//@[5:28) ObjectSyntax +//@[5:6) LeftBrace |{| +//@[6:8) NewLine |\r\n| + test: 'abc' +//@[4:15) ObjectPropertySyntax +//@[4:8) IdentifierSyntax +//@[4:8) Identifier |test| +//@[8:9) Colon |:| +//@[10:15) StringSyntax +//@[10:15) StringComplete |'abc'| +//@[15:17) NewLine |\r\n| + } +//@[2:3) RightBrace |}| +//@[3:5) NewLine |\r\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param additionalMetadataWithDecorator string +//@[0:5) Identifier |param| +//@[6:37) IdentifierSyntax +//@[6:37) Identifier |additionalMetadataWithDecorator| +//@[38:44) TypeSyntax +//@[38:44) Identifier |string| +//@[44:48) NewLine |\r\n\r\n| + // all modifiers together //@[25:27) NewLine |\r\n| param someParameter string { @@ -709,6 +1002,101 @@ param someParameter string { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@secure() +//@[0:189) ParameterDeclarationSyntax +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +@minLength(3) +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) FunctionArgumentSyntax +//@[11:12) IntegerLiteralSyntax +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| +@maxLength(24) +//@[0:14) DecoratorSyntax +//@[0:1) At |@| +//@[1:14) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) FunctionArgumentSyntax +//@[11:13) IntegerLiteralSyntax +//@[11:13) Integer |24| +//@[13:14) RightParen |)| +//@[14:16) NewLine |\r\n| +@allowed([ +//@[0:43) DecoratorSyntax +//@[0:1) At |@| +//@[1:43) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:42) FunctionArgumentSyntax +//@[9:42) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:12) NewLine |\r\n| + 'one' +//@[2:7) ArrayItemSyntax +//@[2:7) StringSyntax +//@[2:7) StringComplete |'one'| +//@[7:9) NewLine |\r\n| + 'two' +//@[2:7) ArrayItemSyntax +//@[2:7) StringSyntax +//@[2:7) StringComplete |'two'| +//@[7:9) NewLine |\r\n| + 'three' +//@[2:9) ArrayItemSyntax +//@[2:9) StringSyntax +//@[2:9) StringComplete |'three'| +//@[9:11) NewLine |\r\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +@metadata({ +//@[0:61) DecoratorSyntax +//@[0:1) At |@| +//@[1:61) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:60) FunctionArgumentSyntax +//@[10:60) ObjectSyntax +//@[10:11) LeftBrace |{| +//@[11:13) NewLine |\r\n| + description: 'Name of the storage account' +//@[2:44) ObjectPropertySyntax +//@[2:13) IdentifierSyntax +//@[2:13) Identifier |description| +//@[13:14) Colon |:| +//@[15:44) StringSyntax +//@[15:44) StringComplete |'Name of the storage account'| +//@[44:46) NewLine |\r\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param someParameterWithDecorator string +//@[0:5) Identifier |param| +//@[6:32) IdentifierSyntax +//@[6:32) Identifier |someParameterWithDecorator| +//@[33:39) TypeSyntax +//@[33:39) Identifier |string| +//@[39:43) NewLine |\r\n\r\n| + param defaultValueExpression int { //@[0:68) ParameterDeclarationSyntax //@[0:5) Identifier |param| @@ -852,6 +1240,546 @@ param stringLiteralWithAllowedValuesSuperset string { //@[24:26) NewLine |\r\n| } //@[0:1) RightBrace |}| +//@[1:5) NewLine |\r\n\r\n| + +@allowed([ +//@[0:73) ParameterDeclarationSyntax +//@[0:32) DecoratorSyntax +//@[0:1) At |@| +//@[1:32) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:31) FunctionArgumentSyntax +//@[9:31) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:12) NewLine |\r\n| + 'abc' +//@[2:7) ArrayItemSyntax +//@[2:7) StringSyntax +//@[2:7) StringComplete |'abc'| +//@[7:9) NewLine |\r\n| + 'def' +//@[2:7) ArrayItemSyntax +//@[2:7) StringSyntax +//@[2:7) StringComplete |'def'| +//@[7:9) NewLine |\r\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param stringLiteralWithDecorator string +//@[0:5) Identifier |param| +//@[6:32) IdentifierSyntax +//@[6:32) Identifier |stringLiteralWithDecorator| +//@[33:39) TypeSyntax +//@[33:39) Identifier |string| +//@[39:43) NewLine |\r\n\r\n| + +@allowed([ +//@[0:136) ParameterDeclarationSyntax +//@[0:41) DecoratorSyntax +//@[0:1) At |@| +//@[1:41) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:40) FunctionArgumentSyntax +//@[9:40) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:12) NewLine |\r\n| + 'abc' +//@[2:7) ArrayItemSyntax +//@[2:7) StringSyntax +//@[2:7) StringComplete |'abc'| +//@[7:9) NewLine |\r\n| + 'def' +//@[2:7) ArrayItemSyntax +//@[2:7) StringSyntax +//@[2:7) StringComplete |'def'| +//@[7:9) NewLine |\r\n| + 'ghi' +//@[2:7) ArrayItemSyntax +//@[2:7) StringSyntax +//@[2:7) StringComplete |'ghi'| +//@[7:9) NewLine |\r\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param stringLiteralWithDecoratorWithAllowedValuesSuperset string = stringLiteralWithDecorator +//@[0:5) Identifier |param| +//@[6:57) IdentifierSyntax +//@[6:57) Identifier |stringLiteralWithDecoratorWithAllowedValuesSuperset| +//@[58:64) TypeSyntax +//@[58:64) Identifier |string| +//@[65:93) ParameterDefaultValueSyntax +//@[65:66) Assignment |=| +//@[67:93) VariableAccessSyntax +//@[67:93) IdentifierSyntax +//@[67:93) Identifier |stringLiteralWithDecorator| +//@[93:97) NewLine |\r\n\r\n| + +@secure() +//@[0:111) ParameterDeclarationSyntax +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +@minLength(2) +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) FunctionArgumentSyntax +//@[11:12) IntegerLiteralSyntax +//@[11:12) Integer |2| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| + @maxLength(10) +//@[2:16) DecoratorSyntax +//@[2:3) At |@| +//@[3:16) FunctionCallSyntax +//@[3:12) IdentifierSyntax +//@[3:12) Identifier |maxLength| +//@[12:13) LeftParen |(| +//@[13:15) FunctionArgumentSyntax +//@[13:15) IntegerLiteralSyntax +//@[13:15) Integer |10| +//@[15:16) RightParen |)| +//@[16:18) NewLine |\r\n| +@allowed([ +//@[0:37) DecoratorSyntax +//@[0:1) At |@| +//@[1:37) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:36) FunctionArgumentSyntax +//@[9:36) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:12) NewLine |\r\n| + 'Apple' +//@[2:9) ArrayItemSyntax +//@[2:9) StringSyntax +//@[2:9) StringComplete |'Apple'| +//@[9:11) NewLine |\r\n| + 'Banana' +//@[2:10) ArrayItemSyntax +//@[2:10) StringSyntax +//@[2:10) StringComplete |'Banana'| +//@[10:12) NewLine |\r\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param decoratedString string +//@[0:5) Identifier |param| +//@[6:21) IdentifierSyntax +//@[6:21) Identifier |decoratedString| +//@[22:28) TypeSyntax +//@[22:28) Identifier |string| +//@[28:32) NewLine |\r\n\r\n| + +@minValue(200) +//@[0:44) ParameterDeclarationSyntax +//@[0:14) DecoratorSyntax +//@[0:1) At |@| +//@[1:14) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |minValue| +//@[9:10) LeftParen |(| +//@[10:13) FunctionArgumentSyntax +//@[10:13) IntegerLiteralSyntax +//@[10:13) Integer |200| +//@[13:14) RightParen |)| +//@[14:16) NewLine |\r\n| +param decoratedInt int = 123 +//@[0:5) Identifier |param| +//@[6:18) IdentifierSyntax +//@[6:18) Identifier |decoratedInt| +//@[19:22) TypeSyntax +//@[19:22) Identifier |int| +//@[23:28) ParameterDefaultValueSyntax +//@[23:24) Assignment |=| +//@[25:28) IntegerLiteralSyntax +//@[25:28) Integer |123| +//@[28:32) NewLine |\r\n\r\n| + +@sys.description('A boolean.') +//@[0:229) ParameterDeclarationSyntax +//@[0:30) DecoratorSyntax +//@[0:1) At |@| +//@[1:30) InstanceFunctionCallSyntax +//@[1:4) VariableAccessSyntax +//@[1:4) IdentifierSyntax +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:16) IdentifierSyntax +//@[5:16) Identifier |description| +//@[16:17) LeftParen |(| +//@[17:29) FunctionArgumentSyntax +//@[17:29) StringSyntax +//@[17:29) StringComplete |'A boolean.'| +//@[29:30) RightParen |)| +//@[30:32) NewLine |\r\n| +@metadata({ +//@[0:145) DecoratorSyntax +//@[0:1) At |@| +//@[1:145) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:144) FunctionArgumentSyntax +//@[10:144) ObjectSyntax +//@[10:11) LeftBrace |{| +//@[11:13) NewLine |\r\n| + description: 'I will be overrode.' +//@[4:38) ObjectPropertySyntax +//@[4:15) IdentifierSyntax +//@[4:15) Identifier |description| +//@[15:16) Colon |:| +//@[17:38) StringSyntax +//@[17:38) StringComplete |'I will be overrode.'| +//@[38:40) NewLine |\r\n| + foo: 'something' +//@[4:20) ObjectPropertySyntax +//@[4:7) IdentifierSyntax +//@[4:7) Identifier |foo| +//@[7:8) Colon |:| +//@[9:20) StringSyntax +//@[9:20) StringComplete |'something'| +//@[20:22) NewLine |\r\n| + bar: [ +//@[4:66) ObjectPropertySyntax +//@[4:7) IdentifierSyntax +//@[4:7) Identifier |bar| +//@[7:8) Colon |:| +//@[9:66) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:12) NewLine |\r\n| + { } +//@[8:20) ArrayItemSyntax +//@[8:20) ObjectSyntax +//@[8:9) LeftBrace |{| +//@[19:20) RightBrace |}| +//@[20:22) NewLine |\r\n| + true +//@[8:12) ArrayItemSyntax +//@[8:12) BooleanLiteralSyntax +//@[8:12) TrueKeyword |true| +//@[12:14) NewLine |\r\n| + 123 +//@[8:11) ArrayItemSyntax +//@[8:11) IntegerLiteralSyntax +//@[8:11) Integer |123| +//@[11:13) NewLine |\r\n| + ] +//@[4:5) RightSquare |]| +//@[5:7) NewLine |\r\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param decoratedBool bool = (true && false) != true +//@[0:5) Identifier |param| +//@[6:19) IdentifierSyntax +//@[6:19) Identifier |decoratedBool| +//@[20:24) TypeSyntax +//@[20:24) Identifier |bool| +//@[25:50) ParameterDefaultValueSyntax +//@[25:26) Assignment |=| +//@[27:50) BinaryOperationSyntax +//@[27:42) ParenthesizedExpressionSyntax +//@[27:28) LeftParen |(| +//@[28:41) BinaryOperationSyntax +//@[28:32) BooleanLiteralSyntax +//@[28:32) TrueKeyword |true| +//@[33:35) LogicalAnd |&&| +//@[36:41) BooleanLiteralSyntax +//@[36:41) FalseKeyword |false| +//@[41:42) RightParen |)| +//@[43:45) NotEquals |!=| +//@[46:50) BooleanLiteralSyntax +//@[46:50) TrueKeyword |true| +//@[50:54) NewLine |\r\n\r\n| + +@secure() +//@[0:298) ParameterDeclarationSyntax +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +@secure() +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +@secure() +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +param decoratedObject object = { +//@[0:5) Identifier |param| +//@[6:21) IdentifierSyntax +//@[6:21) Identifier |decoratedObject| +//@[22:28) TypeSyntax +//@[22:28) Identifier |object| +//@[29:265) ParameterDefaultValueSyntax +//@[29:30) Assignment |=| +//@[31:265) ObjectSyntax +//@[31:32) LeftBrace |{| +//@[32:34) NewLine |\r\n| + enabled: true +//@[2:15) ObjectPropertySyntax +//@[2:9) IdentifierSyntax +//@[2:9) Identifier |enabled| +//@[9:10) Colon |:| +//@[11:15) BooleanLiteralSyntax +//@[11:15) TrueKeyword |true| +//@[15:17) NewLine |\r\n| + name: 'this is my object' +//@[2:27) ObjectPropertySyntax +//@[2:6) IdentifierSyntax +//@[2:6) Identifier |name| +//@[6:7) Colon |:| +//@[8:27) StringSyntax +//@[8:27) StringComplete |'this is my object'| +//@[27:29) NewLine |\r\n| + priority: 3 +//@[2:13) ObjectPropertySyntax +//@[2:10) IdentifierSyntax +//@[2:10) Identifier |priority| +//@[10:11) Colon |:| +//@[12:13) IntegerLiteralSyntax +//@[12:13) Integer |3| +//@[13:15) NewLine |\r\n| + info: { +//@[2:26) ObjectPropertySyntax +//@[2:6) IdentifierSyntax +//@[2:6) Identifier |info| +//@[6:7) Colon |:| +//@[8:26) ObjectSyntax +//@[8:9) LeftBrace |{| +//@[9:11) NewLine |\r\n| + a: 'b' +//@[4:10) ObjectPropertySyntax +//@[4:5) IdentifierSyntax +//@[4:5) Identifier |a| +//@[5:6) Colon |:| +//@[7:10) StringSyntax +//@[7:10) StringComplete |'b'| +//@[10:12) NewLine |\r\n| + } +//@[2:3) RightBrace |}| +//@[3:5) NewLine |\r\n| + empty: { +//@[2:15) ObjectPropertySyntax +//@[2:7) IdentifierSyntax +//@[2:7) Identifier |empty| +//@[7:8) Colon |:| +//@[9:15) ObjectSyntax +//@[9:10) LeftBrace |{| +//@[10:12) NewLine |\r\n| + } +//@[2:3) RightBrace |}| +//@[3:5) NewLine |\r\n| + array: [ +//@[2:122) ObjectPropertySyntax +//@[2:7) IdentifierSyntax +//@[2:7) Identifier |array| +//@[7:8) Colon |:| +//@[9:122) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:12) NewLine |\r\n| + 'string item' +//@[4:17) ArrayItemSyntax +//@[4:17) StringSyntax +//@[4:17) StringComplete |'string item'| +//@[17:19) NewLine |\r\n| + 12 +//@[4:6) ArrayItemSyntax +//@[4:6) IntegerLiteralSyntax +//@[4:6) Integer |12| +//@[6:8) NewLine |\r\n| + true +//@[4:8) ArrayItemSyntax +//@[4:8) BooleanLiteralSyntax +//@[4:8) TrueKeyword |true| +//@[8:10) NewLine |\r\n| + [ +//@[4:40) ArrayItemSyntax +//@[4:40) ArraySyntax +//@[4:5) LeftSquare |[| +//@[5:7) NewLine |\r\n| + 'inner' +//@[6:13) ArrayItemSyntax +//@[6:13) StringSyntax +//@[6:13) StringComplete |'inner'| +//@[13:15) NewLine |\r\n| + false +//@[6:11) ArrayItemSyntax +//@[6:11) BooleanLiteralSyntax +//@[6:11) FalseKeyword |false| +//@[11:13) NewLine |\r\n| + ] +//@[4:5) RightSquare |]| +//@[5:7) NewLine |\r\n| + { +//@[4:26) ArrayItemSyntax +//@[4:26) ObjectSyntax +//@[4:5) LeftBrace |{| +//@[5:7) NewLine |\r\n| + a: 'b' +//@[6:12) ObjectPropertySyntax +//@[6:7) IdentifierSyntax +//@[6:7) Identifier |a| +//@[7:8) Colon |:| +//@[9:12) StringSyntax +//@[9:12) StringComplete |'b'| +//@[12:14) NewLine |\r\n| + } +//@[4:5) RightBrace |}| +//@[5:7) NewLine |\r\n| + ] +//@[2:3) RightSquare |]| +//@[3:5) NewLine |\r\n| +} +//@[0:1) RightBrace |}| +//@[1:5) NewLine |\r\n\r\n| + +@sys.metadata({ +//@[0:205) ParameterDeclarationSyntax +//@[0:49) DecoratorSyntax +//@[0:1) At |@| +//@[1:49) InstanceFunctionCallSyntax +//@[1:4) VariableAccessSyntax +//@[1:4) IdentifierSyntax +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:13) IdentifierSyntax +//@[5:13) Identifier |metadata| +//@[13:14) LeftParen |(| +//@[14:48) FunctionArgumentSyntax +//@[14:48) ObjectSyntax +//@[14:15) LeftBrace |{| +//@[15:17) NewLine |\r\n| + description: 'An array.' +//@[4:28) ObjectPropertySyntax +//@[4:15) IdentifierSyntax +//@[4:15) Identifier |description| +//@[15:16) Colon |:| +//@[17:28) StringSyntax +//@[17:28) StringComplete |'An array.'| +//@[28:30) NewLine |\r\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +@sys.maxLength(20) +//@[0:18) DecoratorSyntax +//@[0:1) At |@| +//@[1:18) InstanceFunctionCallSyntax +//@[1:4) VariableAccessSyntax +//@[1:4) IdentifierSyntax +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:14) IdentifierSyntax +//@[5:14) Identifier |maxLength| +//@[14:15) LeftParen |(| +//@[15:17) FunctionArgumentSyntax +//@[15:17) IntegerLiteralSyntax +//@[15:17) Integer |20| +//@[17:18) RightParen |)| +//@[18:20) NewLine |\r\n| +@maxLength(10) +//@[0:14) DecoratorSyntax +//@[0:1) At |@| +//@[1:14) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) FunctionArgumentSyntax +//@[11:13) IntegerLiteralSyntax +//@[11:13) Integer |10| +//@[13:14) RightParen |)| +//@[14:16) NewLine |\r\n| +@maxLength(5) +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:12) FunctionArgumentSyntax +//@[11:12) IntegerLiteralSyntax +//@[11:12) Integer |5| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| +@sys.description('I will be overrode.') +//@[0:39) DecoratorSyntax +//@[0:1) At |@| +//@[1:39) InstanceFunctionCallSyntax +//@[1:4) VariableAccessSyntax +//@[1:4) IdentifierSyntax +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:16) IdentifierSyntax +//@[5:16) Identifier |description| +//@[16:17) LeftParen |(| +//@[17:38) FunctionArgumentSyntax +//@[17:38) StringSyntax +//@[17:38) StringComplete |'I will be overrode.'| +//@[38:39) RightParen |)| +//@[39:41) NewLine |\r\n| +param decoratedArray array = [ +//@[0:5) Identifier |param| +//@[6:20) IdentifierSyntax +//@[6:20) Identifier |decoratedArray| +//@[21:26) TypeSyntax +//@[21:26) Identifier |array| +//@[27:62) ParameterDefaultValueSyntax +//@[27:28) Assignment |=| +//@[29:62) ArraySyntax +//@[29:30) LeftSquare |[| +//@[30:32) NewLine |\r\n| + utcNow() +//@[4:12) ArrayItemSyntax +//@[4:12) FunctionCallSyntax +//@[4:10) IdentifierSyntax +//@[4:10) Identifier |utcNow| +//@[10:11) LeftParen |(| +//@[11:12) RightParen |)| +//@[12:14) NewLine |\r\n| + newGuid() +//@[4:13) ArrayItemSyntax +//@[4:13) FunctionCallSyntax +//@[4:11) IdentifierSyntax +//@[4:11) Identifier |newGuid| +//@[11:12) LeftParen |(| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| +] +//@[0:1) RightSquare |]| //@[1:3) NewLine |\r\n| //@[0:0) EndOfFile || diff --git a/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.tokens.bicep b/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.tokens.bicep index 278ca8d0fad..a2ea90d7d7f 100644 --- a/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.tokens.bicep +++ b/src/Bicep.Core.Samples/Files/Parameters_CRLF/main.tokens.bicep @@ -216,6 +216,18 @@ param password string { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +param passwordWithDecorator string +//@[0:5) Identifier |param| +//@[6:27) Identifier |passwordWithDecorator| +//@[28:34) Identifier |string| +//@[34:38) NewLine |\r\n\r\n| + // non-secure string //@[20:22) NewLine |\r\n| param nonSecure string { @@ -250,6 +262,18 @@ param secretObject object { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +param secretObjectWithDecorator object +//@[0:5) Identifier |param| +//@[6:31) Identifier |secretObjectWithDecorator| +//@[32:38) Identifier |object| +//@[38:42) NewLine |\r\n\r\n| + // enum parameter //@[17:19) NewLine |\r\n| param storageSku string { @@ -276,6 +300,28 @@ param storageSku string { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@allowed([ +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:12) NewLine |\r\n| + 'Standard_LRS' +//@[2:16) StringComplete |'Standard_LRS'| +//@[16:18) NewLine |\r\n| + 'Standard_GRS' +//@[2:16) StringComplete |'Standard_GRS'| +//@[16:18) NewLine |\r\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param storageSkuWithDecorator string +//@[0:5) Identifier |param| +//@[6:29) Identifier |storageSkuWithDecorator| +//@[30:36) Identifier |string| +//@[36:40) NewLine |\r\n\r\n| + // length constraint on a string //@[32:34) NewLine |\r\n| param storageName string { @@ -298,6 +344,26 @@ param storageName string { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@minLength(3) +//@[0:1) At |@| +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| +@maxLength(24) +//@[0:1) At |@| +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) Integer |24| +//@[13:14) RightParen |)| +//@[14:16) NewLine |\r\n| +param storageNameWithDecorator string +//@[0:5) Identifier |param| +//@[6:30) Identifier |storageNameWithDecorator| +//@[31:37) Identifier |string| +//@[37:41) NewLine |\r\n\r\n| + // length constraint on an array //@[32:34) NewLine |\r\n| param someArray array { @@ -320,6 +386,26 @@ param someArray array { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@minLength(3) +//@[0:1) At |@| +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| +@maxLength(24) +//@[0:1) At |@| +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) Integer |24| +//@[13:14) RightParen |)| +//@[14:16) NewLine |\r\n| +param someArrayWithDecorator array +//@[0:5) Identifier |param| +//@[6:28) Identifier |someArrayWithDecorator| +//@[29:34) Identifier |array| +//@[34:38) NewLine |\r\n\r\n| + // empty metadata //@[17:19) NewLine |\r\n| param emptyMetadata string { @@ -340,6 +426,20 @@ param emptyMetadata string { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@metadata({}) +//@[0:1) At |@| +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:11) LeftBrace |{| +//@[11:12) RightBrace |}| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| +param emptyMetadataWithDecorator string +//@[0:5) Identifier |param| +//@[6:32) Identifier |emptyMetadataWithDecorator| +//@[33:39) Identifier |string| +//@[39:43) NewLine |\r\n\r\n| + // description //@[14:16) NewLine |\r\n| param description string { @@ -365,6 +465,42 @@ param description string { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@metadata({ +//@[0:1) At |@| +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:11) LeftBrace |{| +//@[11:13) NewLine |\r\n| + description: 'my description' +//@[2:13) Identifier |description| +//@[13:14) Colon |:| +//@[15:31) StringComplete |'my description'| +//@[31:33) NewLine |\r\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param descriptionWithDecorator string +//@[0:5) Identifier |param| +//@[6:30) Identifier |descriptionWithDecorator| +//@[31:37) Identifier |string| +//@[37:41) NewLine |\r\n\r\n| + +@sys.description('my description') +//@[0:1) At |@| +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:16) Identifier |description| +//@[16:17) LeftParen |(| +//@[17:33) StringComplete |'my description'| +//@[33:34) RightParen |)| +//@[34:36) NewLine |\r\n| +param descriptionWithDecorator2 string +//@[0:5) Identifier |param| +//@[6:31) Identifier |descriptionWithDecorator2| +//@[32:38) Identifier |string| +//@[38:42) NewLine |\r\n\r\n| + // random extra metadata //@[24:26) NewLine |\r\n| param additionalMetadata string { @@ -421,6 +557,58 @@ param additionalMetadata string { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@metadata({ +//@[0:1) At |@| +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:11) LeftBrace |{| +//@[11:13) NewLine |\r\n| + description: 'my description' +//@[2:13) Identifier |description| +//@[13:14) Colon |:| +//@[15:31) StringComplete |'my description'| +//@[31:33) NewLine |\r\n| + a: 1 +//@[2:3) Identifier |a| +//@[3:4) Colon |:| +//@[5:6) Integer |1| +//@[6:8) NewLine |\r\n| + b: true +//@[2:3) Identifier |b| +//@[3:4) Colon |:| +//@[5:9) TrueKeyword |true| +//@[9:11) NewLine |\r\n| + c: [ +//@[2:3) Identifier |c| +//@[3:4) Colon |:| +//@[5:6) LeftSquare |[| +//@[6:8) NewLine |\r\n| + ] +//@[2:3) RightSquare |]| +//@[3:5) NewLine |\r\n| + d: { +//@[2:3) Identifier |d| +//@[3:4) Colon |:| +//@[5:6) LeftBrace |{| +//@[6:8) NewLine |\r\n| + test: 'abc' +//@[4:8) Identifier |test| +//@[8:9) Colon |:| +//@[10:15) StringComplete |'abc'| +//@[15:17) NewLine |\r\n| + } +//@[2:3) RightBrace |}| +//@[3:5) NewLine |\r\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param additionalMetadataWithDecorator string +//@[0:5) Identifier |param| +//@[6:37) Identifier |additionalMetadataWithDecorator| +//@[38:44) Identifier |string| +//@[44:48) NewLine |\r\n\r\n| + // all modifiers together //@[25:27) NewLine |\r\n| param someParameter string { @@ -483,6 +671,66 @@ param someParameter string { //@[0:1) RightBrace |}| //@[1:5) NewLine |\r\n\r\n| +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +@minLength(3) +//@[0:1) At |@| +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| +@maxLength(24) +//@[0:1) At |@| +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) Integer |24| +//@[13:14) RightParen |)| +//@[14:16) NewLine |\r\n| +@allowed([ +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:12) NewLine |\r\n| + 'one' +//@[2:7) StringComplete |'one'| +//@[7:9) NewLine |\r\n| + 'two' +//@[2:7) StringComplete |'two'| +//@[7:9) NewLine |\r\n| + 'three' +//@[2:9) StringComplete |'three'| +//@[9:11) NewLine |\r\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +@metadata({ +//@[0:1) At |@| +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:11) LeftBrace |{| +//@[11:13) NewLine |\r\n| + description: 'Name of the storage account' +//@[2:13) Identifier |description| +//@[13:14) Colon |:| +//@[15:44) StringComplete |'Name of the storage account'| +//@[44:46) NewLine |\r\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param someParameterWithDecorator string +//@[0:5) Identifier |param| +//@[6:32) Identifier |someParameterWithDecorator| +//@[33:39) Identifier |string| +//@[39:43) NewLine |\r\n\r\n| + param defaultValueExpression int { //@[0:5) Identifier |param| //@[6:28) Identifier |defaultValueExpression| @@ -574,6 +822,348 @@ param stringLiteralWithAllowedValuesSuperset string { //@[24:26) NewLine |\r\n| } //@[0:1) RightBrace |}| +//@[1:5) NewLine |\r\n\r\n| + +@allowed([ +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:12) NewLine |\r\n| + 'abc' +//@[2:7) StringComplete |'abc'| +//@[7:9) NewLine |\r\n| + 'def' +//@[2:7) StringComplete |'def'| +//@[7:9) NewLine |\r\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param stringLiteralWithDecorator string +//@[0:5) Identifier |param| +//@[6:32) Identifier |stringLiteralWithDecorator| +//@[33:39) Identifier |string| +//@[39:43) NewLine |\r\n\r\n| + +@allowed([ +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:12) NewLine |\r\n| + 'abc' +//@[2:7) StringComplete |'abc'| +//@[7:9) NewLine |\r\n| + 'def' +//@[2:7) StringComplete |'def'| +//@[7:9) NewLine |\r\n| + 'ghi' +//@[2:7) StringComplete |'ghi'| +//@[7:9) NewLine |\r\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param stringLiteralWithDecoratorWithAllowedValuesSuperset string = stringLiteralWithDecorator +//@[0:5) Identifier |param| +//@[6:57) Identifier |stringLiteralWithDecoratorWithAllowedValuesSuperset| +//@[58:64) Identifier |string| +//@[65:66) Assignment |=| +//@[67:93) Identifier |stringLiteralWithDecorator| +//@[93:97) NewLine |\r\n\r\n| + +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +@minLength(2) +//@[0:1) At |@| +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) Integer |2| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| + @maxLength(10) +//@[2:3) At |@| +//@[3:12) Identifier |maxLength| +//@[12:13) LeftParen |(| +//@[13:15) Integer |10| +//@[15:16) RightParen |)| +//@[16:18) NewLine |\r\n| +@allowed([ +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:12) NewLine |\r\n| + 'Apple' +//@[2:9) StringComplete |'Apple'| +//@[9:11) NewLine |\r\n| + 'Banana' +//@[2:10) StringComplete |'Banana'| +//@[10:12) NewLine |\r\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param decoratedString string +//@[0:5) Identifier |param| +//@[6:21) Identifier |decoratedString| +//@[22:28) Identifier |string| +//@[28:32) NewLine |\r\n\r\n| + +@minValue(200) +//@[0:1) At |@| +//@[1:9) Identifier |minValue| +//@[9:10) LeftParen |(| +//@[10:13) Integer |200| +//@[13:14) RightParen |)| +//@[14:16) NewLine |\r\n| +param decoratedInt int = 123 +//@[0:5) Identifier |param| +//@[6:18) Identifier |decoratedInt| +//@[19:22) Identifier |int| +//@[23:24) Assignment |=| +//@[25:28) Integer |123| +//@[28:32) NewLine |\r\n\r\n| + +@sys.description('A boolean.') +//@[0:1) At |@| +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:16) Identifier |description| +//@[16:17) LeftParen |(| +//@[17:29) StringComplete |'A boolean.'| +//@[29:30) RightParen |)| +//@[30:32) NewLine |\r\n| +@metadata({ +//@[0:1) At |@| +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:11) LeftBrace |{| +//@[11:13) NewLine |\r\n| + description: 'I will be overrode.' +//@[4:15) Identifier |description| +//@[15:16) Colon |:| +//@[17:38) StringComplete |'I will be overrode.'| +//@[38:40) NewLine |\r\n| + foo: 'something' +//@[4:7) Identifier |foo| +//@[7:8) Colon |:| +//@[9:20) StringComplete |'something'| +//@[20:22) NewLine |\r\n| + bar: [ +//@[4:7) Identifier |bar| +//@[7:8) Colon |:| +//@[9:10) LeftSquare |[| +//@[10:12) NewLine |\r\n| + { } +//@[8:9) LeftBrace |{| +//@[19:20) RightBrace |}| +//@[20:22) NewLine |\r\n| + true +//@[8:12) TrueKeyword |true| +//@[12:14) NewLine |\r\n| + 123 +//@[8:11) Integer |123| +//@[11:13) NewLine |\r\n| + ] +//@[4:5) RightSquare |]| +//@[5:7) NewLine |\r\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +param decoratedBool bool = (true && false) != true +//@[0:5) Identifier |param| +//@[6:19) Identifier |decoratedBool| +//@[20:24) Identifier |bool| +//@[25:26) Assignment |=| +//@[27:28) LeftParen |(| +//@[28:32) TrueKeyword |true| +//@[33:35) LogicalAnd |&&| +//@[36:41) FalseKeyword |false| +//@[41:42) RightParen |)| +//@[43:45) NotEquals |!=| +//@[46:50) TrueKeyword |true| +//@[50:54) NewLine |\r\n\r\n| + +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:11) NewLine |\r\n| +param decoratedObject object = { +//@[0:5) Identifier |param| +//@[6:21) Identifier |decoratedObject| +//@[22:28) Identifier |object| +//@[29:30) Assignment |=| +//@[31:32) LeftBrace |{| +//@[32:34) NewLine |\r\n| + enabled: true +//@[2:9) Identifier |enabled| +//@[9:10) Colon |:| +//@[11:15) TrueKeyword |true| +//@[15:17) NewLine |\r\n| + name: 'this is my object' +//@[2:6) Identifier |name| +//@[6:7) Colon |:| +//@[8:27) StringComplete |'this is my object'| +//@[27:29) NewLine |\r\n| + priority: 3 +//@[2:10) Identifier |priority| +//@[10:11) Colon |:| +//@[12:13) Integer |3| +//@[13:15) NewLine |\r\n| + info: { +//@[2:6) Identifier |info| +//@[6:7) Colon |:| +//@[8:9) LeftBrace |{| +//@[9:11) NewLine |\r\n| + a: 'b' +//@[4:5) Identifier |a| +//@[5:6) Colon |:| +//@[7:10) StringComplete |'b'| +//@[10:12) NewLine |\r\n| + } +//@[2:3) RightBrace |}| +//@[3:5) NewLine |\r\n| + empty: { +//@[2:7) Identifier |empty| +//@[7:8) Colon |:| +//@[9:10) LeftBrace |{| +//@[10:12) NewLine |\r\n| + } +//@[2:3) RightBrace |}| +//@[3:5) NewLine |\r\n| + array: [ +//@[2:7) Identifier |array| +//@[7:8) Colon |:| +//@[9:10) LeftSquare |[| +//@[10:12) NewLine |\r\n| + 'string item' +//@[4:17) StringComplete |'string item'| +//@[17:19) NewLine |\r\n| + 12 +//@[4:6) Integer |12| +//@[6:8) NewLine |\r\n| + true +//@[4:8) TrueKeyword |true| +//@[8:10) NewLine |\r\n| + [ +//@[4:5) LeftSquare |[| +//@[5:7) NewLine |\r\n| + 'inner' +//@[6:13) StringComplete |'inner'| +//@[13:15) NewLine |\r\n| + false +//@[6:11) FalseKeyword |false| +//@[11:13) NewLine |\r\n| + ] +//@[4:5) RightSquare |]| +//@[5:7) NewLine |\r\n| + { +//@[4:5) LeftBrace |{| +//@[5:7) NewLine |\r\n| + a: 'b' +//@[6:7) Identifier |a| +//@[7:8) Colon |:| +//@[9:12) StringComplete |'b'| +//@[12:14) NewLine |\r\n| + } +//@[4:5) RightBrace |}| +//@[5:7) NewLine |\r\n| + ] +//@[2:3) RightSquare |]| +//@[3:5) NewLine |\r\n| +} +//@[0:1) RightBrace |}| +//@[1:5) NewLine |\r\n\r\n| + +@sys.metadata({ +//@[0:1) At |@| +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:13) Identifier |metadata| +//@[13:14) LeftParen |(| +//@[14:15) LeftBrace |{| +//@[15:17) NewLine |\r\n| + description: 'An array.' +//@[4:15) Identifier |description| +//@[15:16) Colon |:| +//@[17:28) StringComplete |'An array.'| +//@[28:30) NewLine |\r\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:4) NewLine |\r\n| +@sys.maxLength(20) +//@[0:1) At |@| +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:14) Identifier |maxLength| +//@[14:15) LeftParen |(| +//@[15:17) Integer |20| +//@[17:18) RightParen |)| +//@[18:20) NewLine |\r\n| +@maxLength(10) +//@[0:1) At |@| +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) Integer |10| +//@[13:14) RightParen |)| +//@[14:16) NewLine |\r\n| +@maxLength(5) +//@[0:1) At |@| +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:12) Integer |5| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| +@sys.description('I will be overrode.') +//@[0:1) At |@| +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:16) Identifier |description| +//@[16:17) LeftParen |(| +//@[17:38) StringComplete |'I will be overrode.'| +//@[38:39) RightParen |)| +//@[39:41) NewLine |\r\n| +param decoratedArray array = [ +//@[0:5) Identifier |param| +//@[6:20) Identifier |decoratedArray| +//@[21:26) Identifier |array| +//@[27:28) Assignment |=| +//@[29:30) LeftSquare |[| +//@[30:32) NewLine |\r\n| + utcNow() +//@[4:10) Identifier |utcNow| +//@[10:11) LeftParen |(| +//@[11:12) RightParen |)| +//@[12:14) NewLine |\r\n| + newGuid() +//@[4:11) Identifier |newGuid| +//@[11:12) LeftParen |(| +//@[12:13) RightParen |)| +//@[13:15) NewLine |\r\n| +] +//@[0:1) RightSquare |]| //@[1:3) NewLine |\r\n| //@[0:0) EndOfFile || diff --git a/src/Bicep.Core.Samples/Files/Parameters_LF/main.bicep b/src/Bicep.Core.Samples/Files/Parameters_LF/main.bicep index 0165d25fd9f..641fbf1e958 100644 --- a/src/Bicep.Core.Samples/Files/Parameters_LF/main.bicep +++ b/src/Bicep.Core.Samples/Files/Parameters_LF/main.bicep @@ -67,6 +67,9 @@ param password string { secure: true } +@secure() +param passwordWithDecorator string + // non-secure string param nonSecure string { secure: false @@ -77,6 +80,9 @@ param secretObject object { secure: true } +@secure() +param secureObjectWithDecorator object + // enum parameter param storageSku string { allowed: [ @@ -85,24 +91,41 @@ param storageSku string { ] } +@ allowed([ +'Standard_LRS' +'Standard_GRS' +]) +param storageSkuWithDecorator string + // length constraint on a string param storageName string { minLength: 3 maxLength: 24 } +@minLength(3) +@maxLength(24) +param storageNameWithDecorator string + // length constraint on an array param someArray array { minLength: 3 maxLength: 24 } +@minLength(3) +@maxLength(24) +param someArrayWithDecorator array + // empty metadata param emptyMetadata string { metadata: { } } +@metadata({}) +param emptyMetadataWithDecorator string + // description param description string { metadata: { @@ -110,6 +133,14 @@ param description string { } } +@metadata({ + description: 'my description' +}) +param descriptionWithDecorator string + +@sys.description('my description') +param descriptionWithDecorator2 string + // random extra metadata param additionalMetadata string { metadata: { @@ -124,6 +155,18 @@ param additionalMetadata string { } } +@metadata({ + description: 'my description' + a: 1 + b: true + c: [ + ] + d: { + test: 'abc' + } +}) +param additionalMetadataWithDecorator string + // all modifiers together param someParameter string { secure: true @@ -140,8 +183,62 @@ param someParameter string { } } +@secure() +@minLength(3) +@maxLength(24) +@allowed([ + 'one' + 'two' + 'three' +]) +@metadata({ + description: 'Name of the storage account' +}) +param someParameterWithDecorator string = 'one' + param defaultValueExpression int { default: true ? 4 + 2*3 : 0 } param defaultExpression bool = 18 != (true || false) + +@secure() +@minLength(2) + @maxLength(10) +@allowed([ + 'Apple' + 'Banana' +]) +param decoratedString string + +@minValue(200) +param decoratedInt int = 123 + +@sys.description('A boolean.') +@metadata({ + description: 'I will be overrode.' + foo: 'something' + bar: [ + { } + true + 123 + ] +}) +param decoratedBool bool + +@secure() +@secure() +@secure() +param decoratedObject object = { + location: 'westus' +} + + +@metadata({ + description: 'An array.' +}) +@maxLength(20) +@maxLength(10) +@maxLength(5) +@sys.description('I will be overrode.') +param decoratedArray array diff --git a/src/Bicep.Core.Samples/Files/Parameters_LF/main.diagnostics.bicep b/src/Bicep.Core.Samples/Files/Parameters_LF/main.diagnostics.bicep index 976459878bb..b17404248a7 100644 --- a/src/Bicep.Core.Samples/Files/Parameters_LF/main.diagnostics.bicep +++ b/src/Bicep.Core.Samples/Files/Parameters_LF/main.diagnostics.bicep @@ -67,6 +67,9 @@ param password string { secure: true } +@secure() +param passwordWithDecorator string + // non-secure string param nonSecure string { secure: false @@ -77,6 +80,9 @@ param secretObject object { secure: true } +@secure() +param secureObjectWithDecorator object + // enum parameter param storageSku string { allowed: [ @@ -85,24 +91,41 @@ param storageSku string { ] } +@ allowed([ +'Standard_LRS' +'Standard_GRS' +]) +param storageSkuWithDecorator string + // length constraint on a string param storageName string { minLength: 3 maxLength: 24 } +@minLength(3) +@maxLength(24) +param storageNameWithDecorator string + // length constraint on an array param someArray array { minLength: 3 maxLength: 24 } +@minLength(3) +@maxLength(24) +param someArrayWithDecorator array + // empty metadata param emptyMetadata string { metadata: { } } +@metadata({}) +param emptyMetadataWithDecorator string + // description param description string { metadata: { @@ -110,6 +133,14 @@ param description string { } } +@metadata({ + description: 'my description' +}) +param descriptionWithDecorator string + +@sys.description('my description') +param descriptionWithDecorator2 string + // random extra metadata param additionalMetadata string { metadata: { @@ -124,6 +155,18 @@ param additionalMetadata string { } } +@metadata({ + description: 'my description' + a: 1 + b: true + c: [ + ] + d: { + test: 'abc' + } +}) +param additionalMetadataWithDecorator string + // all modifiers together param someParameter string { secure: true @@ -140,9 +183,63 @@ param someParameter string { } } +@secure() +@minLength(3) +@maxLength(24) +@allowed([ + 'one' + 'two' + 'three' +]) +@metadata({ + description: 'Name of the storage account' +}) +param someParameterWithDecorator string = 'one' + param defaultValueExpression int { default: true ? 4 + 2*3 : 0 } param defaultExpression bool = 18 != (true || false) +@secure() +@minLength(2) + @maxLength(10) +@allowed([ + 'Apple' + 'Banana' +]) +param decoratedString string + +@minValue(200) +param decoratedInt int = 123 + +@sys.description('A boolean.') +@metadata({ + description: 'I will be overrode.' + foo: 'something' + bar: [ + { } + true + 123 + ] +}) +param decoratedBool bool + +@secure() +@secure() +@secure() +param decoratedObject object = { + location: 'westus' +} + + +@metadata({ + description: 'An array.' +}) +@maxLength(20) +@maxLength(10) +@maxLength(5) +@sys.description('I will be overrode.') +param decoratedArray array + diff --git a/src/Bicep.Core.Samples/Files/Parameters_LF/main.formatted.bicep b/src/Bicep.Core.Samples/Files/Parameters_LF/main.formatted.bicep index e577ee50da0..5b05f66486c 100644 --- a/src/Bicep.Core.Samples/Files/Parameters_LF/main.formatted.bicep +++ b/src/Bicep.Core.Samples/Files/Parameters_LF/main.formatted.bicep @@ -66,6 +66,9 @@ param password string { secure: true } +@secure() +param passwordWithDecorator string + // non-secure string param nonSecure string { secure: false @@ -76,6 +79,9 @@ param secretObject object { secure: true } +@secure() +param secureObjectWithDecorator object + // enum parameter param storageSku string { allowed: [ @@ -84,23 +90,40 @@ param storageSku string { ] } +@allowed([ + 'Standard_LRS' + 'Standard_GRS' +]) +param storageSkuWithDecorator string + // length constraint on a string param storageName string { minLength: 3 maxLength: 24 } +@minLength(3) +@maxLength(24) +param storageNameWithDecorator string + // length constraint on an array param someArray array { minLength: 3 maxLength: 24 } +@minLength(3) +@maxLength(24) +param someArrayWithDecorator array + // empty metadata param emptyMetadata string { metadata: {} } +@metadata({}) +param emptyMetadataWithDecorator string + // description param description string { metadata: { @@ -108,6 +131,14 @@ param description string { } } +@metadata({ + description: 'my description' +}) +param descriptionWithDecorator string + +@sys.description('my description') +param descriptionWithDecorator2 string + // random extra metadata param additionalMetadata string { metadata: { @@ -121,6 +152,17 @@ param additionalMetadata string { } } +@metadata({ + description: 'my description' + a: 1 + b: true + c: [] + d: { + test: 'abc' + } +}) +param additionalMetadataWithDecorator string + // all modifiers together param someParameter string { secure: true @@ -137,8 +179,61 @@ param someParameter string { } } +@secure() +@minLength(3) +@maxLength(24) +@allowed([ + 'one' + 'two' + 'three' +]) +@metadata({ + description: 'Name of the storage account' +}) +param someParameterWithDecorator string = 'one' + param defaultValueExpression int { default: true ? 4 + 2 * 3 : 0 } param defaultExpression bool = 18 != (true || false) + +@secure() +@minLength(2) +@maxLength(10) +@allowed([ + 'Apple' + 'Banana' +]) +param decoratedString string + +@minValue(200) +param decoratedInt int = 123 + +@sys.description('A boolean.') +@metadata({ + description: 'I will be overrode.' + foo: 'something' + bar: [ + {} + true + 123 + ] +}) +param decoratedBool bool + +@secure() +@secure() +@secure() +param decoratedObject object = { + location: 'westus' +} + +@metadata({ + description: 'An array.' +}) +@maxLength(20) +@maxLength(10) +@maxLength(5) +@sys.description('I will be overrode.') +param decoratedArray array diff --git a/src/Bicep.Core.Samples/Files/Parameters_LF/main.json b/src/Bicep.Core.Samples/Files/Parameters_LF/main.json index 3e7e2f3457d..c98238dc4d3 100644 --- a/src/Bicep.Core.Samples/Files/Parameters_LF/main.json +++ b/src/Bicep.Core.Samples/Files/Parameters_LF/main.json @@ -1,161 +1,260 @@ -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "myString": { - "type": "string" - }, - "myInt": { - "type": "int" - }, - "myBool": { - "type": "bool" - }, - "myString2": { - "type": "string", - "defaultValue": "[format('strin{0}g value', 2)]" - }, - "myInt2": { - "type": "int", - "defaultValue": 42 - }, - "myTruth": { - "type": "bool", - "defaultValue": true - }, - "myFalsehood": { - "type": "bool", - "defaultValue": false - }, - "myEscapedString": { - "type": "string", - "defaultValue": "First line\nSecond\ttabbed\tline" - }, - "myNewGuid": { - "type": "string", - "defaultValue": "[newGuid()]" - }, - "myUtcTime": { - "type": "string", - "defaultValue": "[utcNow()]" - }, - "foo": { - "type": "object", - "defaultValue": { - "enabled": true, - "name": "this is my object", - "priority": 3, - "info": { - "a": "b" - }, - "empty": {}, - "array": [ - "string item", - 12, - true, - [ - "inner", - false - ], - { - "a": "b" - } - ], - "test": { - "time": "[utcNow('u')]", - "guid": "[newGuid()]" - } - } - }, - "myArrayParam": { - "type": "array", - "defaultValue": [ - "a", - "b", - "c" - ] - }, - "myAlternativeArrayParam": { - "type": "array", - "defaultValue": [ - "a", - "b", - "c", - "[newGuid()]", - "[utcNow()]" - ] - }, - "password": { - "type": "secureString" - }, - "nonSecure": { - "type": "string" - }, - "secretObject": { - "type": "secureObject" - }, - "storageSku": { - "type": "string", - "allowedValues": [ - "Standard_LRS", - "Standard_GRS" - ] - }, - "storageName": { - "type": "string", - "minLength": 3, - "maxLength": 24 - }, - "someArray": { - "type": "array", - "minLength": 3, - "maxLength": 24 - }, - "emptyMetadata": { - "type": "string", - "metadata": {} - }, - "description": { - "type": "string", - "metadata": { - "description": "my description" - } - }, - "additionalMetadata": { - "type": "string", - "metadata": { - "description": "my description", - "a": 1, - "b": true, - "c": [], - "d": { - "test": "abc" - } - } - }, - "someParameter": { - "type": "secureString", - "minLength": 3, - "maxLength": 24, - "metadata": { - "description": "Name of the storage account" - }, - "defaultValue": "one", - "allowedValues": [ - "one", - "two", - "three" - ] - }, - "defaultValueExpression": { - "type": "int", - "defaultValue": "[if(true(), add(4, mul(2, 3)), 0)]" - }, - "defaultExpression": { - "type": "bool", - "defaultValue": "[not(equals(18, or(true(), false())))]" - } - }, - "functions": [], - "resources": [] +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "myString": { + "type": "string" + }, + "myInt": { + "type": "int" + }, + "myBool": { + "type": "bool" + }, + "myString2": { + "type": "string", + "defaultValue": "[format('strin{0}g value', 2)]" + }, + "myInt2": { + "type": "int", + "defaultValue": 42 + }, + "myTruth": { + "type": "bool", + "defaultValue": true + }, + "myFalsehood": { + "type": "bool", + "defaultValue": false + }, + "myEscapedString": { + "type": "string", + "defaultValue": "First line\nSecond\ttabbed\tline" + }, + "myNewGuid": { + "type": "string", + "defaultValue": "[newGuid()]" + }, + "myUtcTime": { + "type": "string", + "defaultValue": "[utcNow()]" + }, + "foo": { + "type": "object", + "defaultValue": { + "enabled": true, + "name": "this is my object", + "priority": 3, + "info": { + "a": "b" + }, + "empty": {}, + "array": [ + "string item", + 12, + true, + [ + "inner", + false + ], + { + "a": "b" + } + ], + "test": { + "time": "[utcNow('u')]", + "guid": "[newGuid()]" + } + } + }, + "myArrayParam": { + "type": "array", + "defaultValue": [ + "a", + "b", + "c" + ] + }, + "myAlternativeArrayParam": { + "type": "array", + "defaultValue": [ + "a", + "b", + "c", + "[newGuid()]", + "[utcNow()]" + ] + }, + "password": { + "type": "secureString" + }, + "passwordWithDecorator": { + "type": "secureString" + }, + "nonSecure": { + "type": "string" + }, + "secretObject": { + "type": "secureObject" + }, + "secureObjectWithDecorator": { + "type": "secureObject" + }, + "storageSku": { + "type": "string", + "allowedValues": [ + "Standard_LRS", + "Standard_GRS" + ] + }, + "storageSkuWithDecorator": { + "type": "string", + "allowedValues": [ + "Standard_LRS", + "Standard_GRS" + ] + }, + "storageName": { + "type": "string", + "minLength": 3, + "maxLength": 24 + }, + "storageNameWithDecorator": { + "type": "string", + "maxLength": 24, + "minLength": 3 + }, + "someArray": { + "type": "array", + "minLength": 3, + "maxLength": 24 + }, + "someArrayWithDecorator": { + "type": "array", + "maxLength": 24, + "minLength": 3 + }, + "emptyMetadata": { + "type": "string", + "metadata": {} + }, + "emptyMetadataWithDecorator": { + "type": "string", + "metadata": {} + }, + "description": { + "type": "string", + "metadata": { + "description": "my description" + } + }, + "descriptionWithDecorator": { + "type": "string", + "metadata": { + "description": "my description" + } + }, + "descriptionWithDecorator2": { + "type": "string", + "metadata": { + "description": "my description" + } + }, + "additionalMetadata": { + "type": "string", + "metadata": { + "description": "my description", + "a": 1, + "b": true, + "c": [], + "d": { + "test": "abc" + } + } + }, + "additionalMetadataWithDecorator": { + "type": "string", + "metadata": { + "description": "my description", + "a": 1, + "b": true, + "c": [], + "d": { + "test": "abc" + } + } + }, + "someParameter": { + "type": "secureString", + "minLength": 3, + "maxLength": 24, + "metadata": { + "description": "Name of the storage account" + }, + "defaultValue": "one", + "allowedValues": [ + "one", + "two", + "three" + ] + }, + "someParameterWithDecorator": { + "type": "secureString", + "metadata": { + "description": "Name of the storage account" + }, + "allowedValues": [ + "one", + "two", + "three" + ], + "maxLength": 24, + "minLength": 3 + }, + "defaultValueExpression": { + "type": "int", + "defaultValue": "[if(true(), add(4, mul(2, 3)), 0)]" + }, + "defaultExpression": { + "type": "bool", + "defaultValue": "[not(equals(18, or(true(), false())))]" + }, + "decoratedString": { + "type": "secureString", + "allowedValues": [ + "Apple", + "Banana" + ], + "maxLength": 10, + "minLength": 2 + }, + "decoratedInt": { + "type": "int", + "minValue": 200 + }, + "decoratedBool": { + "type": "bool", + "metadata": { + "description": "A boolean.", + "foo": "something", + "bar": [ + {}, + true, + 123 + ] + } + }, + "decoratedObject": { + "type": "secureObject" + }, + "decoratedArray": { + "type": "array", + "metadata": { + "description": "An array." + }, + "maxLength": 20 + } + }, + "functions": [], + "resources": [] } \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/Parameters_LF/main.symbols.bicep b/src/Bicep.Core.Samples/Files/Parameters_LF/main.symbols.bicep index 961a697acbe..c64fe30c3a3 100644 --- a/src/Bicep.Core.Samples/Files/Parameters_LF/main.symbols.bicep +++ b/src/Bicep.Core.Samples/Files/Parameters_LF/main.symbols.bicep @@ -81,6 +81,10 @@ param password string { secure: true } +@secure() +param passwordWithDecorator string +//@[6:27) Parameter passwordWithDecorator. Type: string. Declaration start char: 0, length: 44 + // non-secure string param nonSecure string { //@[6:15) Parameter nonSecure. Type: string. Declaration start char: 0, length: 42 @@ -93,6 +97,10 @@ param secretObject object { secure: true } +@secure() +param secureObjectWithDecorator object +//@[6:31) Parameter secureObjectWithDecorator. Type: object. Declaration start char: 0, length: 48 + // enum parameter param storageSku string { //@[6:16) Parameter storageSku. Type: 'Standard_GRS' | 'Standard_LRS'. Declaration start char: 0, length: 82 @@ -102,6 +110,13 @@ param storageSku string { ] } +@ allowed([ +'Standard_LRS' +'Standard_GRS' +]) +param storageSkuWithDecorator string +//@[6:29) Parameter storageSkuWithDecorator. Type: string. Declaration start char: 0, length: 82 + // length constraint on a string param storageName string { //@[6:17) Parameter storageName. Type: string. Declaration start char: 0, length: 59 @@ -109,6 +124,11 @@ param storageName string { maxLength: 24 } +@minLength(3) +@maxLength(24) +param storageNameWithDecorator string +//@[6:30) Parameter storageNameWithDecorator. Type: string. Declaration start char: 0, length: 66 + // length constraint on an array param someArray array { //@[6:15) Parameter someArray. Type: array. Declaration start char: 0, length: 56 @@ -116,6 +136,11 @@ param someArray array { maxLength: 24 } +@minLength(3) +@maxLength(24) +param someArrayWithDecorator array +//@[6:28) Parameter someArrayWithDecorator. Type: array. Declaration start char: 0, length: 63 + // empty metadata param emptyMetadata string { //@[6:19) Parameter emptyMetadata. Type: string. Declaration start char: 0, length: 48 @@ -123,6 +148,10 @@ param emptyMetadata string { } } +@metadata({}) +param emptyMetadataWithDecorator string +//@[6:32) Parameter emptyMetadataWithDecorator. Type: string. Declaration start char: 0, length: 53 + // description param description string { //@[6:17) Parameter description. Type: string. Declaration start char: 0, length: 80 @@ -131,6 +160,16 @@ param description string { } } +@metadata({ + description: 'my description' +}) +param descriptionWithDecorator string +//@[6:30) Parameter descriptionWithDecorator. Type: string. Declaration start char: 0, length: 84 + +@sys.description('my description') +param descriptionWithDecorator2 string +//@[6:31) Parameter descriptionWithDecorator2. Type: string. Declaration start char: 0, length: 73 + // random extra metadata param additionalMetadata string { //@[6:24) Parameter additionalMetadata. Type: string. Declaration start char: 0, length: 156 @@ -146,6 +185,19 @@ param additionalMetadata string { } } +@metadata({ + description: 'my description' + a: 1 + b: true + c: [ + ] + d: { + test: 'abc' + } +}) +param additionalMetadataWithDecorator string +//@[6:37) Parameter additionalMetadataWithDecorator. Type: string. Declaration start char: 0, length: 138 + // all modifiers together param someParameter string { //@[6:19) Parameter someParameter. Type: 'one' | 'three' | 'two'. Declaration start char: 0, length: 207 @@ -163,6 +215,20 @@ param someParameter string { } } +@secure() +@minLength(3) +@maxLength(24) +@allowed([ + 'one' + 'two' + 'three' +]) +@metadata({ + description: 'Name of the storage account' +}) +param someParameterWithDecorator string = 'one' +//@[6:32) Parameter someParameterWithDecorator. Type: string. Declaration start char: 0, length: 186 + param defaultValueExpression int { //@[6:28) Parameter defaultValueExpression. Type: int. Declaration start char: 0, length: 66 default: true ? 4 + 2*3 : 0 @@ -171,3 +237,49 @@ param defaultValueExpression int { param defaultExpression bool = 18 != (true || false) //@[6:23) Parameter defaultExpression. Type: bool. Declaration start char: 0, length: 52 +@secure() +@minLength(2) + @maxLength(10) +@allowed([ + 'Apple' + 'Banana' +]) +param decoratedString string +//@[6:21) Parameter decoratedString. Type: string. Declaration start char: 0, length: 104 + +@minValue(200) +param decoratedInt int = 123 +//@[6:18) Parameter decoratedInt. Type: int. Declaration start char: 0, length: 43 + +@sys.description('A boolean.') +@metadata({ + description: 'I will be overrode.' + foo: 'something' + bar: [ + { } + true + 123 + ] +}) +param decoratedBool bool +//@[6:19) Parameter decoratedBool. Type: bool. Declaration start char: 0, length: 193 + +@secure() +@secure() +@secure() +param decoratedObject object = { +//@[6:21) Parameter decoratedObject. Type: object. Declaration start char: 0, length: 85 + location: 'westus' +} + + +@metadata({ + description: 'An array.' +}) +@maxLength(20) +@maxLength(10) +@maxLength(5) +@sys.description('I will be overrode.') +param decoratedArray array +//@[6:20) Parameter decoratedArray. Type: array. Declaration start char: 0, length: 154 + diff --git a/src/Bicep.Core.Samples/Files/Parameters_LF/main.syntax.bicep b/src/Bicep.Core.Samples/Files/Parameters_LF/main.syntax.bicep index eb126fb606b..acf46e914da 100644 --- a/src/Bicep.Core.Samples/Files/Parameters_LF/main.syntax.bicep +++ b/src/Bicep.Core.Samples/Files/Parameters_LF/main.syntax.bicep @@ -409,6 +409,24 @@ param password string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@secure() +//@[0:44) ParameterDeclarationSyntax +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +param passwordWithDecorator string +//@[0:5) Identifier |param| +//@[6:27) IdentifierSyntax +//@[6:27) Identifier |passwordWithDecorator| +//@[28:34) TypeSyntax +//@[28:34) Identifier |string| +//@[34:36) NewLine |\n\n| + // non-secure string //@[20:21) NewLine |\n| param nonSecure string { @@ -457,6 +475,24 @@ param secretObject object { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@secure() +//@[0:48) ParameterDeclarationSyntax +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +param secureObjectWithDecorator object +//@[0:5) Identifier |param| +//@[6:31) IdentifierSyntax +//@[6:31) Identifier |secureObjectWithDecorator| +//@[32:38) TypeSyntax +//@[32:38) Identifier |object| +//@[38:40) NewLine |\n\n| + // enum parameter //@[17:18) NewLine |\n| param storageSku string { @@ -494,6 +530,40 @@ param storageSku string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@ allowed([ +//@[0:82) ParameterDeclarationSyntax +//@[0:45) DecoratorSyntax +//@[0:1) At |@| +//@[3:45) FunctionCallSyntax +//@[3:10) IdentifierSyntax +//@[3:10) Identifier |allowed| +//@[10:11) LeftParen |(| +//@[11:44) FunctionArgumentSyntax +//@[11:44) ArraySyntax +//@[11:12) LeftSquare |[| +//@[12:13) NewLine |\n| +'Standard_LRS' +//@[0:14) ArrayItemSyntax +//@[0:14) StringSyntax +//@[0:14) StringComplete |'Standard_LRS'| +//@[14:15) NewLine |\n| +'Standard_GRS' +//@[0:14) ArrayItemSyntax +//@[0:14) StringSyntax +//@[0:14) StringComplete |'Standard_GRS'| +//@[14:15) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param storageSkuWithDecorator string +//@[0:5) Identifier |param| +//@[6:29) IdentifierSyntax +//@[6:29) Identifier |storageSkuWithDecorator| +//@[30:36) TypeSyntax +//@[30:36) Identifier |string| +//@[36:38) NewLine |\n\n| + // length constraint on a string //@[32:33) NewLine |\n| param storageName string { @@ -526,6 +596,39 @@ param storageName string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@minLength(3) +//@[0:66) ParameterDeclarationSyntax +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) FunctionArgumentSyntax +//@[11:12) IntegerLiteralSyntax +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +@maxLength(24) +//@[0:14) DecoratorSyntax +//@[0:1) At |@| +//@[1:14) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) FunctionArgumentSyntax +//@[11:13) IntegerLiteralSyntax +//@[11:13) Integer |24| +//@[13:14) RightParen |)| +//@[14:15) NewLine |\n| +param storageNameWithDecorator string +//@[0:5) Identifier |param| +//@[6:30) IdentifierSyntax +//@[6:30) Identifier |storageNameWithDecorator| +//@[31:37) TypeSyntax +//@[31:37) Identifier |string| +//@[37:39) NewLine |\n\n| + // length constraint on an array //@[32:33) NewLine |\n| param someArray array { @@ -558,6 +661,39 @@ param someArray array { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@minLength(3) +//@[0:63) ParameterDeclarationSyntax +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) FunctionArgumentSyntax +//@[11:12) IntegerLiteralSyntax +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +@maxLength(24) +//@[0:14) DecoratorSyntax +//@[0:1) At |@| +//@[1:14) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) FunctionArgumentSyntax +//@[11:13) IntegerLiteralSyntax +//@[11:13) Integer |24| +//@[13:14) RightParen |)| +//@[14:15) NewLine |\n| +param someArrayWithDecorator array +//@[0:5) Identifier |param| +//@[6:28) IdentifierSyntax +//@[6:28) Identifier |someArrayWithDecorator| +//@[29:34) TypeSyntax +//@[29:34) Identifier |array| +//@[34:36) NewLine |\n\n| + // empty metadata //@[17:18) NewLine |\n| param emptyMetadata string { @@ -585,6 +721,28 @@ param emptyMetadata string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@metadata({}) +//@[0:53) ParameterDeclarationSyntax +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:12) FunctionArgumentSyntax +//@[10:12) ObjectSyntax +//@[10:11) LeftBrace |{| +//@[11:12) RightBrace |}| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +param emptyMetadataWithDecorator string +//@[0:5) Identifier |param| +//@[6:32) IdentifierSyntax +//@[6:32) Identifier |emptyMetadataWithDecorator| +//@[33:39) TypeSyntax +//@[33:39) Identifier |string| +//@[39:41) NewLine |\n\n| + // description //@[14:15) NewLine |\n| param description string { @@ -620,6 +778,63 @@ param description string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@metadata({ +//@[0:84) ParameterDeclarationSyntax +//@[0:46) DecoratorSyntax +//@[0:1) At |@| +//@[1:46) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:45) FunctionArgumentSyntax +//@[10:45) ObjectSyntax +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| + description: 'my description' +//@[2:31) ObjectPropertySyntax +//@[2:13) IdentifierSyntax +//@[2:13) Identifier |description| +//@[13:14) Colon |:| +//@[15:31) StringSyntax +//@[15:31) StringComplete |'my description'| +//@[31:32) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param descriptionWithDecorator string +//@[0:5) Identifier |param| +//@[6:30) IdentifierSyntax +//@[6:30) Identifier |descriptionWithDecorator| +//@[31:37) TypeSyntax +//@[31:37) Identifier |string| +//@[37:39) NewLine |\n\n| + +@sys.description('my description') +//@[0:73) ParameterDeclarationSyntax +//@[0:34) DecoratorSyntax +//@[0:1) At |@| +//@[1:34) InstanceFunctionCallSyntax +//@[1:4) VariableAccessSyntax +//@[1:4) IdentifierSyntax +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:16) IdentifierSyntax +//@[5:16) Identifier |description| +//@[16:17) LeftParen |(| +//@[17:33) FunctionArgumentSyntax +//@[17:33) StringSyntax +//@[17:33) StringComplete |'my description'| +//@[33:34) RightParen |)| +//@[34:35) NewLine |\n| +param descriptionWithDecorator2 string +//@[0:5) Identifier |param| +//@[6:31) IdentifierSyntax +//@[6:31) Identifier |descriptionWithDecorator2| +//@[32:38) TypeSyntax +//@[32:38) Identifier |string| +//@[38:40) NewLine |\n\n| + // random extra metadata //@[24:25) NewLine |\n| param additionalMetadata string { @@ -701,6 +916,84 @@ param additionalMetadata string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@metadata({ +//@[0:138) ParameterDeclarationSyntax +//@[0:93) DecoratorSyntax +//@[0:1) At |@| +//@[1:93) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:92) FunctionArgumentSyntax +//@[10:92) ObjectSyntax +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| + description: 'my description' +//@[1:30) ObjectPropertySyntax +//@[1:12) IdentifierSyntax +//@[1:12) Identifier |description| +//@[12:13) Colon |:| +//@[14:30) StringSyntax +//@[14:30) StringComplete |'my description'| +//@[30:31) NewLine |\n| + a: 1 +//@[1:5) ObjectPropertySyntax +//@[1:2) IdentifierSyntax +//@[1:2) Identifier |a| +//@[2:3) Colon |:| +//@[4:5) IntegerLiteralSyntax +//@[4:5) Integer |1| +//@[5:6) NewLine |\n| + b: true +//@[1:8) ObjectPropertySyntax +//@[1:2) IdentifierSyntax +//@[1:2) Identifier |b| +//@[2:3) Colon |:| +//@[4:8) BooleanLiteralSyntax +//@[4:8) TrueKeyword |true| +//@[8:9) NewLine |\n| + c: [ +//@[1:8) ObjectPropertySyntax +//@[1:2) IdentifierSyntax +//@[1:2) Identifier |c| +//@[2:3) Colon |:| +//@[4:8) ArraySyntax +//@[4:5) LeftSquare |[| +//@[5:6) NewLine |\n| + ] +//@[1:2) RightSquare |]| +//@[2:3) NewLine |\n| + d: { +//@[1:23) ObjectPropertySyntax +//@[1:2) IdentifierSyntax +//@[1:2) Identifier |d| +//@[2:3) Colon |:| +//@[4:23) ObjectSyntax +//@[4:5) LeftBrace |{| +//@[5:6) NewLine |\n| + test: 'abc' +//@[3:14) ObjectPropertySyntax +//@[3:7) IdentifierSyntax +//@[3:7) Identifier |test| +//@[7:8) Colon |:| +//@[9:14) StringSyntax +//@[9:14) StringComplete |'abc'| +//@[14:15) NewLine |\n| + } +//@[1:2) RightBrace |}| +//@[2:3) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param additionalMetadataWithDecorator string +//@[0:5) Identifier |param| +//@[6:37) IdentifierSyntax +//@[6:37) Identifier |additionalMetadataWithDecorator| +//@[38:44) TypeSyntax +//@[38:44) Identifier |string| +//@[44:46) NewLine |\n\n| + // all modifiers together //@[25:26) NewLine |\n| param someParameter string { @@ -794,6 +1087,105 @@ param someParameter string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@secure() +//@[0:186) ParameterDeclarationSyntax +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +@minLength(3) +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) FunctionArgumentSyntax +//@[11:12) IntegerLiteralSyntax +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +@maxLength(24) +//@[0:14) DecoratorSyntax +//@[0:1) At |@| +//@[1:14) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) FunctionArgumentSyntax +//@[11:13) IntegerLiteralSyntax +//@[11:13) Integer |24| +//@[13:14) RightParen |)| +//@[14:15) NewLine |\n| +@allowed([ +//@[0:39) DecoratorSyntax +//@[0:1) At |@| +//@[1:39) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:38) FunctionArgumentSyntax +//@[9:38) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + 'one' +//@[2:7) ArrayItemSyntax +//@[2:7) StringSyntax +//@[2:7) StringComplete |'one'| +//@[7:8) NewLine |\n| + 'two' +//@[2:7) ArrayItemSyntax +//@[2:7) StringSyntax +//@[2:7) StringComplete |'two'| +//@[7:8) NewLine |\n| + 'three' +//@[2:9) ArrayItemSyntax +//@[2:9) StringSyntax +//@[2:9) StringComplete |'three'| +//@[9:10) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +@metadata({ +//@[0:59) DecoratorSyntax +//@[0:1) At |@| +//@[1:59) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:58) FunctionArgumentSyntax +//@[10:58) ObjectSyntax +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| + description: 'Name of the storage account' +//@[2:44) ObjectPropertySyntax +//@[2:13) IdentifierSyntax +//@[2:13) Identifier |description| +//@[13:14) Colon |:| +//@[15:44) StringSyntax +//@[15:44) StringComplete |'Name of the storage account'| +//@[44:45) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param someParameterWithDecorator string = 'one' +//@[0:5) Identifier |param| +//@[6:32) IdentifierSyntax +//@[6:32) Identifier |someParameterWithDecorator| +//@[33:39) TypeSyntax +//@[33:39) Identifier |string| +//@[40:47) ParameterDefaultValueSyntax +//@[40:41) Assignment |=| +//@[42:47) StringSyntax +//@[42:47) StringComplete |'one'| +//@[47:49) NewLine |\n\n| + param defaultValueExpression int { //@[0:66) ParameterDeclarationSyntax //@[0:5) Identifier |param| @@ -853,6 +1245,317 @@ param defaultExpression bool = 18 != (true || false) //@[46:51) BooleanLiteralSyntax //@[46:51) FalseKeyword |false| //@[51:52) RightParen |)| -//@[52:53) NewLine |\n| +//@[52:54) NewLine |\n\n| + +@secure() +//@[0:104) ParameterDeclarationSyntax +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +@minLength(2) +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) FunctionArgumentSyntax +//@[11:12) IntegerLiteralSyntax +//@[11:12) Integer |2| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| + @maxLength(10) +//@[2:16) DecoratorSyntax +//@[2:3) At |@| +//@[3:16) FunctionCallSyntax +//@[3:12) IdentifierSyntax +//@[3:12) Identifier |maxLength| +//@[12:13) LeftParen |(| +//@[13:15) FunctionArgumentSyntax +//@[13:15) IntegerLiteralSyntax +//@[13:15) Integer |10| +//@[15:16) RightParen |)| +//@[16:17) NewLine |\n| +@allowed([ +//@[0:34) DecoratorSyntax +//@[0:1) At |@| +//@[1:34) FunctionCallSyntax +//@[1:8) IdentifierSyntax +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:33) FunctionArgumentSyntax +//@[9:33) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + 'Apple' +//@[2:9) ArrayItemSyntax +//@[2:9) StringSyntax +//@[2:9) StringComplete |'Apple'| +//@[9:10) NewLine |\n| + 'Banana' +//@[2:10) ArrayItemSyntax +//@[2:10) StringSyntax +//@[2:10) StringComplete |'Banana'| +//@[10:11) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param decoratedString string +//@[0:5) Identifier |param| +//@[6:21) IdentifierSyntax +//@[6:21) Identifier |decoratedString| +//@[22:28) TypeSyntax +//@[22:28) Identifier |string| +//@[28:30) NewLine |\n\n| + +@minValue(200) +//@[0:43) ParameterDeclarationSyntax +//@[0:14) DecoratorSyntax +//@[0:1) At |@| +//@[1:14) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |minValue| +//@[9:10) LeftParen |(| +//@[10:13) FunctionArgumentSyntax +//@[10:13) IntegerLiteralSyntax +//@[10:13) Integer |200| +//@[13:14) RightParen |)| +//@[14:15) NewLine |\n| +param decoratedInt int = 123 +//@[0:5) Identifier |param| +//@[6:18) IdentifierSyntax +//@[6:18) Identifier |decoratedInt| +//@[19:22) TypeSyntax +//@[19:22) Identifier |int| +//@[23:28) ParameterDefaultValueSyntax +//@[23:24) Assignment |=| +//@[25:28) IntegerLiteralSyntax +//@[25:28) Integer |123| +//@[28:30) NewLine |\n\n| + +@sys.description('A boolean.') +//@[0:193) ParameterDeclarationSyntax +//@[0:30) DecoratorSyntax +//@[0:1) At |@| +//@[1:30) InstanceFunctionCallSyntax +//@[1:4) VariableAccessSyntax +//@[1:4) IdentifierSyntax +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:16) IdentifierSyntax +//@[5:16) Identifier |description| +//@[16:17) LeftParen |(| +//@[17:29) FunctionArgumentSyntax +//@[17:29) StringSyntax +//@[17:29) StringComplete |'A boolean.'| +//@[29:30) RightParen |)| +//@[30:31) NewLine |\n| +@metadata({ +//@[0:137) DecoratorSyntax +//@[0:1) At |@| +//@[1:137) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:136) FunctionArgumentSyntax +//@[10:136) ObjectSyntax +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| + description: 'I will be overrode.' +//@[4:38) ObjectPropertySyntax +//@[4:15) IdentifierSyntax +//@[4:15) Identifier |description| +//@[15:16) Colon |:| +//@[17:38) StringSyntax +//@[17:38) StringComplete |'I will be overrode.'| +//@[38:39) NewLine |\n| + foo: 'something' +//@[4:20) ObjectPropertySyntax +//@[4:7) IdentifierSyntax +//@[4:7) Identifier |foo| +//@[7:8) Colon |:| +//@[9:20) StringSyntax +//@[9:20) StringComplete |'something'| +//@[20:21) NewLine |\n| + bar: [ +//@[4:62) ObjectPropertySyntax +//@[4:7) IdentifierSyntax +//@[4:7) Identifier |bar| +//@[7:8) Colon |:| +//@[9:62) ArraySyntax +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + { } +//@[8:20) ArrayItemSyntax +//@[8:20) ObjectSyntax +//@[8:9) LeftBrace |{| +//@[19:20) RightBrace |}| +//@[20:21) NewLine |\n| + true +//@[8:12) ArrayItemSyntax +//@[8:12) BooleanLiteralSyntax +//@[8:12) TrueKeyword |true| +//@[12:13) NewLine |\n| + 123 +//@[8:11) ArrayItemSyntax +//@[8:11) IntegerLiteralSyntax +//@[8:11) Integer |123| +//@[11:12) NewLine |\n| + ] +//@[4:5) RightSquare |]| +//@[5:6) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param decoratedBool bool +//@[0:5) Identifier |param| +//@[6:19) IdentifierSyntax +//@[6:19) Identifier |decoratedBool| +//@[20:24) TypeSyntax +//@[20:24) Identifier |bool| +//@[24:26) NewLine |\n\n| + +@secure() +//@[0:85) ParameterDeclarationSyntax +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +@secure() +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +@secure() +//@[0:9) DecoratorSyntax +//@[0:1) At |@| +//@[1:9) FunctionCallSyntax +//@[1:7) IdentifierSyntax +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +param decoratedObject object = { +//@[0:5) Identifier |param| +//@[6:21) IdentifierSyntax +//@[6:21) Identifier |decoratedObject| +//@[22:28) TypeSyntax +//@[22:28) Identifier |object| +//@[29:55) ParameterDefaultValueSyntax +//@[29:30) Assignment |=| +//@[31:55) ObjectSyntax +//@[31:32) LeftBrace |{| +//@[32:33) NewLine |\n| + location: 'westus' +//@[2:20) ObjectPropertySyntax +//@[2:10) IdentifierSyntax +//@[2:10) Identifier |location| +//@[10:11) Colon |:| +//@[12:20) StringSyntax +//@[12:20) StringComplete |'westus'| +//@[20:21) NewLine |\n| +} +//@[0:1) RightBrace |}| +//@[1:4) NewLine |\n\n\n| + + +@metadata({ +//@[0:154) ParameterDeclarationSyntax +//@[0:43) DecoratorSyntax +//@[0:1) At |@| +//@[1:43) FunctionCallSyntax +//@[1:9) IdentifierSyntax +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:42) FunctionArgumentSyntax +//@[10:42) ObjectSyntax +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| + description: 'An array.' +//@[4:28) ObjectPropertySyntax +//@[4:15) IdentifierSyntax +//@[4:15) Identifier |description| +//@[15:16) Colon |:| +//@[17:28) StringSyntax +//@[17:28) StringComplete |'An array.'| +//@[28:29) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +@maxLength(20) +//@[0:14) DecoratorSyntax +//@[0:1) At |@| +//@[1:14) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) FunctionArgumentSyntax +//@[11:13) IntegerLiteralSyntax +//@[11:13) Integer |20| +//@[13:14) RightParen |)| +//@[14:15) NewLine |\n| +@maxLength(10) +//@[0:14) DecoratorSyntax +//@[0:1) At |@| +//@[1:14) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) FunctionArgumentSyntax +//@[11:13) IntegerLiteralSyntax +//@[11:13) Integer |10| +//@[13:14) RightParen |)| +//@[14:15) NewLine |\n| +@maxLength(5) +//@[0:13) DecoratorSyntax +//@[0:1) At |@| +//@[1:13) FunctionCallSyntax +//@[1:10) IdentifierSyntax +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:12) FunctionArgumentSyntax +//@[11:12) IntegerLiteralSyntax +//@[11:12) Integer |5| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +@sys.description('I will be overrode.') +//@[0:39) DecoratorSyntax +//@[0:1) At |@| +//@[1:39) InstanceFunctionCallSyntax +//@[1:4) VariableAccessSyntax +//@[1:4) IdentifierSyntax +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:16) IdentifierSyntax +//@[5:16) Identifier |description| +//@[16:17) LeftParen |(| +//@[17:38) FunctionArgumentSyntax +//@[17:38) StringSyntax +//@[17:38) StringComplete |'I will be overrode.'| +//@[38:39) RightParen |)| +//@[39:40) NewLine |\n| +param decoratedArray array +//@[0:5) Identifier |param| +//@[6:20) IdentifierSyntax +//@[6:20) Identifier |decoratedArray| +//@[21:26) TypeSyntax +//@[21:26) Identifier |array| +//@[26:27) NewLine |\n| //@[0:0) EndOfFile || diff --git a/src/Bicep.Core.Samples/Files/Parameters_LF/main.tokens.bicep b/src/Bicep.Core.Samples/Files/Parameters_LF/main.tokens.bicep index 0a743fa523f..49e7ba6d541 100644 --- a/src/Bicep.Core.Samples/Files/Parameters_LF/main.tokens.bicep +++ b/src/Bicep.Core.Samples/Files/Parameters_LF/main.tokens.bicep @@ -269,6 +269,18 @@ param password string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +param passwordWithDecorator string +//@[0:5) Identifier |param| +//@[6:27) Identifier |passwordWithDecorator| +//@[28:34) Identifier |string| +//@[34:36) NewLine |\n\n| + // non-secure string //@[20:21) NewLine |\n| param nonSecure string { @@ -303,6 +315,18 @@ param secretObject object { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +param secureObjectWithDecorator object +//@[0:5) Identifier |param| +//@[6:31) Identifier |secureObjectWithDecorator| +//@[32:38) Identifier |object| +//@[38:40) NewLine |\n\n| + // enum parameter //@[17:18) NewLine |\n| param storageSku string { @@ -329,6 +353,28 @@ param storageSku string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@ allowed([ +//@[0:1) At |@| +//@[3:10) Identifier |allowed| +//@[10:11) LeftParen |(| +//@[11:12) LeftSquare |[| +//@[12:13) NewLine |\n| +'Standard_LRS' +//@[0:14) StringComplete |'Standard_LRS'| +//@[14:15) NewLine |\n| +'Standard_GRS' +//@[0:14) StringComplete |'Standard_GRS'| +//@[14:15) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param storageSkuWithDecorator string +//@[0:5) Identifier |param| +//@[6:29) Identifier |storageSkuWithDecorator| +//@[30:36) Identifier |string| +//@[36:38) NewLine |\n\n| + // length constraint on a string //@[32:33) NewLine |\n| param storageName string { @@ -351,6 +397,26 @@ param storageName string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@minLength(3) +//@[0:1) At |@| +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +@maxLength(24) +//@[0:1) At |@| +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) Integer |24| +//@[13:14) RightParen |)| +//@[14:15) NewLine |\n| +param storageNameWithDecorator string +//@[0:5) Identifier |param| +//@[6:30) Identifier |storageNameWithDecorator| +//@[31:37) Identifier |string| +//@[37:39) NewLine |\n\n| + // length constraint on an array //@[32:33) NewLine |\n| param someArray array { @@ -373,6 +439,26 @@ param someArray array { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@minLength(3) +//@[0:1) At |@| +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +@maxLength(24) +//@[0:1) At |@| +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) Integer |24| +//@[13:14) RightParen |)| +//@[14:15) NewLine |\n| +param someArrayWithDecorator array +//@[0:5) Identifier |param| +//@[6:28) Identifier |someArrayWithDecorator| +//@[29:34) Identifier |array| +//@[34:36) NewLine |\n\n| + // empty metadata //@[17:18) NewLine |\n| param emptyMetadata string { @@ -393,6 +479,20 @@ param emptyMetadata string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@metadata({}) +//@[0:1) At |@| +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:11) LeftBrace |{| +//@[11:12) RightBrace |}| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +param emptyMetadataWithDecorator string +//@[0:5) Identifier |param| +//@[6:32) Identifier |emptyMetadataWithDecorator| +//@[33:39) Identifier |string| +//@[39:41) NewLine |\n\n| + // description //@[14:15) NewLine |\n| param description string { @@ -418,6 +518,42 @@ param description string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@metadata({ +//@[0:1) At |@| +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| + description: 'my description' +//@[2:13) Identifier |description| +//@[13:14) Colon |:| +//@[15:31) StringComplete |'my description'| +//@[31:32) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param descriptionWithDecorator string +//@[0:5) Identifier |param| +//@[6:30) Identifier |descriptionWithDecorator| +//@[31:37) Identifier |string| +//@[37:39) NewLine |\n\n| + +@sys.description('my description') +//@[0:1) At |@| +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:16) Identifier |description| +//@[16:17) LeftParen |(| +//@[17:33) StringComplete |'my description'| +//@[33:34) RightParen |)| +//@[34:35) NewLine |\n| +param descriptionWithDecorator2 string +//@[0:5) Identifier |param| +//@[6:31) Identifier |descriptionWithDecorator2| +//@[32:38) Identifier |string| +//@[38:40) NewLine |\n\n| + // random extra metadata //@[24:25) NewLine |\n| param additionalMetadata string { @@ -474,6 +610,58 @@ param additionalMetadata string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@metadata({ +//@[0:1) At |@| +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| + description: 'my description' +//@[1:12) Identifier |description| +//@[12:13) Colon |:| +//@[14:30) StringComplete |'my description'| +//@[30:31) NewLine |\n| + a: 1 +//@[1:2) Identifier |a| +//@[2:3) Colon |:| +//@[4:5) Integer |1| +//@[5:6) NewLine |\n| + b: true +//@[1:2) Identifier |b| +//@[2:3) Colon |:| +//@[4:8) TrueKeyword |true| +//@[8:9) NewLine |\n| + c: [ +//@[1:2) Identifier |c| +//@[2:3) Colon |:| +//@[4:5) LeftSquare |[| +//@[5:6) NewLine |\n| + ] +//@[1:2) RightSquare |]| +//@[2:3) NewLine |\n| + d: { +//@[1:2) Identifier |d| +//@[2:3) Colon |:| +//@[4:5) LeftBrace |{| +//@[5:6) NewLine |\n| + test: 'abc' +//@[3:7) Identifier |test| +//@[7:8) Colon |:| +//@[9:14) StringComplete |'abc'| +//@[14:15) NewLine |\n| + } +//@[1:2) RightBrace |}| +//@[2:3) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param additionalMetadataWithDecorator string +//@[0:5) Identifier |param| +//@[6:37) Identifier |additionalMetadataWithDecorator| +//@[38:44) Identifier |string| +//@[44:46) NewLine |\n\n| + // all modifiers together //@[25:26) NewLine |\n| param someParameter string { @@ -536,6 +724,68 @@ param someParameter string { //@[0:1) RightBrace |}| //@[1:3) NewLine |\n\n| +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +@minLength(3) +//@[0:1) At |@| +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) Integer |3| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +@maxLength(24) +//@[0:1) At |@| +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) Integer |24| +//@[13:14) RightParen |)| +//@[14:15) NewLine |\n| +@allowed([ +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + 'one' +//@[2:7) StringComplete |'one'| +//@[7:8) NewLine |\n| + 'two' +//@[2:7) StringComplete |'two'| +//@[7:8) NewLine |\n| + 'three' +//@[2:9) StringComplete |'three'| +//@[9:10) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +@metadata({ +//@[0:1) At |@| +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| + description: 'Name of the storage account' +//@[2:13) Identifier |description| +//@[13:14) Colon |:| +//@[15:44) StringComplete |'Name of the storage account'| +//@[44:45) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param someParameterWithDecorator string = 'one' +//@[0:5) Identifier |param| +//@[6:32) Identifier |someParameterWithDecorator| +//@[33:39) Identifier |string| +//@[40:41) Assignment |=| +//@[42:47) StringComplete |'one'| +//@[47:49) NewLine |\n\n| + param defaultValueExpression int { //@[0:5) Identifier |param| //@[6:28) Identifier |defaultValueExpression| @@ -571,6 +821,202 @@ param defaultExpression bool = 18 != (true || false) //@[43:45) LogicalOr |||| //@[46:51) FalseKeyword |false| //@[51:52) RightParen |)| -//@[52:53) NewLine |\n| +//@[52:54) NewLine |\n\n| + +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +@minLength(2) +//@[0:1) At |@| +//@[1:10) Identifier |minLength| +//@[10:11) LeftParen |(| +//@[11:12) Integer |2| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| + @maxLength(10) +//@[2:3) At |@| +//@[3:12) Identifier |maxLength| +//@[12:13) LeftParen |(| +//@[13:15) Integer |10| +//@[15:16) RightParen |)| +//@[16:17) NewLine |\n| +@allowed([ +//@[0:1) At |@| +//@[1:8) Identifier |allowed| +//@[8:9) LeftParen |(| +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + 'Apple' +//@[2:9) StringComplete |'Apple'| +//@[9:10) NewLine |\n| + 'Banana' +//@[2:10) StringComplete |'Banana'| +//@[10:11) NewLine |\n| +]) +//@[0:1) RightSquare |]| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param decoratedString string +//@[0:5) Identifier |param| +//@[6:21) Identifier |decoratedString| +//@[22:28) Identifier |string| +//@[28:30) NewLine |\n\n| + +@minValue(200) +//@[0:1) At |@| +//@[1:9) Identifier |minValue| +//@[9:10) LeftParen |(| +//@[10:13) Integer |200| +//@[13:14) RightParen |)| +//@[14:15) NewLine |\n| +param decoratedInt int = 123 +//@[0:5) Identifier |param| +//@[6:18) Identifier |decoratedInt| +//@[19:22) Identifier |int| +//@[23:24) Assignment |=| +//@[25:28) Integer |123| +//@[28:30) NewLine |\n\n| + +@sys.description('A boolean.') +//@[0:1) At |@| +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:16) Identifier |description| +//@[16:17) LeftParen |(| +//@[17:29) StringComplete |'A boolean.'| +//@[29:30) RightParen |)| +//@[30:31) NewLine |\n| +@metadata({ +//@[0:1) At |@| +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| + description: 'I will be overrode.' +//@[4:15) Identifier |description| +//@[15:16) Colon |:| +//@[17:38) StringComplete |'I will be overrode.'| +//@[38:39) NewLine |\n| + foo: 'something' +//@[4:7) Identifier |foo| +//@[7:8) Colon |:| +//@[9:20) StringComplete |'something'| +//@[20:21) NewLine |\n| + bar: [ +//@[4:7) Identifier |bar| +//@[7:8) Colon |:| +//@[9:10) LeftSquare |[| +//@[10:11) NewLine |\n| + { } +//@[8:9) LeftBrace |{| +//@[19:20) RightBrace |}| +//@[20:21) NewLine |\n| + true +//@[8:12) TrueKeyword |true| +//@[12:13) NewLine |\n| + 123 +//@[8:11) Integer |123| +//@[11:12) NewLine |\n| + ] +//@[4:5) RightSquare |]| +//@[5:6) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +param decoratedBool bool +//@[0:5) Identifier |param| +//@[6:19) Identifier |decoratedBool| +//@[20:24) Identifier |bool| +//@[24:26) NewLine |\n\n| + +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +@secure() +//@[0:1) At |@| +//@[1:7) Identifier |secure| +//@[7:8) LeftParen |(| +//@[8:9) RightParen |)| +//@[9:10) NewLine |\n| +param decoratedObject object = { +//@[0:5) Identifier |param| +//@[6:21) Identifier |decoratedObject| +//@[22:28) Identifier |object| +//@[29:30) Assignment |=| +//@[31:32) LeftBrace |{| +//@[32:33) NewLine |\n| + location: 'westus' +//@[2:10) Identifier |location| +//@[10:11) Colon |:| +//@[12:20) StringComplete |'westus'| +//@[20:21) NewLine |\n| +} +//@[0:1) RightBrace |}| +//@[1:4) NewLine |\n\n\n| + + +@metadata({ +//@[0:1) At |@| +//@[1:9) Identifier |metadata| +//@[9:10) LeftParen |(| +//@[10:11) LeftBrace |{| +//@[11:12) NewLine |\n| + description: 'An array.' +//@[4:15) Identifier |description| +//@[15:16) Colon |:| +//@[17:28) StringComplete |'An array.'| +//@[28:29) NewLine |\n| +}) +//@[0:1) RightBrace |}| +//@[1:2) RightParen |)| +//@[2:3) NewLine |\n| +@maxLength(20) +//@[0:1) At |@| +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) Integer |20| +//@[13:14) RightParen |)| +//@[14:15) NewLine |\n| +@maxLength(10) +//@[0:1) At |@| +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:13) Integer |10| +//@[13:14) RightParen |)| +//@[14:15) NewLine |\n| +@maxLength(5) +//@[0:1) At |@| +//@[1:10) Identifier |maxLength| +//@[10:11) LeftParen |(| +//@[11:12) Integer |5| +//@[12:13) RightParen |)| +//@[13:14) NewLine |\n| +@sys.description('I will be overrode.') +//@[0:1) At |@| +//@[1:4) Identifier |sys| +//@[4:5) Dot |.| +//@[5:16) Identifier |description| +//@[16:17) LeftParen |(| +//@[17:38) StringComplete |'I will be overrode.'| +//@[38:39) RightParen |)| +//@[39:40) NewLine |\n| +param decoratedArray array +//@[0:5) Identifier |param| +//@[6:20) Identifier |decoratedArray| +//@[21:26) Identifier |array| +//@[26:27) NewLine |\n| //@[0:0) EndOfFile || diff --git a/src/Bicep.Core.UnitTests/Emit/ExpressionConverterTests.cs b/src/Bicep.Core.UnitTests/Emit/ExpressionConverterTests.cs index c547d9664e5..4cda5fb2c35 100644 --- a/src/Bicep.Core.UnitTests/Emit/ExpressionConverterTests.cs +++ b/src/Bicep.Core.UnitTests/Emit/ExpressionConverterTests.cs @@ -57,7 +57,7 @@ public class ExpressionConverterTests public void ShouldConvertExpressionsCorrectly(string text, string expected) { var programText = $"var test = {text}"; - var compilation = new Compilation(TestResourceTypeProvider.Create(), SyntaxFactory.CreateFromText(programText)); + var compilation = new Compilation(TestResourceTypeProvider.Create(), SyntaxTreeGroupingFactory.CreateFromText(programText)); var programSyntax = compilation.SyntaxTreeGrouping.EntryPoint.ProgramSyntax; var variableDeclarationSyntax = programSyntax.Children.OfType().First(); diff --git a/src/Bicep.Core.UnitTests/Semantics/SymbolContextTests.cs b/src/Bicep.Core.UnitTests/Semantics/SymbolContextTests.cs index 0d919f2679b..2bf36ec0e13 100644 --- a/src/Bicep.Core.UnitTests/Semantics/SymbolContextTests.cs +++ b/src/Bicep.Core.UnitTests/Semantics/SymbolContextTests.cs @@ -20,7 +20,7 @@ public void LockedModeShouldBlockAccess() { const string expectedMessage = "Properties of the symbol context should not be accessed until name binding is completed."; - var compilation = new Compilation(TestResourceTypeProvider.Create(), SyntaxFactory.CreateFromText("")); + var compilation = new Compilation(TestResourceTypeProvider.Create(), SyntaxTreeGroupingFactory.CreateFromText("")); var bindings = new Dictionary(); var cyclesBySymbol = new Dictionary>(); var context = new SymbolContext(compilation, compilation.GetEntrypointSemanticModel()); diff --git a/src/Bicep.Core.UnitTests/TypeSystem/Az/AzResourceTypeProviderTests.cs b/src/Bicep.Core.UnitTests/TypeSystem/Az/AzResourceTypeProviderTests.cs index 18729a5f441..5e63ae7c591 100644 --- a/src/Bicep.Core.UnitTests/TypeSystem/Az/AzResourceTypeProviderTests.cs +++ b/src/Bicep.Core.UnitTests/TypeSystem/Az/AzResourceTypeProviderTests.cs @@ -75,7 +75,7 @@ public void AzResourceTypeProvider_should_warn_for_missing_resource_types() var typeLoader = CreateMockTypeLoader(ResourceTypeReference.Parse("Mock.Rp/mockType@2020-01-01")); Compilation createCompilation(string program) - => new Compilation(new AzResourceTypeProvider(typeLoader), SyntaxFactory.CreateFromText(program)); + => new Compilation(new AzResourceTypeProvider(typeLoader), SyntaxTreeGroupingFactory.CreateFromText(program)); // Missing top-level properties - should be an error var compilation = createCompilation(@" @@ -93,7 +93,7 @@ public void AzResourceTypeProvider_should_error_for_top_level_and_warn_for_neste { var typeLoader = CreateMockTypeLoader(ResourceTypeReference.Parse("Mock.Rp/mockType@2020-01-01")); Compilation createCompilation(string program) - => new Compilation(new AzResourceTypeProvider(typeLoader), SyntaxFactory.CreateFromText(program)); + => new Compilation(new AzResourceTypeProvider(typeLoader), SyntaxTreeGroupingFactory.CreateFromText(program)); // Missing top-level properties - should be an error var compilation = createCompilation(@" diff --git a/src/Bicep.Core.UnitTests/Utils/CompilationHelper.cs b/src/Bicep.Core.UnitTests/Utils/CompilationHelper.cs index ad13d23c60b..e3e5baf3165 100644 --- a/src/Bicep.Core.UnitTests/Utils/CompilationHelper.cs +++ b/src/Bicep.Core.UnitTests/Utils/CompilationHelper.cs @@ -51,7 +51,7 @@ private static (IReadOnlyDictionary files, Uri entryFileUri) Create private static Compilation CreateCompilation(IResourceTypeProvider resourceTypeProvider, IReadOnlyDictionary files, Uri entryFileUri) { - var syntaxTreeGrouping = SyntaxFactory.CreateForFiles(files, entryFileUri); + var syntaxTreeGrouping = SyntaxTreeGroupingFactory.CreateForFiles(files, entryFileUri); return new Compilation(resourceTypeProvider, syntaxTreeGrouping); } diff --git a/src/Bicep.Core.UnitTests/Utils/SyntaxFactory.cs b/src/Bicep.Core.UnitTests/Utils/SyntaxTreeGroupingFactory.cs similarity index 95% rename from src/Bicep.Core.UnitTests/Utils/SyntaxFactory.cs rename to src/Bicep.Core.UnitTests/Utils/SyntaxTreeGroupingFactory.cs index 3d75422119e..4529a694496 100644 --- a/src/Bicep.Core.UnitTests/Utils/SyntaxFactory.cs +++ b/src/Bicep.Core.UnitTests/Utils/SyntaxTreeGroupingFactory.cs @@ -9,7 +9,7 @@ namespace Bicep.Core.UnitTests.Utils { - public static class SyntaxFactory + public static class SyntaxTreeGroupingFactory { public static SyntaxTreeGrouping CreateFromText(string text) { diff --git a/src/Bicep.Core/Diagnostics/DiagnosticBuilder.cs b/src/Bicep.Core/Diagnostics/DiagnosticBuilder.cs index 8564bb0fcaf..598f031b50e 100644 --- a/src/Bicep.Core/Diagnostics/DiagnosticBuilder.cs +++ b/src/Bicep.Core/Diagnostics/DiagnosticBuilder.cs @@ -702,6 +702,7 @@ public Diagnostic RuntimePropertyNotAllowed(string property, IEnumerable $"The property \"{property}\" must be evaluable at the start of the deployment, and cannot depend on any values that have not yet been calculated. {variableDependencyChainClause}Accessible properties of {accessedSymbol} are {ToQuotedString(usableProperties.OrderBy(s => s))}." ); } + public ErrorDiagnostic ResourceMultipleDeclarations(IEnumerable resourceNames) => new( TextSpan, "BCP121", @@ -711,6 +712,56 @@ public Diagnostic RuntimePropertyNotAllowed(string property, IEnumerable TextSpan, "BCP122", $"Modules: {ToQuotedString(moduleNames)} are defined with this same name and this same scope in a file. Rename them or split into different modules."); + + public ErrorDiagnostic ExpectedNamespaceOrDecoratorName() => new ErrorDiagnostic( + TextSpan, + "BCP123", + "Expected a namespace or decorator name at this location."); + + public ErrorDiagnostic CannotAttacheDecoratorToTarget(string decoratorName, TypeSymbol attachableType, TypeSymbol targetType) => new ErrorDiagnostic( + TextSpan, + "BCP124", + $"The decorator \"{decoratorName}\" can only be attached to targets of type \"{attachableType}\", but the target has type \"{targetType}\"."); + + public ErrorDiagnostic CannotUseFunctionAsParameterDecorator(string functionName) => new ErrorDiagnostic( + TextSpan, + "BCP125", + $"Function \"{functionName}\" cannot be used as a parameter decorator."); + + public ErrorDiagnostic CannotUseFunctionAsVariableDecorator(string functionName) => new ErrorDiagnostic( + TextSpan, + "BCP126", + $"Function \"{functionName}\" cannot be used as a variable decorator."); + + public ErrorDiagnostic CannotUseFunctionAsResourceDecorator(string functionName) => new ErrorDiagnostic( + TextSpan, + "BCP127", + $"Function \"{functionName}\" cannot be used as a resource decorator."); + + public ErrorDiagnostic CannotUseFunctionAsModuleDecorator(string functionName) => new ErrorDiagnostic( + TextSpan, + "BCP128", + $"Function \"{functionName}\" cannot be used as a module decorator."); + + public ErrorDiagnostic CannotUseFunctionAsOuputDecorator(string functionName) => new ErrorDiagnostic( + TextSpan, + "BCP129", + $"Function \"{functionName}\" cannot be used as an output decorator."); + + public ErrorDiagnostic DecoratorsNotAllowed() => new ErrorDiagnostic( + TextSpan, + "BCP130", + "Decorators are not allowed here."); + + public ErrorDiagnostic CannotUseParameterDecoratorsAndModifiersTogether() => new ErrorDiagnostic( + TextSpan, + "BCP131", + "Parameter modifiers and decorators cannot be used together. Please use decorators only."); + + public ErrorDiagnostic ExpectDeclarationAfterDecorator() => new ErrorDiagnostic( + TextSpan, + "BCP132", + "Expected a declaration after the decorator."); } public static DiagnosticBuilderInternal ForPosition(TextSpan span) diff --git a/src/Bicep.Core/Emit/TemplateWriter.cs b/src/Bicep.Core/Emit/TemplateWriter.cs index 2080cd03906..9b7dbdee4d4 100644 --- a/src/Bicep.Core/Emit/TemplateWriter.cs +++ b/src/Bicep.Core/Emit/TemplateWriter.cs @@ -137,35 +137,77 @@ private void EmitParameter(ParameterSymbol parameterSymbol) writer.WriteStartObject(); - switch (parameterSymbol.Modifier) - { - case null: - this.emitter.EmitProperty("type", GetTemplateTypeName(primitiveType, secure: false)); - - break; - - case ParameterDefaultValueSyntax defaultValueSyntax: - this.emitter.EmitProperty("type", GetTemplateTypeName(primitiveType, secure: false)); - this.emitter.EmitProperty("defaultValue", defaultValueSyntax.DefaultValue); - - break; - - case ObjectSyntax modifierSyntax: - // this would throw on duplicate properties in the object node - we are relying on emitter checking for errors at the beginning - var properties = modifierSyntax.ToKnownPropertyValueDictionary(); - - this.emitter.EmitProperty("type", GetTemplateTypeName(primitiveType, IsSecure(properties.TryGetValue("secure")))); - - // relying on validation here as well (not all of the properties are valid in all contexts) - foreach (string modifierPropertyName in ParameterModifierPropertiesToEmitDirectly) - { - this.emitter.EmitOptionalPropertyExpression(modifierPropertyName, properties.TryGetValue(modifierPropertyName)); - } - - this.emitter.EmitOptionalPropertyExpression("defaultValue", properties.TryGetValue(LanguageConstants.ParameterDefaultPropertyName)); - this.emitter.EmitOptionalPropertyExpression("allowedValues", properties.TryGetValue(LanguageConstants.ParameterAllowedPropertyName)); - - break; + if (parameterSymbol.DeclaringParameter.Decorators.Any()) + { + var parameterType = SyntaxFactory.CreateStringLiteral(primitiveType.Name); + var parameterObject = SyntaxFactory.CreateObject(SyntaxFactory.CreateObjectProperty("type", parameterType).AsEnumerable()); + + if (parameterSymbol.Modifier is ParameterDefaultValueSyntax defaultValueSyntax) + { + parameterObject.MergeProperty("defaultValue", defaultValueSyntax.DefaultValue); + } + + foreach (var decoratorSyntax in parameterSymbol.DeclaringParameter.Decorators.Reverse()) + { + + var symbol = this.context.SemanticModel.GetSymbolInfo(decoratorSyntax.Expression); + + if (symbol is FunctionSymbol decoratorSymbol) + { + var argumentTypes = decoratorSyntax.Arguments + .Select(argument => this.context.SemanticModel.TypeManager.GetTypeInfo(argument)) + .ToArray(); + + // There should be exact one matching decorator since there's no errors. + Decorator decorator = this.context.SemanticModel.Root.ImportedNamespaces + .SelectMany(ns => ns.Value.Type.DecoratorResolver.GetMatches(decoratorSymbol, argumentTypes)) + .Single(); + + parameterObject = decorator.Evaluate(decoratorSyntax, primitiveType, parameterObject); + } + } + + foreach (var property in parameterObject.Properties) + { + if (property.TryGetKeyText() is string propertyName) + { + this.emitter.EmitProperty(propertyName, property.Value); + } + } + } + else + { + // TODO: remove this before the 0.3 release. + switch (parameterSymbol.Modifier) + { + case null: + this.emitter.EmitProperty("type", GetTemplateTypeName(primitiveType, secure: false)); + + break; + + case ParameterDefaultValueSyntax defaultValueSyntax: + this.emitter.EmitProperty("type", GetTemplateTypeName(primitiveType, secure: false)); + this.emitter.EmitProperty("defaultValue", defaultValueSyntax.DefaultValue); + + break; + + case ObjectSyntax modifierSyntax: + // this would throw on duplicate properties in the object node - we are relying on emitter checking for errors at the beginning + var properties = modifierSyntax.ToKnownPropertyValueDictionary(); + + this.emitter.EmitProperty("type", GetTemplateTypeName(primitiveType, IsSecure(properties.TryGetValue("secure")))); + + // relying on validation here as well (not all of the properties are valid in all contexts) + foreach (string modifierPropertyName in ParameterModifierPropertiesToEmitDirectly) + { + this.emitter.EmitOptionalPropertyExpression(modifierPropertyName, properties.TryGetValue(modifierPropertyName)); + } + + this.emitter.EmitOptionalPropertyExpression("defaultValue", properties.TryGetValue(LanguageConstants.ParameterDefaultPropertyName)); + this.emitter.EmitOptionalPropertyExpression("allowedValues", properties.TryGetValue(LanguageConstants.ParameterAllowedPropertyName)); + + break; + } } writer.WriteEndObject(); diff --git a/src/Bicep.Core/Extensions/FunctionFlagsExtensions.cs b/src/Bicep.Core/Extensions/FunctionFlagsExtensions.cs new file mode 100644 index 00000000000..076e1083b10 --- /dev/null +++ b/src/Bicep.Core/Extensions/FunctionFlagsExtensions.cs @@ -0,0 +1,18 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +using Bicep.Core.TypeSystem; + +namespace Bicep.Core.Extensions +{ + public static class FunctionFlagsExtensions + { + private const FunctionFlags DecoratorFlags = + FunctionFlags.ParameterDecorator | + FunctionFlags.VariableDecorator | + FunctionFlags.ResoureDecorator | + FunctionFlags.ModuleDecorator | + FunctionFlags.OutputDecorator; + + public static bool HasDecoratorFlag(this FunctionFlags functionFlags) => (functionFlags & DecoratorFlags) != 0; + } +} diff --git a/src/Bicep.Core/Parsing/Lexer.cs b/src/Bicep.Core/Parsing/Lexer.cs index d9336545837..627142ab2ae 100644 --- a/src/Bicep.Core/Parsing/Lexer.cs +++ b/src/Bicep.Core/Parsing/Lexer.cs @@ -509,6 +509,8 @@ private TokenType ScanToken() return TokenType.LeftSquare; case ']': return TokenType.RightSquare; + case '@': + return TokenType.At; case ',': return TokenType.Comma; case '.': diff --git a/src/Bicep.Core/Parsing/Parser.cs b/src/Bicep.Core/Parsing/Parser.cs index 937b0283153..151c71aae3e 100644 --- a/src/Bicep.Core/Parsing/Parser.cs +++ b/src/Bicep.Core/Parsing/Parser.cs @@ -51,6 +51,23 @@ public ProgramSyntax Program() declarationsOrTokens.Add(newLine); } } + + if (this.IsAtEnd() && + declarationOrToken is MissingDeclarationSyntax missingDeclaration && + !missingDeclaration.HasParseErrors()) + { + // If there are dangling decorators and we hit EOF, ask users to add a declration. + // Set the span of the diagnostic so that it's on the line below the last decorator. + var lastNewLine = missingDeclaration.LeadingNodes.Last(node => node is Token { Type: TokenType.NewLine }); + var diagnosticSpan = new TextSpan(lastNewLine.Span.Position + 2, 0); + + var skippedTriviaSyntax = new SkippedTriviaSyntax( + reader.Peek().Span, + Enumerable.Empty(), + DiagnosticBuilder.ForPosition(diagnosticSpan).ExpectDeclarationAfterDecorator().AsEnumerable()); + + declarationsOrTokens.Add(skippedTriviaSyntax); + } } var endOfFile = reader.Read(); @@ -62,23 +79,45 @@ public SyntaxBase Declaration() => this.WithRecovery( () => { - var current = reader.Peek(); + List leadingNodes = new(); + + // Parse decorators before the declaration. + while (this.Check(TokenType.At)) + { + leadingNodes.Add(this.Decorator()); + + // A decorators must followed by a newline. + leadingNodes.Add(this.WithRecovery(this.NewLine, RecoveryFlags.ConsumeTerminator, TokenType.NewLine)); + } + + if (leadingNodes.Count > 0 && this.Check(TokenType.NewLine)) + { + // In case there are skipped trivial syntaxes after a decorator, we need to consume + // all the newlines after them. + leadingNodes.Add(this.NewLine()); + } + + Token current = reader.Peek(); return current.Type switch { TokenType.Identifier => current.Text switch { - LanguageConstants.TargetScopeKeyword => this.TargetScope(), - LanguageConstants.ParameterKeyword => this.ParameterDeclaration(), - LanguageConstants.VariableKeyword => this.VariableDeclaration(), - LanguageConstants.ResourceKeyword => this.ResourceDeclaration(), - LanguageConstants.OutputKeyword => this.OutputDeclaration(), - LanguageConstants.ModuleKeyword => this.ModuleDeclaration(), - _ => throw new ExpectedTokenException(current, b => b.UnrecognizedDeclaration()), + LanguageConstants.TargetScopeKeyword => this.TargetScope(leadingNodes), + LanguageConstants.ParameterKeyword => this.ParameterDeclaration(leadingNodes), + LanguageConstants.VariableKeyword => this.VariableDeclaration(leadingNodes), + LanguageConstants.ResourceKeyword => this.ResourceDeclaration(leadingNodes), + LanguageConstants.OutputKeyword => this.OutputDeclaration(leadingNodes), + LanguageConstants.ModuleKeyword => this.ModuleDeclaration(leadingNodes), + _ => leadingNodes.Count > 0 + ? new MissingDeclarationSyntax(leadingNodes) + : throw new ExpectedTokenException(current, b => b.UnrecognizedDeclaration()), }, TokenType.NewLine => this.NewLine(), - _ => throw new ExpectedTokenException(current, b => b.UnrecognizedDeclaration()), + _ => leadingNodes.Count > 0 + ? new MissingDeclarationSyntax(leadingNodes) + : throw new ExpectedTokenException(current, b => b.UnrecognizedDeclaration()), }; }, RecoveryFlags.None, @@ -108,16 +147,71 @@ private static RecoveryFlags GetSuppressionFlag(SyntaxBase precedingNode) } } - private SyntaxBase TargetScope() + private SyntaxBase TargetScope(IEnumerable leadingNodes) { var keyword = ExpectKeyword(LanguageConstants.TargetScopeKeyword); var assignment = this.WithRecovery(this.Assignment, RecoveryFlags.None, TokenType.NewLine); var value = this.WithRecovery(() => this.Expression(allowComplexLiterals: true), RecoveryFlags.None, TokenType.NewLine); - return new TargetScopeSyntax(keyword, assignment, value); + return new TargetScopeSyntax(leadingNodes, keyword, assignment, value); + } + + private SyntaxBase Decorator() + { + Token at = this.Expect(TokenType.At, b => b.ExpectedCharacter("@")); + SyntaxBase expression = this.WithRecovery(() => + { + SyntaxBase current; + IdentifierSyntax identifier = this.Identifier(b => b.ExpectedNamespaceOrDecoratorName()); + + if (Check(TokenType.LeftParen)) + { + var functionCall = FunctionCallAccess(identifier, true); + + current = new FunctionCallSyntax( + functionCall.Identifier, + functionCall.OpenParen, + functionCall.ArgumentNodes, + functionCall.CloseParen); + } + else + { + current = new VariableAccessSyntax(identifier); + } + + + while (this.Check(TokenType.Dot)) + { + Token dot = this.reader.Read(); + identifier = this.IdentifierOrSkip(b => b.ExpectedFunctionOrPropertyName()); + + if (Check(TokenType.LeftParen)) + { + var functionCall = FunctionCallAccess(identifier, true); + + current = new InstanceFunctionCallSyntax( + current, + dot, + functionCall.Identifier, + functionCall.OpenParen, + functionCall.ArgumentNodes, + functionCall.CloseParen); + } + else + { + current = new PropertyAccessSyntax(current, dot, identifier); + } + } + + return current; + }, + RecoveryFlags.None, + TokenType.NewLine); + + return new DecoratorSyntax(at, expression); } - private SyntaxBase ParameterDeclaration() + private SyntaxBase ParameterDeclaration(IEnumerable leadingNodes) { var keyword = ExpectKeyword(LanguageConstants.ParameterKeyword); var name = this.IdentifierWithRecovery(b => b.ExpectedParameterIdentifier(), TokenType.Identifier, TokenType.NewLine); @@ -146,7 +240,7 @@ private SyntaxBase ParameterDeclaration() GetSuppressionFlag(type), TokenType.NewLine); - return new ParameterDeclarationSyntax(keyword, name, type, modifier); + return new ParameterDeclarationSyntax(leadingNodes, keyword, name, type, modifier); } private SyntaxBase ParameterDefaultValue() @@ -157,17 +251,17 @@ private SyntaxBase ParameterDefaultValue() return new ParameterDefaultValueSyntax(assignmentToken, defaultValue); } - private SyntaxBase VariableDeclaration() + private SyntaxBase VariableDeclaration(IEnumerable leadingNodes) { var keyword = ExpectKeyword(LanguageConstants.VariableKeyword); var name = this.IdentifierWithRecovery(b => b.ExpectedVariableIdentifier(), TokenType.Assignment, TokenType.NewLine); var assignment = this.WithRecovery(this.Assignment, GetSuppressionFlag(name), TokenType.NewLine); var value = this.WithRecovery(() => this.Expression(allowComplexLiterals: true), GetSuppressionFlag(assignment), TokenType.NewLine); - return new VariableDeclarationSyntax(keyword, name, assignment, value); + return new VariableDeclarationSyntax(leadingNodes, keyword, name, assignment, value); } - private SyntaxBase OutputDeclaration() + private SyntaxBase OutputDeclaration(IEnumerable leadingNodes) { var keyword = ExpectKeyword(LanguageConstants.OutputKeyword); var name = this.IdentifierWithRecovery(b => b.ExpectedOutputIdentifier(), TokenType.Identifier, TokenType.NewLine); @@ -175,10 +269,10 @@ private SyntaxBase OutputDeclaration() var assignment = this.WithRecovery(this.Assignment, GetSuppressionFlag(type), TokenType.NewLine); var value = this.WithRecovery(() => this.Expression(allowComplexLiterals: true), GetSuppressionFlag(assignment), TokenType.NewLine); - return new OutputDeclarationSyntax(keyword, name, type, assignment, value); + return new OutputDeclarationSyntax(leadingNodes, keyword, name, type, assignment, value); } - private SyntaxBase ResourceDeclaration() + private SyntaxBase ResourceDeclaration(IEnumerable leadingNodes) { var keyword = ExpectKeyword(LanguageConstants.ResourceKeyword); var name = this.IdentifierWithRecovery(b => b.ExpectedResourceIdentifier(), TokenType.StringComplete, TokenType.StringLeftPiece, TokenType.NewLine); @@ -211,10 +305,10 @@ private SyntaxBase ResourceDeclaration() var body = this.WithRecovery(this.Object, suppressionFlag, TokenType.NewLine); - return new ResourceDeclarationSyntax(keyword, name, type, assignment, ifCondition, body); + return new ResourceDeclarationSyntax(leadingNodes, keyword, name, type, assignment, ifCondition, body); } - private SyntaxBase ModuleDeclaration() + private SyntaxBase ModuleDeclaration(IEnumerable leadingNodes) { var keyword = ExpectKeyword(LanguageConstants.ModuleKeyword); var name = this.IdentifierWithRecovery(b => b.ExpectedModuleIdentifier(), TokenType.StringComplete, TokenType.StringLeftPiece, TokenType.NewLine); @@ -246,7 +340,7 @@ private SyntaxBase ModuleDeclaration() var body = this.WithRecovery(this.Object, suppressionFlag, TokenType.NewLine); - return new ModuleDeclarationSyntax(keyword, name, path, assignment, ifCondition, body); + return new ModuleDeclarationSyntax(leadingNodes, keyword, name, path, assignment, ifCondition, body); } private Token? NewLineOrEof() diff --git a/src/Bicep.Core/Parsing/TokenType.cs b/src/Bicep.Core/Parsing/TokenType.cs index 83fb6771c88..231d8a7023d 100644 --- a/src/Bicep.Core/Parsing/TokenType.cs +++ b/src/Bicep.Core/Parsing/TokenType.cs @@ -4,6 +4,7 @@ namespace Bicep.Core.Parsing { public enum TokenType { + At, Unrecognized, LeftBrace, RightBrace, diff --git a/src/Bicep.Core/PrettyPrint/DocumentBuildVisitor.cs b/src/Bicep.Core/PrettyPrint/DocumentBuildVisitor.cs index b1cbb1e0042..879dc469710 100644 --- a/src/Bicep.Core/PrettyPrint/DocumentBuildVisitor.cs +++ b/src/Bicep.Core/PrettyPrint/DocumentBuildVisitor.cs @@ -64,23 +64,78 @@ public override void VisitProgramSyntax(ProgramSyntax syntax) => this.Visit(syntax.EndOfFile); }); + public override void VisitDecoratorSyntax(DecoratorSyntax syntax) => + this.BuildWithConcat(() => base.VisitDecoratorSyntax(syntax)); + public override void VisitTargetScopeSyntax(TargetScopeSyntax syntax) => - this.BuildStatement(syntax, () => base.VisitTargetScopeSyntax(syntax)); + this.BuildStatement(syntax, () => + { + this.VisitNodes(syntax.LeadingNodes); + this.Visit(syntax.Keyword); + this.documentStack.Push(Nil); + this.Visit(syntax.Assignment); + this.Visit(syntax.Value); + }); public override void VisitParameterDeclarationSyntax(ParameterDeclarationSyntax syntax) => - this.BuildStatement(syntax, () => base.VisitParameterDeclarationSyntax(syntax)); + this.BuildStatement(syntax, () => + { + this.VisitNodes(syntax.LeadingNodes); + this.Visit(syntax.Keyword); + this.documentStack.Push(Nil); + this.Visit(syntax.Name); + this.Visit(syntax.Type); + this.Visit(syntax.Modifier); + }); public override void VisitVariableDeclarationSyntax(VariableDeclarationSyntax syntax) => - this.BuildStatement(syntax, () => base.VisitVariableDeclarationSyntax(syntax)); + this.BuildStatement(syntax, () => + { + this.VisitNodes(syntax.LeadingNodes); + this.Visit(syntax.Keyword); + this.documentStack.Push(Nil); + this.Visit(syntax.Name); + this.Visit(syntax.Assignment); + this.Visit(syntax.Value); + }); public override void VisitResourceDeclarationSyntax(ResourceDeclarationSyntax syntax) => - this.BuildStatement(syntax, () => base.VisitResourceDeclarationSyntax(syntax)); + this.BuildStatement(syntax, () => + { + this.VisitNodes(syntax.LeadingNodes); + this.Visit(syntax.Keyword); + this.documentStack.Push(Nil); + this.Visit(syntax.Name); + this.Visit(syntax.Type); + this.Visit(syntax.Assignment); + this.Visit(syntax.IfCondition); + this.Visit(syntax.Body); + }); public override void VisitModuleDeclarationSyntax(ModuleDeclarationSyntax syntax) => - this.BuildStatement(syntax, () => base.VisitModuleDeclarationSyntax(syntax)); + this.BuildStatement(syntax, () => + { + this.VisitNodes(syntax.LeadingNodes); + this.Visit(syntax.Keyword); + this.documentStack.Push(Nil); + this.Visit(syntax.Name); + this.Visit(syntax.Path); + this.Visit(syntax.Assignment); + this.Visit(syntax.IfCondition); + this.Visit(syntax.Body); + }); public override void VisitOutputDeclarationSyntax(OutputDeclarationSyntax syntax) => - this.BuildStatement(syntax, () => base.VisitOutputDeclarationSyntax(syntax)); + this.BuildStatement(syntax, () => + { + this.VisitNodes(syntax.LeadingNodes); + this.Visit(syntax.Keyword); + this.documentStack.Push(Nil); + this.Visit(syntax.Name); + this.Visit(syntax.Type); + this.Visit(syntax.Assignment); + this.Visit(syntax.Value); + }); public override void VisitTernaryOperationSyntax(TernaryOperationSyntax syntax) => this.BuildWithSpread(() => base.VisitTernaryOperationSyntax(syntax)); @@ -296,7 +351,16 @@ private void BuildStatement(SyntaxBase syntax, Action visitAction) return; } - this.BuildWithSpread(visitAction); + this.Build(visitAction, children => + { + var splitIndex = Array.IndexOf(children, Nil); + + // Need to concat leading decorators and newlines with the statment keyword. + var head = Concat(children.Take(splitIndex)); + var tail = children.Skip(splitIndex + 1); + + return Spread(head.AsEnumerable().Concat(tail)); + }); } private void Build(Action visitAction, Func buildFunc) diff --git a/src/Bicep.Core/Semantics/Decorator.cs b/src/Bicep.Core/Semantics/Decorator.cs new file mode 100644 index 00000000000..cfa90ba3752 --- /dev/null +++ b/src/Bicep.Core/Semantics/Decorator.cs @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +using Bicep.Core.Diagnostics; +using Bicep.Core.Syntax; +using Bicep.Core.TypeSystem; + +namespace Bicep.Core.Semantics +{ + public delegate void DecoratorValidator( + string decoratorName, + DecoratorSyntax decoratorSyntax, + TypeSymbol targetType, + ITypeManager typeManager, + IDiagnosticWriter diagnosticWriter); + + public delegate ObjectSyntax? DecoratorEvaluator( + DecoratorSyntax decoratorSyntax, + TypeSymbol targetType, + ObjectSyntax? targetObject); + + public class Decorator + { + private readonly DecoratorValidator? validator; + + private readonly DecoratorEvaluator? evaluator; + + public Decorator(FunctionOverload overload, DecoratorValidator? validator, DecoratorEvaluator? evaluator) + { + this.Overload = overload; + this.validator = validator; + this.evaluator = evaluator; + } + + public FunctionOverload Overload { get; } + + public void Validate(DecoratorSyntax decoratorSyntax, TypeSymbol targetType, ITypeManager typeManager, IDiagnosticWriter diagnosticWriter) + { + if (targetType is ErrorType) + { + return; + } + + this.validator?.Invoke(this.Overload.Name, decoratorSyntax, targetType, typeManager, diagnosticWriter); + } + + public ObjectSyntax? Evaluate(DecoratorSyntax decoratorSyntax, TypeSymbol targetType, ObjectSyntax? targetObject) + { + if (this.evaluator is null) + { + return targetObject; + } + + return this.evaluator(decoratorSyntax, targetType, targetObject); + } + } +} diff --git a/src/Bicep.Core/Semantics/DecoratorBuilder.cs b/src/Bicep.Core/Semantics/DecoratorBuilder.cs new file mode 100644 index 00000000000..50330e2140f --- /dev/null +++ b/src/Bicep.Core/Semantics/DecoratorBuilder.cs @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +using Bicep.Core.TypeSystem; + +namespace Bicep.Core.Semantics +{ + public class DecoratorBuilder + { + private readonly FunctionOverloadBuilder functionOverloadBuilder; + + private DecoratorValidator? validator; + + private DecoratorEvaluator? evaluator; + + public DecoratorBuilder(string name) + { + this.functionOverloadBuilder = new FunctionOverloadBuilder(name); + } + + public DecoratorBuilder WithDescription(string description) + { + this.functionOverloadBuilder.WithDescription(description); + + return this; + } + + public DecoratorBuilder WithRequiredParameter(string name, TypeSymbol type, string description) + { + this.functionOverloadBuilder.WithRequiredParameter(name, type, description); + + return this; + } + + public DecoratorBuilder WithOptionalParameter(string name, TypeSymbol type, string description) + { + this.functionOverloadBuilder.WithOptionalParameter(name, type, description); + + return this; + } + + public DecoratorBuilder WithVariableParameter(string namePrefix, TypeSymbol type, int minimumCount, string description) + { + this.functionOverloadBuilder.WithVariableParameter(namePrefix, type, minimumCount, description); + + return this; + } + + public DecoratorBuilder WithFlags(FunctionFlags flags) + { + this.functionOverloadBuilder.WithFlags(flags); + + return this; + } + + public DecoratorBuilder WithValidator(DecoratorValidator validator) + { + this.validator = validator; + + return this; + } + + public DecoratorBuilder WithEvaluator(DecoratorEvaluator evaluator) + { + this.evaluator = evaluator; + + return this; + } + + public Decorator Build() => new Decorator(this.functionOverloadBuilder.Build(), this.validator, this.evaluator); + } +} diff --git a/src/Bicep.Core/Semantics/NameBindingVisitor.cs b/src/Bicep.Core/Semantics/NameBindingVisitor.cs index 4ce6b522680..9b4c65b0bf4 100644 --- a/src/Bicep.Core/Semantics/NameBindingVisitor.cs +++ b/src/Bicep.Core/Semantics/NameBindingVisitor.cs @@ -5,6 +5,7 @@ using System.Collections.Immutable; using System.Linq; using Bicep.Core.Diagnostics; +using Bicep.Core.Extensions; using Bicep.Core.Syntax; using Bicep.Core.TypeSystem; @@ -52,6 +53,8 @@ public override void VisitVariableAccessSyntax(VariableAccessSyntax syntax) public override void VisitResourceDeclarationSyntax(ResourceDeclarationSyntax syntax) { + allowedFlags = FunctionFlags.ResoureDecorator; + this.VisitNodes(syntax.LeadingNodes); this.Visit(syntax.Keyword); this.Visit(syntax.Name); this.Visit(syntax.Type); @@ -65,6 +68,8 @@ public override void VisitResourceDeclarationSyntax(ResourceDeclarationSyntax sy public override void VisitModuleDeclarationSyntax(ModuleDeclarationSyntax syntax) { + allowedFlags = FunctionFlags.ModuleDecorator; + this.VisitNodes(syntax.LeadingNodes); this.Visit(syntax.Keyword); this.Visit(syntax.Name); this.Visit(syntax.Path); @@ -78,28 +83,50 @@ public override void VisitModuleDeclarationSyntax(ModuleDeclarationSyntax syntax public override void VisitVariableDeclarationSyntax(VariableDeclarationSyntax syntax) { + allowedFlags = FunctionFlags.VariableDecorator; + this.VisitNodes(syntax.LeadingNodes); + this.Visit(syntax.Keyword); + this.Visit(syntax.Name); + this.Visit(syntax.Assignment); allowedFlags = FunctionFlags.RequiresInlining; - base.VisitVariableDeclarationSyntax(syntax); + this.Visit(syntax.Value); allowedFlags = FunctionFlags.Default; } public override void VisitOutputDeclarationSyntax(OutputDeclarationSyntax syntax) { + allowedFlags = FunctionFlags.OutputDecorator; + this.VisitNodes(syntax.LeadingNodes); + this.Visit(syntax.Keyword); + this.Visit(syntax.Name); + this.Visit(syntax.Type); + this.Visit(syntax.Assignment); allowedFlags = FunctionFlags.RequiresInlining; - base.VisitOutputDeclarationSyntax(syntax); + this.Visit(syntax.Value); allowedFlags = FunctionFlags.Default; } public override void VisitParameterDeclarationSyntax(ParameterDeclarationSyntax syntax) { + allowedFlags = FunctionFlags.ParameterDecorator; + this.VisitNodes(syntax.LeadingNodes); + this.Visit(syntax.Keyword); + this.Visit(syntax.Name); + this.Visit(syntax.Type); allowedFlags = FunctionFlags.ParamDefaultsOnly; - base.VisitParameterDeclarationSyntax(syntax); + this.Visit(syntax.Modifier); allowedFlags = FunctionFlags.Default; } public override void VisitFunctionCallSyntax(FunctionCallSyntax syntax) { - base.VisitFunctionCallSyntax(syntax); + FunctionFlags currentFlags = allowedFlags; + this.Visit(syntax.Name); + this.Visit(syntax.OpenParen); + allowedFlags = allowedFlags.HasDecoratorFlag() ? FunctionFlags.Default : allowedFlags; + this.VisitNodes(syntax.Arguments); + this.Visit(syntax.CloseParen); + allowedFlags = currentFlags; var symbol = this.LookupSymbolByName(syntax.Name, true); @@ -109,7 +136,15 @@ public override void VisitFunctionCallSyntax(FunctionCallSyntax syntax) public override void VisitInstanceFunctionCallSyntax(InstanceFunctionCallSyntax syntax) { - base.VisitInstanceFunctionCallSyntax(syntax); + FunctionFlags currentFlags = allowedFlags; + this.Visit(syntax.BaseExpression); + this.Visit(syntax.Dot); + this.Visit(syntax.Name); + this.Visit(syntax.OpenParen); + allowedFlags = allowedFlags.HasDecoratorFlag() ? FunctionFlags.Default : allowedFlags; + this.VisitNodes(syntax.Arguments); + this.Visit(syntax.CloseParen); + allowedFlags = currentFlags; if (!syntax.Name.IsValid) { @@ -122,7 +157,11 @@ public override void VisitInstanceFunctionCallSyntax(InstanceFunctionCallSyntax if (bindings.TryGetValue(syntax.BaseExpression, out var baseSymbol) && baseSymbol is NamespaceSymbol namespaceSymbol) { - var functionSymbol = namespaceSymbol.Type.MethodResolver.TryGetSymbol(syntax.Name); + var functionSymbol = allowedFlags.HasDecoratorFlag() + // Decorator functions are only valid when HasDecoratorFlag() is true which means + // the instance function call is the top level expression of a DecoratorSyntax node. + ? namespaceSymbol.Type.MethodResolver.TryGetSymbol(syntax.Name) ?? namespaceSymbol.Type.DecoratorResolver.TryGetSymbol(syntax.Name) + : namespaceSymbol.Type.MethodResolver.TryGetSymbol(syntax.Name); var foundSymbol = SymbolValidator.ResolveNamespaceQualifiedFunction(allowedFlags, functionSymbol, syntax.Name, namespaceSymbol); @@ -151,7 +190,9 @@ private Symbol LookupSymbolByName(IdentifierSyntax identifierSyntax, bool isFunc // attempt to find function in all imported namespaces var foundSymbols = this.namespaces - .Select(kvp => kvp.Value.Type.MethodResolver.TryGetSymbol(identifierSyntax)) + .Select(kvp => allowedFlags.HasDecoratorFlag() + ? kvp.Value.Type.MethodResolver.TryGetSymbol(identifierSyntax) ?? kvp.Value.Type.DecoratorResolver.TryGetSymbol(identifierSyntax) + : kvp.Value.Type.MethodResolver.TryGetSymbol(identifierSyntax)) .Where(symbol => symbol != null) .ToList(); diff --git a/src/Bicep.Core/Semantics/NamespaceSymbol.cs b/src/Bicep.Core/Semantics/NamespaceSymbol.cs index 732ec8c8759..b5eb564383a 100644 --- a/src/Bicep.Core/Semantics/NamespaceSymbol.cs +++ b/src/Bicep.Core/Semantics/NamespaceSymbol.cs @@ -8,11 +8,12 @@ namespace Bicep.Core.Semantics { public class NamespaceSymbol : Symbol { - public NamespaceSymbol(string name, IEnumerable functionOverloads, IEnumerable bannedFunctions) + public NamespaceSymbol(string name, IEnumerable functionOverloads, IEnumerable bannedFunctions, IEnumerable decorators) : base(name) { var methodResolver = new FunctionResolver(functionOverloads, bannedFunctions); - Type = new NamespaceType(name, Enumerable.Empty(), methodResolver); + var decoratorResolver = new DecoratorResolver(decorators); + Type = new NamespaceType(name, Enumerable.Empty(), methodResolver, decoratorResolver); } public NamespaceType Type { get; } diff --git a/src/Bicep.Core/Semantics/Namespaces/AzNamespaceSymbol.cs b/src/Bicep.Core/Semantics/Namespaces/AzNamespaceSymbol.cs index c958e4e8f31..24149c4f9a5 100644 --- a/src/Bicep.Core/Semantics/Namespaces/AzNamespaceSymbol.cs +++ b/src/Bicep.Core/Semantics/Namespaces/AzNamespaceSymbol.cs @@ -5,6 +5,7 @@ using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; +using Bicep.Core.Diagnostics; using Bicep.Core.Extensions; using Bicep.Core.Syntax; using Bicep.Core.TypeSystem; @@ -328,7 +329,7 @@ private static IEnumerable GetAzOverloads(ResourceScope resour } public AzNamespaceSymbol(ResourceScope resourceScope) - : base("az", GetAzOverloads(resourceScope), ImmutableArray.Empty) + : base("az", GetAzOverloads(resourceScope), ImmutableArray.Empty, ImmutableArray.Empty) { } } diff --git a/src/Bicep.Core/Semantics/Namespaces/SystemNamespaceSymbol.cs b/src/Bicep.Core/Semantics/Namespaces/SystemNamespaceSymbol.cs index d11c8ba9c47..fc563722d6c 100644 --- a/src/Bicep.Core/Semantics/Namespaces/SystemNamespaceSymbol.cs +++ b/src/Bicep.Core/Semantics/Namespaces/SystemNamespaceSymbol.cs @@ -1,7 +1,12 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +using System; +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; +using Bicep.Core.Diagnostics; +using Bicep.Core.Extensions; +using Bicep.Core.Syntax; using Bicep.Core.TypeSystem; namespace Bicep.Core.Semantics.Namespaces @@ -416,7 +421,121 @@ public class SystemNamespaceSymbol : NamespaceSymbol BannedFunction.CreateForOperator("or", "||") }.ToImmutableArray(); - public SystemNamespaceSymbol() : base("sys", SystemOverloads, BannedFunctions) + private static IEnumerable GetSystemDecorators() + { + static DecoratorValidator ValidateTargetType(TypeSymbol attachableType) => + (decoratorName, decoratorSyntax, targetType, _, diagnosticWriter) => + { + if (!TypeValidator.AreTypesAssignable(targetType, attachableType)) + { + diagnosticWriter.Write(DiagnosticBuilder.ForPosition(decoratorSyntax).CannotAttacheDecoratorToTarget(decoratorName, attachableType, targetType)); + } + }; + + static DecoratorEvaluator MergeToTargetObject(string propertyName, Func propertyValueSelector) => + (decoratorSyntax, _, targetObject) => + targetObject.MergeProperty(propertyName, propertyValueSelector(decoratorSyntax)); + + static SyntaxBase SingleArgumentSelector(DecoratorSyntax decoratorSyntax) => decoratorSyntax.Arguments.Single().Expression; + + yield return new DecoratorBuilder("secure") + .WithDescription("Makes the parameter a secure parameter.") + .WithFlags(FunctionFlags.ParameterDecorator) + .WithValidator(ValidateTargetType(UnionType.Create(LanguageConstants.String, LanguageConstants.Object))) + .WithEvaluator((_, targetType, targetObject) => + { + if (ReferenceEquals(targetType, LanguageConstants.String)) + { + return targetObject.MergeProperty("type", "secureString"); + } + + if (ReferenceEquals(targetType, LanguageConstants.Object)) + { + return targetObject.MergeProperty("type", "secureObject"); + } + + return targetObject; + }) + .Build(); + + yield return new DecoratorBuilder("allowed") + .WithDescription("Defines the allowed values of the parameter.") + .WithRequiredParameter("values", LanguageConstants.Array, "The allowed values.") + .WithFlags(FunctionFlags.ParameterDecorator) + .WithValidator((_, decoratorSyntax, targetType, typeManager, diagnosticWriter) => + { + // The type checker should already verified that there's only one array argument. + var allowedValuesArray = (ArraySyntax)SingleArgumentSelector(decoratorSyntax); + + TypeValidator.NarrowTypeAndCollectDiagnostics( + typeManager, + allowedValuesArray, + new TypedArrayType(targetType, TypeSymbolValidationFlags.Default), + diagnosticWriter); + + if (!allowedValuesArray.Items.Any()) + { + diagnosticWriter.Write(DiagnosticBuilder.ForPosition(allowedValuesArray).AllowedMustContainItems()); + } + }) + .WithEvaluator(MergeToTargetObject("allowedValues", SingleArgumentSelector)) + .Build(); + + yield return new DecoratorBuilder("minValue") + .WithDescription("Defines the minimum value of the parameter.") + .WithRequiredParameter("value", LanguageConstants.Int, "The minimum value.") + .WithFlags(FunctionFlags.ParameterDecorator) + .WithValidator(ValidateTargetType(LanguageConstants.Int)) + .WithEvaluator(MergeToTargetObject("minValue", SingleArgumentSelector)) + .Build(); + + yield return new DecoratorBuilder("maxValue") + .WithDescription("Defines the maximum value of the parameter.") + .WithRequiredParameter("value", LanguageConstants.Int, "The maximum value.") + .WithFlags(FunctionFlags.ParameterDecorator) + .WithValidator(ValidateTargetType(LanguageConstants.Int)) + .WithEvaluator(MergeToTargetObject("maxValue", SingleArgumentSelector)) + .Build(); + + yield return new DecoratorBuilder("minLength") + .WithDescription("Defines the minimum length of the parameter.") + .WithRequiredParameter("length", LanguageConstants.Int, "The minimum length.") + .WithFlags(FunctionFlags.ParameterDecorator) + .WithValidator(ValidateTargetType(UnionType.Create(LanguageConstants.String, LanguageConstants.Array))) + .WithEvaluator(MergeToTargetObject("minLength", SingleArgumentSelector)) + .Build(); + + yield return new DecoratorBuilder("maxLength") + .WithDescription("Defines the maximum length of the parameter.") + .WithRequiredParameter("length", LanguageConstants.Int, "The maximum length.") + .WithFlags(FunctionFlags.ParameterDecorator) + .WithValidator(ValidateTargetType(UnionType.Create(LanguageConstants.String, LanguageConstants.Array))) + .WithEvaluator(MergeToTargetObject("maxLength", SingleArgumentSelector)) + .Build(); + + yield return new DecoratorBuilder("metadata") + .WithDescription("Defines metadata of the parameter.") + .WithRequiredParameter("object", LanguageConstants.Object, "The metadata object.") + .WithFlags(FunctionFlags.ParameterDecorator) + .WithValidator((_, decoratorSyntax, targetType, typeManager, diagnosticWriter) => + { + // The type checker should already verified that there's only one object argument. + var metadataObject = (ObjectSyntax)SingleArgumentSelector(decoratorSyntax); + TypeValidator.NarrowTypeAndCollectDiagnostics(typeManager, metadataObject, LanguageConstants.ParameterModifierMetadata, diagnosticWriter); + }) + .WithEvaluator(MergeToTargetObject("metadata", SingleArgumentSelector)) + .Build(); + + yield return new DecoratorBuilder("description") + .WithDescription("Describes the parameter.") + .WithRequiredParameter("text", LanguageConstants.String, "The description.") + .WithFlags(FunctionFlags.ParameterDecorator) + .WithEvaluator(MergeToTargetObject("metadata", decoratorSyntax => SyntaxFactory.CreateObject( + SyntaxFactory.CreateObjectProperty("description", SingleArgumentSelector(decoratorSyntax)).AsEnumerable()))) + .Build(); + } + + public SystemNamespaceSymbol() : base("sys", SystemOverloads, BannedFunctions, GetSystemDecorators()) { } } diff --git a/src/Bicep.Core/Semantics/SymbolValidator.cs b/src/Bicep.Core/Semantics/SymbolValidator.cs index 6c1e594b52e..b9e7b1e5de0 100644 --- a/src/Bicep.Core/Semantics/SymbolValidator.cs +++ b/src/Bicep.Core/Semantics/SymbolValidator.cs @@ -5,6 +5,7 @@ using System.Collections.Immutable; using System.Linq; using Bicep.Core.Diagnostics; +using Bicep.Core.Extensions; using Bicep.Core.Parsing; using Bicep.Core.Syntax; using Bicep.Core.Text; @@ -22,7 +23,14 @@ public static Symbol ResolveNamespaceQualifiedFunction(FunctionFlags allowedFlag allowedFlags, foundSymbol, identifierSyntax, - getNameSuggestions: () => namespaceSymbol.Type.MethodResolver.GetKnownFunctions().Keys, + getNameSuggestions: () => + { + var knowFunctionNames = namespaceSymbol.Type.MethodResolver.GetKnownFunctions().Keys; + + return allowedFlags.HasDecoratorFlag() + ? knowFunctionNames.Concat(namespaceSymbol.Type.DecoratorResolver.GetKnownDecoratorFunctions().Keys) + : knowFunctionNames; + }, getMissingNameError: (builder, suggestedName) => suggestedName switch { null => builder.FunctionDoesNotExistInNamespace(namespaceSymbol, identifierSyntax.IdentifierName), _ => builder.FunctionDoesNotExistInNamespaceWithSuggestion(namespaceSymbol, identifierSyntax.IdentifierName, suggestedName), @@ -44,7 +52,14 @@ public static Symbol ResolveUnqualifiedFunction(FunctionFlags allowedFlags, Symb allowedFlags, foundSymbol, identifierSyntax, - getNameSuggestions: () => namespaces.SelectMany(x => x.Type.MethodResolver.GetKnownFunctions().Keys), + getNameSuggestions: () => namespaces.SelectMany(x => + { + var knowFunctionNames = x.Type.MethodResolver.GetKnownFunctions().Keys; + + return allowedFlags.HasDecoratorFlag() + ? knowFunctionNames.Concat(x.Type.DecoratorResolver.GetKnownDecoratorFunctions().Keys) + : knowFunctionNames; + }), getMissingNameError: (builder, suggestedName) => suggestedName switch { null => builder.SymbolicNameDoesNotExist(identifierSyntax.IdentifierName), _ => builder.SymbolicNameDoesNotExistWithSuggestion(identifierSyntax.IdentifierName, suggestedName), @@ -94,6 +109,31 @@ private static Symbol ResolveFunctionFlags(FunctionFlags allowedFlags, FunctionS return new ErrorSymbol(DiagnosticBuilder.ForPosition(span).FunctionOnlyValidInResourceBody(functionSymbol.Name)); } + if (!functionFlags.HasFlag(FunctionFlags.ParameterDecorator) && allowedFlags.HasFlag(FunctionFlags.ParameterDecorator)) + { + return new ErrorSymbol(DiagnosticBuilder.ForPosition(span).CannotUseFunctionAsParameterDecorator(functionSymbol.Name)); + } + + if (!functionFlags.HasFlag(FunctionFlags.VariableDecorator) && allowedFlags.HasFlag(FunctionFlags.VariableDecorator)) + { + return new ErrorSymbol(DiagnosticBuilder.ForPosition(span).CannotUseFunctionAsVariableDecorator(functionSymbol.Name)); + } + + if (!functionFlags.HasFlag(FunctionFlags.ResoureDecorator) && allowedFlags.HasFlag(FunctionFlags.ResoureDecorator)) + { + return new ErrorSymbol(DiagnosticBuilder.ForPosition(span).CannotUseFunctionAsResourceDecorator(functionSymbol.Name)); + } + + if (!functionFlags.HasFlag(FunctionFlags.ModuleDecorator) && allowedFlags.HasFlag(FunctionFlags.ModuleDecorator)) + { + return new ErrorSymbol(DiagnosticBuilder.ForPosition(span).CannotUseFunctionAsModuleDecorator(functionSymbol.Name)); + } + + if (!functionFlags.HasFlag(FunctionFlags.OutputDecorator) && allowedFlags.HasFlag(FunctionFlags.OutputDecorator)) + { + return new ErrorSymbol(DiagnosticBuilder.ForPosition(span).CannotUseFunctionAsOuputDecorator(functionSymbol.Name)); + } + return functionSymbol; } } diff --git a/src/Bicep.Core/Syntax/DecoratorSyntax.cs b/src/Bicep.Core/Syntax/DecoratorSyntax.cs new file mode 100644 index 00000000000..a21e7999e6c --- /dev/null +++ b/src/Bicep.Core/Syntax/DecoratorSyntax.cs @@ -0,0 +1,39 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +using System.Collections.Generic; +using System.Linq; +using Bicep.Core.Parsing; + +namespace Bicep.Core.Syntax +{ + public class DecoratorSyntax : SyntaxBase + { + public DecoratorSyntax(Token at, SyntaxBase expression) + { + AssertTokenType(at, nameof(at), TokenType.At); + AssertSyntaxType( + expression, + nameof(expression), + typeof(SkippedTriviaSyntax), + typeof(VariableAccessSyntax), + typeof(PropertyAccessSyntax), + typeof(FunctionCallSyntax), + typeof(InstanceFunctionCallSyntax)); + + this.At = at; + this.Expression = expression; + } + + public Token At { get; } + + public SyntaxBase Expression { get; } + + public IEnumerable Arguments => this.Expression is FunctionCallSyntaxBase functionCall + ? functionCall.Arguments + : Enumerable.Empty(); + + public override TextSpan Span => TextSpan.Between(this.At, this.Expression); + + public override void Accept(ISyntaxVisitor visitor) => visitor.VisitDecoratorSyntax(this); + } +} diff --git a/src/Bicep.Core/Syntax/ISyntaxVisitor.cs b/src/Bicep.Core/Syntax/ISyntaxVisitor.cs index 2a12f4113ae..122e7abdbe2 100644 --- a/src/Bicep.Core/Syntax/ISyntaxVisitor.cs +++ b/src/Bicep.Core/Syntax/ISyntaxVisitor.cs @@ -69,5 +69,9 @@ public interface ISyntaxVisitor void VisitVariableDeclarationSyntax(VariableDeclarationSyntax syntax); void VisitIfConditionSyntax(IfConditionSyntax syntax); + + void VisitDecoratorSyntax(DecoratorSyntax syntax); + + void VisitMissingDeclarationSyntax(MissingDeclarationSyntax syntax); } } diff --git a/src/Bicep.Core/Syntax/MissingDeclarationSyntax.cs b/src/Bicep.Core/Syntax/MissingDeclarationSyntax.cs new file mode 100644 index 00000000000..bdbffa0f051 --- /dev/null +++ b/src/Bicep.Core/Syntax/MissingDeclarationSyntax.cs @@ -0,0 +1,23 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Linq; +using Bicep.Core.Diagnostics; +using Bicep.Core.Parsing; + +namespace Bicep.Core.Syntax +{ + public class MissingDeclarationSyntax : StatementSyntax + { + public MissingDeclarationSyntax(IEnumerable leadingNodes) + : base(leadingNodes) + { + Assert(leadingNodes.Any(), "Expect at least one leading node."); + } + + public override TextSpan Span => TextSpan.Between(this.LeadingNodes[0], this.LeadingNodes[^1]); + + public override void Accept(ISyntaxVisitor visitor) => visitor.VisitMissingDeclarationSyntax(this); + } +} diff --git a/src/Bicep.Core/Syntax/ModuleDeclarationSyntax.cs b/src/Bicep.Core/Syntax/ModuleDeclarationSyntax.cs index 7521098e059..fb5b73522f5 100644 --- a/src/Bicep.Core/Syntax/ModuleDeclarationSyntax.cs +++ b/src/Bicep.Core/Syntax/ModuleDeclarationSyntax.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. - using System.Collections.Generic; +using System.Linq; using Bicep.Core.Navigation; using Bicep.Core.Parsing; using Bicep.Core.Semantics; @@ -9,9 +9,10 @@ namespace Bicep.Core.Syntax { - public class ModuleDeclarationSyntax : SyntaxBase, INamedDeclarationSyntax + public class ModuleDeclarationSyntax : StatementSyntax, INamedDeclarationSyntax { - public ModuleDeclarationSyntax(Token keyword, IdentifierSyntax name, SyntaxBase path, SyntaxBase assignment, SyntaxBase? ifCondition, SyntaxBase body) + public ModuleDeclarationSyntax(IEnumerable leadingNodes, Token keyword, IdentifierSyntax name, SyntaxBase path, SyntaxBase assignment, SyntaxBase? ifCondition, SyntaxBase body) + : base(leadingNodes) { AssertKeyword(keyword, nameof(keyword), LanguageConstants.ModuleKeyword); AssertSyntaxType(name, nameof(name), typeof(IdentifierSyntax)); @@ -44,7 +45,7 @@ public ModuleDeclarationSyntax(Token keyword, IdentifierSyntax name, SyntaxBase public override void Accept(ISyntaxVisitor visitor) => visitor.VisitModuleDeclarationSyntax(this); - public override TextSpan Span => TextSpan.Between(Keyword, Body); + public override TextSpan Span => TextSpan.Between(this.LeadingNodes.FirstOrDefault() ?? this.Keyword, Body); public StringSyntax? TryGetPath() => Path as StringSyntax; diff --git a/src/Bicep.Core/Syntax/ObjectSyntaxExtensions.cs b/src/Bicep.Core/Syntax/ObjectSyntaxExtensions.cs index bcd473009a7..adf14a4a966 100644 --- a/src/Bicep.Core/Syntax/ObjectSyntaxExtensions.cs +++ b/src/Bicep.Core/Syntax/ObjectSyntaxExtensions.cs @@ -62,5 +62,58 @@ public static ImmutableDictionary ToNamedPropertyD return result; } + + public static ObjectSyntax MergeProperty(this ObjectSyntax? syntax, string propertyName, string propertyValue) => + syntax.MergeProperty(propertyName, SyntaxFactory.CreateStringLiteral(propertyValue)); + + public static ObjectSyntax MergeProperty(this ObjectSyntax? syntax, string propertyName, SyntaxBase propertyValue) + { + if (syntax == null) + { + return SyntaxFactory.CreateObject(SyntaxFactory.CreateObjectProperty(propertyName, propertyValue).AsEnumerable()); + } + + var properties = syntax.Properties.ToList(); + int matchingIndex = 0; + + while (matchingIndex < properties.Count) + { + if (string.Equals(properties[matchingIndex].TryGetKeyText(), propertyName, LanguageConstants.IdentifierComparison)) + { + break; + } + + matchingIndex++; + } + + if (matchingIndex < properties.Count) + { + // If both property values are objects, merge them. Otherwise, replace the matching property value. + SyntaxBase mergedValue = properties[matchingIndex].Value is ObjectSyntax sourceObject && propertyValue is ObjectSyntax targetObject + ? sourceObject.DeepMerge(targetObject) + : propertyValue; + + properties[matchingIndex] = SyntaxFactory.CreateObjectProperty(propertyName, mergedValue); + } + else + { + properties.Add(SyntaxFactory.CreateObjectProperty(propertyName, propertyValue)); + } + + return SyntaxFactory.CreateObject(properties); + } + + public static ObjectSyntax DeepMerge(this ObjectSyntax? sourceObject, ObjectSyntax targetObject) + { + if (sourceObject == null) + { + return targetObject; + } + + return targetObject.Properties.Aggregate(sourceObject, (mergedObject, property) => + property.TryGetKeyText() is string propertyName + ? mergedObject.MergeProperty(propertyName, property.Value) + : mergedObject); + } } } \ No newline at end of file diff --git a/src/Bicep.Core/Syntax/OutputDeclarationSyntax.cs b/src/Bicep.Core/Syntax/OutputDeclarationSyntax.cs index 41b94e130cb..c280e37f256 100644 --- a/src/Bicep.Core/Syntax/OutputDeclarationSyntax.cs +++ b/src/Bicep.Core/Syntax/OutputDeclarationSyntax.cs @@ -1,13 +1,17 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Linq; using Bicep.Core.Navigation; using Bicep.Core.Parsing; namespace Bicep.Core.Syntax { - public class OutputDeclarationSyntax : SyntaxBase, INamedDeclarationSyntax + public class OutputDeclarationSyntax : StatementSyntax, INamedDeclarationSyntax { - public OutputDeclarationSyntax(Token keyword, IdentifierSyntax name, SyntaxBase type, SyntaxBase assignment, SyntaxBase value) + public OutputDeclarationSyntax(IEnumerable leadingNodes, Token keyword, IdentifierSyntax name, SyntaxBase type, SyntaxBase assignment, SyntaxBase value) + : base(leadingNodes) { AssertKeyword(keyword, nameof(keyword), LanguageConstants.OutputKeyword); AssertSyntaxType(name, nameof(name), typeof(IdentifierSyntax), typeof(IdentifierSyntax)); @@ -34,8 +38,8 @@ public OutputDeclarationSyntax(Token keyword, IdentifierSyntax name, SyntaxBase public override void Accept(ISyntaxVisitor visitor) => visitor.VisitOutputDeclarationSyntax(this); - public override TextSpan Span => TextSpan.Between(Keyword, Value); + public override TextSpan Span => TextSpan.Between(this.LeadingNodes.FirstOrDefault() ?? this.Keyword, Value); - public TypeSyntax? OutputType => this.Type as TypeSyntax; + public TypeSyntax? OutputType => this.Type as TypeSyntax; } } diff --git a/src/Bicep.Core/Syntax/ParameterDeclarationSyntax.cs b/src/Bicep.Core/Syntax/ParameterDeclarationSyntax.cs index c74fbb46252..9a8a0dc5f9c 100644 --- a/src/Bicep.Core/Syntax/ParameterDeclarationSyntax.cs +++ b/src/Bicep.Core/Syntax/ParameterDeclarationSyntax.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +using System.Collections.Generic; +using System.Collections.Immutable; using System.Linq; using Bicep.Core.Diagnostics; using Bicep.Core.Navigation; @@ -10,9 +12,10 @@ namespace Bicep.Core.Syntax { - public class ParameterDeclarationSyntax : SyntaxBase, INamedDeclarationSyntax + public class ParameterDeclarationSyntax : StatementSyntax, INamedDeclarationSyntax { - public ParameterDeclarationSyntax(Token keyword, IdentifierSyntax name, SyntaxBase type, SyntaxBase? modifier) + public ParameterDeclarationSyntax(IEnumerable leadingNodes, Token keyword, IdentifierSyntax name, SyntaxBase type, SyntaxBase? modifier) + : base(leadingNodes) { AssertKeyword(keyword, nameof(keyword), LanguageConstants.ParameterKeyword); AssertSyntaxType(name, nameof(name), typeof(IdentifierSyntax)); @@ -37,7 +40,7 @@ public ParameterDeclarationSyntax(Token keyword, IdentifierSyntax name, SyntaxBa public override void Accept(ISyntaxVisitor visitor) => visitor.VisitParameterDeclarationSyntax(this); - public override TextSpan Span => TextSpan.Between(this.Keyword, TextSpan.LastNonNull(Type, Modifier)); + public override TextSpan Span => TextSpan.Between(this.LeadingNodes.FirstOrDefault() ?? this.Keyword, TextSpan.LastNonNull(Type, Modifier)); /// /// Gets the declared type syntax of this parameter declaration. Certain parse errors will cause it to be null. diff --git a/src/Bicep.Core/Syntax/ResourceDeclarationSyntax.cs b/src/Bicep.Core/Syntax/ResourceDeclarationSyntax.cs index b5da6dfa145..e8d5f5e71fa 100644 --- a/src/Bicep.Core/Syntax/ResourceDeclarationSyntax.cs +++ b/src/Bicep.Core/Syntax/ResourceDeclarationSyntax.cs @@ -1,18 +1,21 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Linq; using Bicep.Core.Diagnostics; using Bicep.Core.Navigation; using Bicep.Core.Parsing; using Bicep.Core.Resources; -using Bicep.Core.Semantics; using Bicep.Core.TypeSystem; namespace Bicep.Core.Syntax { - public class ResourceDeclarationSyntax : SyntaxBase, INamedDeclarationSyntax + public class ResourceDeclarationSyntax : StatementSyntax, INamedDeclarationSyntax { - public ResourceDeclarationSyntax(Token keyword, IdentifierSyntax name, SyntaxBase type, SyntaxBase assignment, SyntaxBase? ifCondition, SyntaxBase body) + public ResourceDeclarationSyntax(IEnumerable leadingNodes, Token keyword, IdentifierSyntax name, SyntaxBase type, SyntaxBase assignment, SyntaxBase? ifCondition, SyntaxBase body) + : base(leadingNodes) { AssertKeyword(keyword, nameof(keyword), LanguageConstants.ResourceKeyword); AssertSyntaxType(name, nameof(name), typeof(IdentifierSyntax)); @@ -45,7 +48,7 @@ public ResourceDeclarationSyntax(Token keyword, IdentifierSyntax name, SyntaxBas public override void Accept(ISyntaxVisitor visitor) => visitor.VisitResourceDeclarationSyntax(this); - public override TextSpan Span => TextSpan.Between(Keyword, Body); + public override TextSpan Span => TextSpan.Between(this.LeadingNodes.FirstOrDefault() ?? this.Keyword, Body); public StringSyntax? TypeString => Type as StringSyntax; diff --git a/src/Bicep.Core/Syntax/StatementSyntax.cs b/src/Bicep.Core/Syntax/StatementSyntax.cs new file mode 100644 index 00000000000..4e75ba33ac5 --- /dev/null +++ b/src/Bicep.Core/Syntax/StatementSyntax.cs @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +using System.Collections.Generic; +using System.Collections.Immutable; + +namespace Bicep.Core.Syntax +{ + public abstract class StatementSyntax : SyntaxBase + { + protected StatementSyntax(IEnumerable leadingNodes) + { + this.LeadingNodes = leadingNodes.ToImmutableArray(); + } + + public ImmutableArray LeadingNodes { get; } + + public IEnumerable Decorators => this.LeadingNodes.OfType(); + } +} diff --git a/src/Bicep.Core/Syntax/SyntaxFactory.cs b/src/Bicep.Core/Syntax/SyntaxFactory.cs new file mode 100644 index 00000000000..46103887f5a --- /dev/null +++ b/src/Bicep.Core/Syntax/SyntaxFactory.cs @@ -0,0 +1,117 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text.RegularExpressions; +using Bicep.Core.Extensions; +using Bicep.Core.Parsing; + +namespace Bicep.Core.Syntax +{ + public static class SyntaxFactory + { + public static readonly TextSpan EmptySpan = new TextSpan(0, 0); + + public static readonly IEnumerable EmptyTrivia = Enumerable.Empty(); + + public static Token CreateToken(TokenType tokenType, string text) + => new Token(tokenType, EmptySpan, text, EmptyTrivia, EmptyTrivia); + + public static IdentifierSyntax CreateIdentifier(string text) + => new IdentifierSyntax(CreateToken(TokenType.Identifier, text)); + + public static Token NewlineToken + => CreateToken(TokenType.NewLine, Environment.NewLine); + + public static ObjectPropertySyntax CreateObjectProperty(string key, SyntaxBase value) + => new ObjectPropertySyntax(CreateObjectPropertyKey(key), CreateToken(TokenType.Colon, ":"), value); + + public static ObjectSyntax CreateObject(IEnumerable properties) + { + var children = new List { NewlineToken }; + + foreach (var property in properties) + { + children.Add(property); + children.Add(NewlineToken); + } + + return new ObjectSyntax( + CreateToken(TokenType.LeftBrace, "{"), + children, + CreateToken(TokenType.RightBrace, "}")); + } + + public static ArrayItemSyntax CreateArrayItem(SyntaxBase value) + => new ArrayItemSyntax(value); + + public static ArraySyntax CreateArray(IEnumerable items) + { + var children = new List { NewlineToken }; + + foreach (var item in items) + { + children.Add(CreateArrayItem(item)); + children.Add(NewlineToken); + } + + return new ArraySyntax( + CreateToken(TokenType.LeftSquare, "["), + children, + CreateToken(TokenType.RightSquare, "]")); + } + + public static SyntaxBase CreateObjectPropertyKey(string text) + { + if (Regex.IsMatch(text, "^[a-zA-Z][a-zA-Z0-9_]*$")) + { + return CreateIdentifier(text); + } + + return CreateStringLiteral(text); + } + + public static StringSyntax CreateStringLiteral(string value) + { + return new StringSyntax(CreateStringLiteralToken(value).AsEnumerable(), Enumerable.Empty(), value.AsEnumerable()); + } + + public static StringSyntax CreateStringLiteralWithComment(string value, string comment) + { + var trailingTrivia = new SyntaxTrivia(SyntaxTriviaType.MultiLineComment, EmptySpan, $"/*{comment.Replace("*/", "*\\/")}*/"); + var stringToken = new Token(TokenType.StringComplete, EmptySpan, $"'{EscapeBicepString(value)}'", EmptyTrivia, trailingTrivia.AsEnumerable()); + + return new StringSyntax(stringToken.AsEnumerable(), Enumerable.Empty(), value.AsEnumerable()); + } + + public static Token CreateStringLiteralToken(string value) + { + return CreateToken(TokenType.StringComplete, $"'{EscapeBicepString(value)}'"); + } + + public static Token CreateStringInterpolationToken(bool isStart, bool isEnd, string value) + { + if (isStart) + { + return CreateToken(TokenType.StringLeftPiece, $"'{EscapeBicepString(value)}${{"); + } + + if (isEnd) + { + return CreateToken(TokenType.StringRightPiece, $"}}{EscapeBicepString(value)}'"); + } + + return CreateToken(TokenType.StringMiddlePiece, $"}}{EscapeBicepString(value)}${{"); + } + + private static string EscapeBicepString(string value) + => value + .Replace("\\", "\\\\") // must do this first! + .Replace("\r", "\\r") + .Replace("\n", "\\n") + .Replace("\t", "\\t") + .Replace("${", "\\${") + .Replace("'", "\\'"); + } +} diff --git a/src/Bicep.Core/Syntax/SyntaxRewriteVisitor.cs b/src/Bicep.Core/Syntax/SyntaxRewriteVisitor.cs index d7af3a52698..dd084834a2c 100644 --- a/src/Bicep.Core/Syntax/SyntaxRewriteVisitor.cs +++ b/src/Bicep.Core/Syntax/SyntaxRewriteVisitor.cs @@ -98,7 +98,8 @@ protected virtual SeparatedSyntaxList ReplaceSeparatedSyntaxList(SeparatedSyntax protected virtual ParameterDeclarationSyntax ReplaceParameterDeclarationSyntax(ParameterDeclarationSyntax syntax) { - var hasChanges = Rewrite(syntax.Keyword, out var keyword); + var hasChanges = Rewrite(syntax.LeadingNodes, out var leadingNodes); + hasChanges |= Rewrite(syntax.Keyword, out var keyword); hasChanges |= Rewrite(syntax.Name, out var name); hasChanges |= Rewrite(syntax.Type, out var type); hasChanges |= RewriteNullable(syntax.Modifier, out var modifier); @@ -108,7 +109,7 @@ protected virtual ParameterDeclarationSyntax ReplaceParameterDeclarationSyntax(P return syntax; } - return new ParameterDeclarationSyntax(keyword, name, type, modifier); + return new ParameterDeclarationSyntax(leadingNodes, keyword, name, type, modifier); } void ISyntaxVisitor.VisitParameterDeclarationSyntax(ParameterDeclarationSyntax syntax) => ReplaceCurrent(syntax, ReplaceParameterDeclarationSyntax); @@ -144,7 +145,8 @@ protected virtual VariableDeclarationSyntax ReplaceVariableDeclarationSyntax(Var protected virtual TargetScopeSyntax ReplaceTargetScopeSyntax(TargetScopeSyntax syntax) { - var hasChanges = Rewrite(syntax.Keyword, out var keyword); + var hasChanges = Rewrite(syntax.LeadingNodes, out var leadingNodes); + hasChanges |= Rewrite(syntax.Keyword, out var keyword); hasChanges |= Rewrite(syntax.Assignment, out var assignment); hasChanges |= Rewrite(syntax.Value, out var value); @@ -153,13 +155,14 @@ protected virtual TargetScopeSyntax ReplaceTargetScopeSyntax(TargetScopeSyntax s return syntax; } - return new TargetScopeSyntax(keyword, assignment, value); + return new TargetScopeSyntax(leadingNodes, keyword, assignment, value); } void ISyntaxVisitor.VisitTargetScopeSyntax(TargetScopeSyntax syntax) => ReplaceCurrent(syntax, ReplaceTargetScopeSyntax); protected virtual ResourceDeclarationSyntax ReplaceResourceDeclarationSyntax(ResourceDeclarationSyntax syntax) { - var hasChanges = Rewrite(syntax.Keyword, out var keyword); + var hasChanges = Rewrite(syntax.LeadingNodes, out var leadingNodes); + hasChanges |= Rewrite(syntax.Keyword, out var keyword); hasChanges |= Rewrite(syntax.Name, out var name); hasChanges |= Rewrite(syntax.Type, out var type); hasChanges |= Rewrite(syntax.Assignment, out var assignment); @@ -171,13 +174,14 @@ protected virtual ResourceDeclarationSyntax ReplaceResourceDeclarationSyntax(Res return syntax; } - return new ResourceDeclarationSyntax(keyword, name, type, assignment, ifExpression, body); + return new ResourceDeclarationSyntax(leadingNodes, keyword, name, type, assignment, ifExpression, body); } void ISyntaxVisitor.VisitResourceDeclarationSyntax(ResourceDeclarationSyntax syntax) => ReplaceCurrent(syntax, ReplaceResourceDeclarationSyntax); protected virtual ModuleDeclarationSyntax ReplaceModuleDeclarationSyntax(ModuleDeclarationSyntax syntax) { - var hasChanges = Rewrite(syntax.Keyword, out var keyword); + var hasChanges = Rewrite(syntax.LeadingNodes, out var leadingNodes); + hasChanges |= Rewrite(syntax.Keyword, out var keyword); hasChanges |= Rewrite(syntax.Name, out var name); hasChanges |= Rewrite(syntax.Path, out var path); hasChanges |= Rewrite(syntax.Assignment, out var assignment); @@ -189,13 +193,14 @@ protected virtual ModuleDeclarationSyntax ReplaceModuleDeclarationSyntax(ModuleD return syntax; } - return new ModuleDeclarationSyntax(keyword, name, path, assignment, ifExpression, body); + return new ModuleDeclarationSyntax(leadingNodes, keyword, name, path, assignment, ifExpression, body); } void ISyntaxVisitor.VisitModuleDeclarationSyntax(ModuleDeclarationSyntax syntax) => ReplaceCurrent(syntax, ReplaceModuleDeclarationSyntax); protected virtual OutputDeclarationSyntax ReplaceOutputDeclarationSyntax(OutputDeclarationSyntax syntax) { - var hasChanges = Rewrite(syntax.Keyword, out var keyword); + var hasChanges = Rewrite(syntax.LeadingNodes, out var leadingNodes); + hasChanges |= Rewrite(syntax.Keyword, out var keyword); hasChanges |= Rewrite(syntax.Name, out var name); hasChanges |= Rewrite(syntax.Type, out var type); hasChanges |= Rewrite(syntax.Assignment, out var assignment); @@ -206,7 +211,7 @@ protected virtual OutputDeclarationSyntax ReplaceOutputDeclarationSyntax(OutputD return syntax; } - return new OutputDeclarationSyntax(keyword, name, type, assignment, value); + return new OutputDeclarationSyntax(leadingNodes, keyword, name, type, assignment, value); } void ISyntaxVisitor.VisitOutputDeclarationSyntax(OutputDeclarationSyntax syntax) => ReplaceCurrent(syntax, ReplaceOutputDeclarationSyntax); @@ -547,5 +552,32 @@ protected virtual IfConditionSyntax ReplaceIfExpressionSyntax(IfConditionSyntax return new IfConditionSyntax(keyword, conditionExpression); } void ISyntaxVisitor.VisitIfConditionSyntax(IfConditionSyntax syntax) => ReplaceCurrent(syntax, ReplaceIfExpressionSyntax); + + protected virtual DecoratorSyntax ReplaceDecoratorSyntax(DecoratorSyntax syntax) + { + var hasChanges = Rewrite(syntax.At, out var at); + hasChanges |= Rewrite(syntax.Expression, out var expression); + + if (!hasChanges) + { + return syntax; + } + + return new DecoratorSyntax(at, expression); + } + void ISyntaxVisitor.VisitDecoratorSyntax(DecoratorSyntax syntax) => ReplaceCurrent(syntax, ReplaceDecoratorSyntax); + + protected virtual MissingDeclarationSyntax ReplaceMissingDeclarationSyntax(MissingDeclarationSyntax syntax) + { + var hasChange = Rewrite(syntax.LeadingNodes, out var leadingNodes); + + if (!hasChange) + { + return syntax; + } + + return new MissingDeclarationSyntax(leadingNodes); + } + void ISyntaxVisitor.VisitMissingDeclarationSyntax(MissingDeclarationSyntax syntax) => ReplaceCurrent(syntax, ReplaceMissingDeclarationSyntax); } } diff --git a/src/Bicep.Core/Syntax/SyntaxVisitor.cs b/src/Bicep.Core/Syntax/SyntaxVisitor.cs index 47f12612659..a0305851443 100644 --- a/src/Bicep.Core/Syntax/SyntaxVisitor.cs +++ b/src/Bicep.Core/Syntax/SyntaxVisitor.cs @@ -52,6 +52,7 @@ public virtual void VisitSeparatedSyntaxList(SeparatedSyntaxList syntax) public virtual void VisitParameterDeclarationSyntax(ParameterDeclarationSyntax syntax) { + this.VisitNodes(syntax.LeadingNodes); this.Visit(syntax.Keyword); this.Visit(syntax.Name); this.Visit(syntax.Type); @@ -66,6 +67,7 @@ public virtual void VisitParameterDefaultValueSyntax(ParameterDefaultValueSyntax public virtual void VisitVariableDeclarationSyntax(VariableDeclarationSyntax syntax) { + this.VisitNodes(syntax.LeadingNodes); this.Visit(syntax.Keyword); this.Visit(syntax.Name); this.Visit(syntax.Assignment); @@ -74,6 +76,7 @@ public virtual void VisitVariableDeclarationSyntax(VariableDeclarationSyntax syn public virtual void VisitTargetScopeSyntax(TargetScopeSyntax syntax) { + this.VisitNodes(syntax.LeadingNodes); this.Visit(syntax.Keyword); this.Visit(syntax.Assignment); this.Visit(syntax.Value); @@ -81,6 +84,7 @@ public virtual void VisitTargetScopeSyntax(TargetScopeSyntax syntax) public virtual void VisitResourceDeclarationSyntax(ResourceDeclarationSyntax syntax) { + this.VisitNodes(syntax.LeadingNodes); this.Visit(syntax.Keyword); this.Visit(syntax.Name); this.Visit(syntax.Type); @@ -91,6 +95,7 @@ public virtual void VisitResourceDeclarationSyntax(ResourceDeclarationSyntax syn public virtual void VisitModuleDeclarationSyntax(ModuleDeclarationSyntax syntax) { + this.VisitNodes(syntax.LeadingNodes); this.Visit(syntax.Keyword); this.Visit(syntax.Name); this.Visit(syntax.Path); @@ -101,6 +106,7 @@ public virtual void VisitModuleDeclarationSyntax(ModuleDeclarationSyntax syntax) public virtual void VisitOutputDeclarationSyntax(OutputDeclarationSyntax syntax) { + this.VisitNodes(syntax.LeadingNodes); this.Visit(syntax.Keyword); this.Visit(syntax.Name); this.Visit(syntax.Type); @@ -262,6 +268,17 @@ public virtual void VisitVariableAccessSyntax(VariableAccessSyntax syntax) this.Visit(syntax.Name); } + public virtual void VisitDecoratorSyntax(DecoratorSyntax syntax) + { + this.Visit(syntax.At); + this.Visit(syntax.Expression); + } + + public virtual void VisitMissingDeclarationSyntax(MissingDeclarationSyntax syntax) + { + this.VisitNodes(syntax.LeadingNodes); + } + protected void VisitTokens(IEnumerable tokens) { foreach (Token token in tokens) @@ -276,6 +293,6 @@ protected void VisitNodes(IEnumerable nodes) { this.Visit(node); } - } + } } } diff --git a/src/Bicep.Core/Syntax/TargetScopeSyntax.cs b/src/Bicep.Core/Syntax/TargetScopeSyntax.cs index 51863b82b04..d12a3382ca2 100644 --- a/src/Bicep.Core/Syntax/TargetScopeSyntax.cs +++ b/src/Bicep.Core/Syntax/TargetScopeSyntax.cs @@ -1,14 +1,30 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Linq; using Bicep.Core.Navigation; using Bicep.Core.Parsing; using Bicep.Core.TypeSystem; namespace Bicep.Core.Syntax { - public class TargetScopeSyntax : SyntaxBase, IDeclarationSyntax + public class TargetScopeSyntax : StatementSyntax, IDeclarationSyntax { public TargetScopeSyntax(Token keyword, SyntaxBase assignment, SyntaxBase value) + : base(ImmutableArray.Empty) + { + AssertKeyword(keyword, nameof(keyword), LanguageConstants.TargetScopeKeyword); + AssertSyntaxType(assignment, nameof(assignment), typeof(Token), typeof(SkippedTriviaSyntax)); + AssertTokenType(assignment as Token, nameof(assignment), TokenType.Assignment); + + this.Keyword = keyword; + this.Assignment = assignment; + this.Value = value; + } + + public TargetScopeSyntax(IEnumerable leadingNodes, Token keyword, SyntaxBase assignment, SyntaxBase value) + : base(leadingNodes) { AssertKeyword(keyword, nameof(keyword), LanguageConstants.TargetScopeKeyword); AssertSyntaxType(assignment, nameof(assignment), typeof(Token), typeof(SkippedTriviaSyntax)); @@ -27,7 +43,7 @@ public TargetScopeSyntax(Token keyword, SyntaxBase assignment, SyntaxBase value) public override void Accept(ISyntaxVisitor visitor) => visitor.VisitTargetScopeSyntax(this); - public override TextSpan Span => TextSpan.Between(this.Keyword, this.Value); + public override TextSpan Span => TextSpan.Between(this.LeadingNodes.FirstOrDefault() ?? this.Keyword, this.Value); public TypeSymbol GetDeclaredType() { diff --git a/src/Bicep.Core/Syntax/VariableDeclarationSyntax.cs b/src/Bicep.Core/Syntax/VariableDeclarationSyntax.cs index eefef4fba8d..5bf2250677d 100644 --- a/src/Bicep.Core/Syntax/VariableDeclarationSyntax.cs +++ b/src/Bicep.Core/Syntax/VariableDeclarationSyntax.cs @@ -1,13 +1,31 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Linq; using Bicep.Core.Navigation; using Bicep.Core.Parsing; namespace Bicep.Core.Syntax { - public class VariableDeclarationSyntax : SyntaxBase, INamedDeclarationSyntax + public class VariableDeclarationSyntax : StatementSyntax, INamedDeclarationSyntax { public VariableDeclarationSyntax(Token keyword, IdentifierSyntax name, SyntaxBase assignment, SyntaxBase value) + : base(ImmutableArray.Empty) + { + AssertKeyword(keyword, nameof(keyword), LanguageConstants.VariableKeyword); + AssertSyntaxType(name, nameof(name), typeof(IdentifierSyntax)); + AssertSyntaxType(assignment, nameof(assignment), typeof(Token), typeof(SkippedTriviaSyntax)); + AssertTokenType(assignment as Token, nameof(assignment), TokenType.Assignment); + + this.Keyword = keyword; + this.Name = name; + this.Assignment = assignment; + this.Value = value; + } + + public VariableDeclarationSyntax(IEnumerable leadingNodes, Token keyword, IdentifierSyntax name, SyntaxBase assignment, SyntaxBase value) + : base(leadingNodes) { AssertKeyword(keyword, nameof(keyword), LanguageConstants.VariableKeyword); AssertSyntaxType(name, nameof(name), typeof(IdentifierSyntax)); @@ -30,6 +48,6 @@ public VariableDeclarationSyntax(Token keyword, IdentifierSyntax name, SyntaxBas public override void Accept(ISyntaxVisitor visitor) => visitor.VisitVariableDeclarationSyntax(this); - public override TextSpan Span => TextSpan.Between(Keyword, Value); + public override TextSpan Span => TextSpan.Between(this.LeadingNodes.FirstOrDefault() ?? Keyword, Value); } } diff --git a/src/Bicep.Core/TypeSystem/CyclicCheckVisitor.cs b/src/Bicep.Core/TypeSystem/CyclicCheckVisitor.cs index 21a9a9c0345..2732640dd72 100644 --- a/src/Bicep.Core/TypeSystem/CyclicCheckVisitor.cs +++ b/src/Bicep.Core/TypeSystem/CyclicCheckVisitor.cs @@ -23,6 +23,8 @@ public sealed class CyclicCheckVisitor : SyntaxVisitor private DeclaredSymbol? currentDeclaration; + private SyntaxBase? currentDecorator; + public static ImmutableDictionary> FindCycles(ProgramSyntax programSyntax, IReadOnlyDictionary declarations, IReadOnlyDictionary bindings) { var visitor = new CyclicCheckVisitor(declarations, bindings); @@ -81,6 +83,12 @@ public override void VisitVariableAccessSyntax(VariableAccessSyntax syntax) { if (currentDeclaration == null) { + if (currentDecorator != null) + { + // We are inside a dangling decorator. + return; + } + throw new ArgumentException($"Variable access outside of declaration"); } @@ -88,11 +96,24 @@ public override void VisitVariableAccessSyntax(VariableAccessSyntax syntax) base.VisitVariableAccessSyntax(syntax); } + public override void VisitDecoratorSyntax(DecoratorSyntax syntax) + { + this.currentDecorator = syntax; + base.VisitDecoratorSyntax(syntax); + this.currentDecorator = null; + } + public override void VisitFunctionCallSyntax(FunctionCallSyntax syntax) { if (currentDeclaration == null) { - throw new ArgumentException($"Function access outside of declaration"); + if (currentDecorator != null) + { + // We are inside a dangling decorator. + return; + } + + throw new ArgumentException($"Function access outside of declaration or decorator"); } declarationAccessDict[currentDeclaration].Add(syntax); diff --git a/src/Bicep.Core/TypeSystem/DecoratorResolver.cs b/src/Bicep.Core/TypeSystem/DecoratorResolver.cs new file mode 100644 index 00000000000..6f58c90d5fe --- /dev/null +++ b/src/Bicep.Core/TypeSystem/DecoratorResolver.cs @@ -0,0 +1,47 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. +using System.Collections.Generic; +using System.Collections.Immutable; +using Bicep.Core.Semantics; +using Bicep.Core.Syntax; + +namespace Bicep.Core.TypeSystem +{ + public class DecoratorResolver + { + private readonly ImmutableDictionary decoratorsByOverloads; + + private readonly FunctionResolver functionResolver; + + private readonly ImmutableHashSet functionSymbols; + + public DecoratorResolver(IEnumerable decorators) + { + this.decoratorsByOverloads = decorators.ToImmutableDictionary(decorator => decorator.Overload, decorator => decorator); + this.functionResolver = FunctionResolver.Create(decoratorsByOverloads.Keys); + this.functionSymbols = functionResolver.GetKnownFunctions().Values.ToImmutableHashSet(); + } + + public Symbol? TryGetSymbol(IdentifierSyntax identifierSyntax) => this.functionResolver.TryGetSymbol(identifierSyntax); + + public ImmutableDictionary GetKnownDecoratorFunctions() => this.functionResolver.GetKnownFunctions(); + + public IEnumerable GetMatches(FunctionSymbol symbol, IList argumentTypes) + { + if (!functionSymbols.Contains(symbol)) + { + yield break; + } + + foreach (var overload in FunctionResolver.GetMatches(symbol, argumentTypes, out var _, out var _)) + { + this.decoratorsByOverloads.TryGetValue(overload, out Decorator? decorator); + + if (decorator != null) + { + yield return decorator; + } + } + } + } +} diff --git a/src/Bicep.Core/TypeSystem/FunctionFlags.cs b/src/Bicep.Core/TypeSystem/FunctionFlags.cs index fd0829a438e..c80ae0950c4 100644 --- a/src/Bicep.Core/TypeSystem/FunctionFlags.cs +++ b/src/Bicep.Core/TypeSystem/FunctionFlags.cs @@ -24,5 +24,30 @@ public enum FunctionFlags /// The function requires inlining. /// RequiresInlining = 1 << 1, + + /// + /// The function can be used as a parameter decorator. + /// + ParameterDecorator = 1 << 2, + + /// + /// The function can be used as a parameter decorator. + /// + VariableDecorator = 1 << 3, + + /// + /// The function can be used as a resource decorator. + /// + ResoureDecorator = 1 << 4, + + /// + /// The function can be used as a module decorator. + /// + ModuleDecorator = 1 << 5, + + /// + /// The function can be used as an output decorator. + /// + OutputDecorator = 1 << 6, } } diff --git a/src/Bicep.Core/TypeSystem/NamespaceType.cs b/src/Bicep.Core/TypeSystem/NamespaceType.cs index 26761e1d1bc..4a7a9890658 100644 --- a/src/Bicep.Core/TypeSystem/NamespaceType.cs +++ b/src/Bicep.Core/TypeSystem/NamespaceType.cs @@ -2,16 +2,19 @@ // Licensed under the MIT License. using System.Collections.Generic; using System.Collections.Immutable; - +using System.Linq; +using Bicep.Core.Semantics; + namespace Bicep.Core.TypeSystem { public sealed class NamespaceType : ObjectType { - public NamespaceType(string name, IEnumerable properties, FunctionResolver methodResolver) + public NamespaceType(string name, IEnumerable properties, FunctionResolver methodResolver, DecoratorResolver decoratorResolver) : base(name) { this.Properties = properties.ToImmutableDictionary(property => property.Name, LanguageConstants.IdentifierComparer); this.MethodResolver = methodResolver; + this.DecoratorResolver = decoratorResolver; } public override TypeKind TypeKind => TypeKind.Namespace; @@ -23,5 +26,7 @@ public NamespaceType(string name, IEnumerable properties, Function public override ITypeReference? AdditionalPropertiesType => null; public override FunctionResolver MethodResolver { get; } + + public DecoratorResolver DecoratorResolver { get; } } } \ No newline at end of file diff --git a/src/Bicep.Core/TypeSystem/TypeAssignmentVisitor.cs b/src/Bicep.Core/TypeSystem/TypeAssignmentVisitor.cs index ccf2ec2011c..28c2ee9924a 100644 --- a/src/Bicep.Core/TypeSystem/TypeAssignmentVisitor.cs +++ b/src/Bicep.Core/TypeSystem/TypeAssignmentVisitor.cs @@ -125,6 +125,9 @@ public override void VisitResourceDeclarationSyntax(ResourceDeclarationSyntax sy => AssignTypeWithDiagnostics(syntax, diagnostics => { var declaredType = syntax.GetDeclaredType(binder.TargetScope, resourceTypeProvider); + + this.ValidateDecortors(syntax.Decorators, declaredType, diagnostics); + if (declaredType is ErrorType) { return declaredType; @@ -158,6 +161,8 @@ public override void VisitModuleDeclarationSyntax(ModuleDeclarationSyntax syntax var declaredType = syntax.GetDeclaredType(this.binder.TargetScope, moduleSemanticModel); + this.ValidateDecortors(syntax.Decorators, declaredType, diagnostics); + if (moduleSemanticModel.HasErrors()) { diagnostics.Write(DiagnosticBuilder.ForPosition(syntax.Path).ReferencedModuleHasErrors()); @@ -173,9 +178,20 @@ public override void VisitModuleDeclarationSyntax(ModuleDeclarationSyntax syntax public override void VisitParameterDeclarationSyntax(ParameterDeclarationSyntax syntax) => AssignTypeWithDiagnostics(syntax, diagnostics => { - diagnostics.WriteMultiple(this.ValidateIdentifierAccess(syntax)); - var declaredType = syntax.GetDeclaredType(); + + this.ValidateDecortors(syntax.Decorators, declaredType, diagnostics); + + if (syntax.Modifier != null) + { + if (syntax.Decorators.Any() && syntax.Modifier is ObjectSyntax modifierSyntax) + { + diagnostics.Write(DiagnosticBuilder.ForPosition(modifierSyntax.OpenBrace).CannotUseParameterDecoratorsAndModifiersTogether()); + } + + diagnostics.WriteMultiple(this.ValidateIdentifierAccess(syntax.Modifier)); + } + if (declaredType is ErrorType) { return declaredType; @@ -199,8 +215,50 @@ public override void VisitParameterDeclarationSyntax(ParameterDeclarationSyntax return assignedType; }); + private void ValidateDecortors(IEnumerable decoratorSyntaxes, TypeSymbol targetType, IDiagnosticWriter diagnostics) + { + foreach (var decoratorSyntax in decoratorSyntaxes) + { + var decoratorType = this.typeManager.GetTypeInfo(decoratorSyntax.Expression); + + if (decoratorType is ErrorType) + { + diagnostics.WriteMultiple(decoratorType.GetDiagnostics()); + continue; + } + + foreach (var argumentSyntax in decoratorSyntax.Arguments) + { + TypeValidator.GetCompileTimeConstantViolation(argumentSyntax, diagnostics); + } + + if (this.binder.GetSymbolInfo(decoratorSyntax.Expression) is FunctionSymbol symbol) + { + var argumentTypes = decoratorSyntax.Arguments + .Select(argument => + { + var argumentType = typeManager.GetTypeInfo(argument); + + return argumentType is ErrorType ? LanguageConstants.Any : argumentType; + }) + .ToArray(); + + // There should exist exact one matching decorator if there's no argument mismatches, + // since each argument must be a compile-time constant which cannot be of Any type. + Decorator? decorator = this.binder.FileSymbol.ImportedNamespaces.Values + .SelectMany(ns => ns.Type.DecoratorResolver.GetMatches(symbol, argumentTypes)) + .SingleOrDefault(); + + if (decorator is not null) + { + decorator.Validate(decoratorSyntax, targetType, this.typeManager, diagnostics); + } + } + } + } + public override void VisitVariableDeclarationSyntax(VariableDeclarationSyntax syntax) - => AssignType(syntax, () => { + => AssignTypeWithDiagnostics(syntax, diagnostics => { var errors = new List(); var valueType = typeManager.GetTypeInfo(syntax.Value); @@ -216,6 +274,8 @@ public override void VisitVariableDeclarationSyntax(VariableDeclarationSyntax sy return ErrorType.Create(DiagnosticBuilder.ForPosition(syntax.Value).VariableTypeAssignmentDisallowed(valueType)); } + this.ValidateDecortors(syntax.Decorators, valueType, diagnostics); + return valueType; }); @@ -232,6 +292,8 @@ public override void VisitOutputDeclarationSyntax(OutputDeclarationSyntax syntax return ErrorType.Create(DiagnosticBuilder.ForPosition(syntax.Type).InvalidOutputType()); } + this.ValidateDecortors(syntax.Decorators, primitiveType, diagnostics); + var currentDiagnostics = GetOutputDeclarationDiagnostics(primitiveType, syntax); diagnostics.WriteMultiple(currentDiagnostics); @@ -687,6 +749,11 @@ public override void VisitInstanceFunctionCallSyntax(InstanceFunctionCallSyntax public override void VisitTargetScopeSyntax(TargetScopeSyntax syntax) => AssignTypeWithDiagnostics(syntax, diagnostics => { + if (syntax.Decorators.Any()) + { + diagnostics.Write(DiagnosticBuilder.ForPosition(syntax.Decorators.First().At).DecoratorsNotAllowed()); + } + var declaredType = syntax.GetDeclaredType(); if (declaredType is ErrorType) { @@ -949,7 +1016,7 @@ private IEnumerable ValidateDefaultValue(ParameterDefaultValueSyntax return Enumerable.Empty(); } - private IEnumerable ValidateIdentifierAccess(ParameterDeclarationSyntax syntax) + private IEnumerable ValidateIdentifierAccess(SyntaxBase syntax) { return SyntaxAggregator.Aggregate(syntax, new List(), (accumulated, current) => { diff --git a/src/Bicep.Decompiler/Rewriters/DependsOnRemovalRewriter.cs b/src/Bicep.Decompiler/Rewriters/DependsOnRemovalRewriter.cs index dbf93824e9c..33e3257582a 100644 --- a/src/Bicep.Decompiler/Rewriters/DependsOnRemovalRewriter.cs +++ b/src/Bicep.Decompiler/Rewriters/DependsOnRemovalRewriter.cs @@ -111,6 +111,7 @@ protected override ResourceDeclarationSyntax ReplaceResourceDeclarationSyntax(Re } return new ResourceDeclarationSyntax( + syntax.LeadingNodes, syntax.Keyword, syntax.Name, syntax.Type, @@ -128,6 +129,7 @@ protected override ModuleDeclarationSyntax ReplaceModuleDeclarationSyntax(Module } return new ModuleDeclarationSyntax( + syntax.LeadingNodes, syntax.Keyword, syntax.Name, syntax.Path, diff --git a/src/Bicep.Decompiler/Rewriters/ParentChildResourceNameRewriter.cs b/src/Bicep.Decompiler/Rewriters/ParentChildResourceNameRewriter.cs index 0d083459f1b..e22711aa06d 100644 --- a/src/Bicep.Decompiler/Rewriters/ParentChildResourceNameRewriter.cs +++ b/src/Bicep.Decompiler/Rewriters/ParentChildResourceNameRewriter.cs @@ -105,6 +105,7 @@ protected override ResourceDeclarationSyntax ReplaceResourceDeclarationSyntax(Re resourceBody.CloseBrace); return new ResourceDeclarationSyntax( + syntax.LeadingNodes, syntax.Keyword, syntax.Name, syntax.Type, diff --git a/src/Bicep.Decompiler/TemplateConverter.cs b/src/Bicep.Decompiler/TemplateConverter.cs index 7d329d19a32..92dedf46872 100644 --- a/src/Bicep.Decompiler/TemplateConverter.cs +++ b/src/Bicep.Decompiler/TemplateConverter.cs @@ -591,6 +591,8 @@ public ParameterDeclarationSyntax ParseParam(JProperty value) var identifier = nameResolver.TryLookupName(NameType.Parameter, value.Name) ?? throw new ConversionFailedException($"Unable to find parameter {value.Name}", value); return new ParameterDeclarationSyntax( + // TODO: add support to parameter decorators. + Enumerable.Empty(), SyntaxHelpers.CreateToken(TokenType.Identifier, "param"), SyntaxHelpers.CreateIdentifier(identifier), typeSyntax, @@ -825,6 +827,8 @@ private SyntaxBase ParseModule(JObject resource, string typeString, string nameS workspace.UpsertSyntaxTrees(nestedSyntaxTree.AsEnumerable()); return new ModuleDeclarationSyntax( + // TODO: add support to decorators for loops. + Enumerable.Empty(), SyntaxHelpers.CreateToken(TokenType.Identifier, "module"), SyntaxHelpers.CreateIdentifier(identifier), SyntaxHelpers.CreateStringLiteral(filePath), @@ -840,6 +844,8 @@ private SyntaxBase ParseModule(JObject resource, string typeString, string nameS } return new ModuleDeclarationSyntax( + // TODO: add support to decorators for loops. + Enumerable.Empty(), SyntaxHelpers.CreateToken(TokenType.Identifier, "module"), SyntaxHelpers.CreateIdentifier(identifier), GetModuleFilePath(resource, templateLinkString), @@ -952,6 +958,8 @@ public SyntaxBase ParseResource(JToken value) var identifier = nameResolver.TryLookupResourceName(typeString, ExpressionHelpers.ParseExpression(nameString)) ?? throw new ArgumentException($"Unable to find resource {typeString} {nameString}"); return new ResourceDeclarationSyntax( + // TODO: add support to decorators for loops. + Enumerable.Empty(), SyntaxHelpers.CreateToken(TokenType.Identifier, "resource"), SyntaxHelpers.CreateIdentifier(identifier), ParseString($"{typeString}@{apiVersionString}"), @@ -966,6 +974,7 @@ public OutputDeclarationSyntax ParseOutput(JProperty value) var identifier = nameResolver.TryLookupName(NameType.Output, value.Name) ?? throw new ConversionFailedException($"Unable to find output {value.Name}", value); return new OutputDeclarationSyntax( + Enumerable.Empty(), SyntaxHelpers.CreateToken(TokenType.Identifier, "output"), SyntaxHelpers.CreateIdentifier(identifier), typeSyntax, diff --git a/src/Bicep.LangServer.IntegrationTests/DefinitionTests.cs b/src/Bicep.LangServer.IntegrationTests/DefinitionTests.cs index 5bf4de78438..e536befe7de 100644 --- a/src/Bicep.LangServer.IntegrationTests/DefinitionTests.cs +++ b/src/Bicep.LangServer.IntegrationTests/DefinitionTests.cs @@ -49,7 +49,7 @@ public async Task GoToDefinitionRequestOnValidSymbolReferenceShouldReturnLocatio var response = await client.RequestDefinition(new DefinitionParams { TextDocument = new TextDocumentIdentifier(uri), - Position = PositionHelper.GetPosition(lineStarts, syntax.Span.Position) + Position = IntegrationTestHelper.GetPosition(lineStarts, syntax) }); var link = ValidateDefinitionResponse(response); diff --git a/src/Bicep.LangServer.IntegrationTests/Helpers/IntegrationTestHelper.cs b/src/Bicep.LangServer.IntegrationTests/Helpers/IntegrationTestHelper.cs index 298cf90932a..6d43ee8690c 100644 --- a/src/Bicep.LangServer.IntegrationTests/Helpers/IntegrationTestHelper.cs +++ b/src/Bicep.LangServer.IntegrationTests/Helpers/IntegrationTestHelper.cs @@ -20,7 +20,8 @@ using System.Collections.Generic; using Bicep.Core.FileSystem; using Bicep.Core.UnitTests.FileSystem; - +using Bicep.Core.Navigation; + namespace Bicep.LangServer.IntegrationTests { public static class IntegrationTestHelper @@ -120,6 +121,11 @@ public static Position GetPosition(ImmutableArray lineStarts, SyntaxBase sy return PositionHelper.GetPosition(lineStarts, instanceFunctionCall.Name.Span.Position); } + if (syntax is IDeclarationSyntax declaration) + { + return PositionHelper.GetPosition(lineStarts, declaration.Keyword.Span.Position); + } + return PositionHelper.GetPosition(lineStarts, syntax.Span.Position); } } diff --git a/src/Bicep.LangServer.IntegrationTests/HoverTests.cs b/src/Bicep.LangServer.IntegrationTests/HoverTests.cs index 9bb55e485d4..17f54449dea 100644 --- a/src/Bicep.LangServer.IntegrationTests/HoverTests.cs +++ b/src/Bicep.LangServer.IntegrationTests/HoverTests.cs @@ -60,10 +60,14 @@ public async Task HoveringOverSymbolReferencesAndDeclarationsShouldProduceHovers foreach (SyntaxBase symbolReference in symbolReferences) { + var syntaxPosition = symbolReference is IDeclarationSyntax declaration + ? declaration.Keyword.Span.Position + : symbolReference.Span.Position; + var hover = await client.RequestHover(new HoverParams { TextDocument = new TextDocumentIdentifier(uri), - Position = PositionHelper.GetPosition(lineStarts, symbolReference.Span.Position) + Position = PositionHelper.GetPosition(lineStarts, syntaxPosition) }); if (symbolTable.TryGetValue(symbolReference, out var symbol) == false) diff --git a/src/Bicep.LangServer.UnitTests/BicepCompletionProviderTests.cs b/src/Bicep.LangServer.UnitTests/BicepCompletionProviderTests.cs index 32481d47648..b3090789962 100644 --- a/src/Bicep.LangServer.UnitTests/BicepCompletionProviderTests.cs +++ b/src/Bicep.LangServer.UnitTests/BicepCompletionProviderTests.cs @@ -30,7 +30,7 @@ public class BicepCompletionProviderTests [TestMethod] public void DeclarationSnippetsShouldBeValid() { - var grouping = SyntaxFactory.CreateFromText(string.Empty); + var grouping = SyntaxTreeGroupingFactory.CreateFromText(string.Empty); var compilation = new Compilation(TestResourceTypeProvider.Create(), grouping); compilation.GetEntrypointSemanticModel().GetAllDiagnostics().Should().BeEmpty(); @@ -96,7 +96,7 @@ public void DeclarationSnippetsShouldBeValid() [TestMethod] public void DeclarationContextShouldReturnKeywordCompletions() { - var grouping = SyntaxFactory.CreateFromText(string.Empty); + var grouping = SyntaxTreeGroupingFactory.CreateFromText(string.Empty); var compilation = new Compilation(TestResourceTypeProvider.Create(), grouping); compilation.GetEntrypointSemanticModel().GetAllDiagnostics().Should().BeEmpty(); @@ -169,7 +169,7 @@ public void DeclarationContextShouldReturnKeywordCompletions() [TestMethod] public void NonDeclarationContextShouldIncludeDeclaredSymbols() { - var grouping = SyntaxFactory.CreateFromText(@" + var grouping = SyntaxTreeGroupingFactory.CreateFromText(@" param p string var v = resource r 'Microsoft.Foo/foos@2020-09-01' = { @@ -214,7 +214,7 @@ param p string [TestMethod] public void CompletionsForOneLinerParameterDefaultValueShouldIncludeFunctionsValidInDefaultValues() { - var grouping = SyntaxFactory.CreateFromText(@"param p string = "); + var grouping = SyntaxTreeGroupingFactory.CreateFromText(@"param p string = "); var compilation = new Compilation(TestResourceTypeProvider.Create(), grouping); var offset = ((ParameterDefaultValueSyntax) grouping.EntryPoint.ProgramSyntax.Declarations.OfType().Single().Modifier!).DefaultValue.Span.Position; @@ -241,7 +241,7 @@ public void CompletionsForOneLinerParameterDefaultValueShouldIncludeFunctionsVal [TestMethod] public void CompletionsForModifierDefaultValuesShouldIncludeFunctionsValidInDefaultValues() { - var grouping = SyntaxFactory.CreateFromText(@"param p string { + var grouping = SyntaxTreeGroupingFactory.CreateFromText(@"param p string { defaultValue: }"); @@ -270,7 +270,7 @@ public void CompletionsForModifierDefaultValuesShouldIncludeFunctionsValidInDefa [TestMethod] public void DeclaringSymbolWithFunctionNameShouldHideTheFunctionCompletion() { - var grouping = SyntaxFactory.CreateFromText(@" + var grouping = SyntaxTreeGroupingFactory.CreateFromText(@" param concat string var resourceGroup = true resource base64 'Microsoft.Foo/foos@2020-09-01' = { @@ -321,7 +321,7 @@ param concat string [TestMethod] public void OutputTypeContextShouldReturnDeclarationTypeCompletions() { - var grouping = SyntaxFactory.CreateFromText("output test "); + var grouping = SyntaxTreeGroupingFactory.CreateFromText("output test "); var compilation = new Compilation(TestResourceTypeProvider.Create(), grouping); var provider = new BicepCompletionProvider(new FileResolver()); @@ -338,7 +338,7 @@ public void OutputTypeContextShouldReturnDeclarationTypeCompletions() [TestMethod] public void ParameterTypeContextShouldReturnDeclarationTypeCompletions() { - var grouping = SyntaxFactory.CreateFromText("param foo "); + var grouping = SyntaxTreeGroupingFactory.CreateFromText("param foo "); var compilation = new Compilation(TestResourceTypeProvider.Create(), grouping); var provider = new BicepCompletionProvider(new FileResolver()); @@ -382,7 +382,7 @@ public void ParameterTypeContextShouldReturnDeclarationTypeCompletions() */")] public void CommentShouldNotGiveAnyCompletions(string codeFragment) { - var grouping = SyntaxFactory.CreateFromText(codeFragment); + var grouping = SyntaxTreeGroupingFactory.CreateFromText(codeFragment); var compilation = new Compilation(TestResourceTypeProvider.Create(), grouping); var provider = new BicepCompletionProvider(new FileResolver());