-
Notifications
You must be signed in to change notification settings - Fork 758
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
3,362 additions
and
1,132 deletions.
There are no files selected for viewing
86 changes: 86 additions & 0 deletions
86
src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/moduleAWithConditionOutputs.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
[ | ||
{ | ||
"label": "arrayOutput", | ||
"kind": "property", | ||
"detail": "arrayOutput", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `array` \nRead-only property \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_arrayOutput", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "arrayOutput" | ||
}, | ||
"commitCharacters": [ | ||
"." | ||
] | ||
}, | ||
{ | ||
"label": "objOutput", | ||
"kind": "property", | ||
"detail": "objOutput", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `object` \nRead-only property \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_objOutput", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "objOutput" | ||
}, | ||
"commitCharacters": [ | ||
"." | ||
] | ||
}, | ||
{ | ||
"label": "stringOutputA", | ||
"kind": "property", | ||
"detail": "stringOutputA", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `string` \nRead-only property \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_stringOutputA", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "stringOutputA" | ||
}, | ||
"commitCharacters": [ | ||
"." | ||
] | ||
}, | ||
{ | ||
"label": "stringOutputB", | ||
"kind": "property", | ||
"detail": "stringOutputB", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `string` \nRead-only property \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_stringOutputB", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "stringOutputB" | ||
}, | ||
"commitCharacters": [ | ||
"." | ||
] | ||
} | ||
] |
86 changes: 86 additions & 0 deletions
86
src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/moduleAWithConditionParams.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
[ | ||
{ | ||
"label": "arrayParam", | ||
"kind": "property", | ||
"detail": "arrayParam (Required)", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `array` \nWrite-only property \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_arrayParam", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "arrayParam" | ||
}, | ||
"commitCharacters": [ | ||
":" | ||
] | ||
}, | ||
{ | ||
"label": "objParam", | ||
"kind": "property", | ||
"detail": "objParam (Required)", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `object` \nWrite-only property \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_objParam", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "objParam" | ||
}, | ||
"commitCharacters": [ | ||
":" | ||
] | ||
}, | ||
{ | ||
"label": "stringParamA", | ||
"kind": "property", | ||
"detail": "stringParamA", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `string` \nWrite-only property \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_stringParamA", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "stringParamA" | ||
}, | ||
"commitCharacters": [ | ||
":" | ||
] | ||
}, | ||
{ | ||
"label": "stringParamB", | ||
"kind": "property", | ||
"detail": "stringParamB (Required)", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `string` \nWrite-only property \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_stringParamB", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "stringParamB" | ||
}, | ||
"commitCharacters": [ | ||
":" | ||
] | ||
} | ||
] |
86 changes: 86 additions & 0 deletions
86
...e.Samples/Files/InvalidModules_LF/Completions/moduleAWithConditionTopLevelProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
[ | ||
{ | ||
"label": "dependsOn", | ||
"kind": "property", | ||
"detail": "dependsOn", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `resource | module[]` \nWrite-only property \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_dependsOn", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "dependsOn" | ||
}, | ||
"commitCharacters": [ | ||
":" | ||
] | ||
}, | ||
{ | ||
"label": "name", | ||
"kind": "property", | ||
"detail": "name (Required)", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `string` \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_name", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "name" | ||
}, | ||
"commitCharacters": [ | ||
":" | ||
] | ||
}, | ||
{ | ||
"label": "params", | ||
"kind": "property", | ||
"detail": "params (Required)", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `params` \nWrite-only property \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_params", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "params" | ||
}, | ||
"commitCharacters": [ | ||
":" | ||
] | ||
}, | ||
{ | ||
"label": "scope", | ||
"kind": "property", | ||
"detail": "scope", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `resourceGroup` \nWrite-only property \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_scope", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "scope" | ||
}, | ||
"commitCharacters": [ | ||
":" | ||
] | ||
} | ||
] |
65 changes: 65 additions & 0 deletions
65
.../Files/InvalidModules_LF/Completions/moduleAWithConditionTopLevelPropertiesMinusName.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
[ | ||
{ | ||
"label": "dependsOn", | ||
"kind": "property", | ||
"detail": "dependsOn", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `resource | module[]` \nWrite-only property \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_dependsOn", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "dependsOn" | ||
}, | ||
"commitCharacters": [ | ||
":" | ||
] | ||
}, | ||
{ | ||
"label": "params", | ||
"kind": "property", | ||
"detail": "params (Required)", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `params` \nWrite-only property \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_params", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "params" | ||
}, | ||
"commitCharacters": [ | ||
":" | ||
] | ||
}, | ||
{ | ||
"label": "scope", | ||
"kind": "property", | ||
"detail": "scope", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `resourceGroup` \nWrite-only property \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_scope", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "scope" | ||
}, | ||
"commitCharacters": [ | ||
":" | ||
] | ||
} | ||
] |
44 changes: 44 additions & 0 deletions
44
...mples/Files/InvalidModules_LF/Completions/moduleAWithConditionTopLevelPropertyAccess.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
[ | ||
{ | ||
"label": "name", | ||
"kind": "property", | ||
"detail": "name (Required)", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `string` \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_name", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "name" | ||
}, | ||
"commitCharacters": [ | ||
"." | ||
] | ||
}, | ||
{ | ||
"label": "outputs", | ||
"kind": "property", | ||
"detail": "outputs", | ||
"documentation": { | ||
"kind": "markdown", | ||
"value": "Type: `outputs` \nRead-only property \n" | ||
}, | ||
"deprecated": false, | ||
"preselect": false, | ||
"sortText": "2_outputs", | ||
"insertTextFormat": "plainText", | ||
"insertTextMode": "asIs", | ||
"textEdit": { | ||
"range": {}, | ||
"newText": "outputs" | ||
}, | ||
"commitCharacters": [ | ||
"." | ||
] | ||
} | ||
] |
Oops, something went wrong.