Skip to content

Commit 96874d3

Browse files
committed
feat: Additions to shellScript
1 parent 80393f3 commit 96874d3

11 files changed

+428
-16
lines changed

syntaxes/shellscript.tmLanguage.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@
55
"scopeName": "source.json.shellscript",
66
"injectionSelector": [
77
"L:source.json.embedded .meta.scripts. meta.structure.dictionary.json string.quoted.double.json\n-meta.structure.dictionary.json meta.structure.dictionary.json meta.structure.dictionary.json\n-meta.structure.array.json\n-meta.embedded.shellscript.json -comment",
8-
"L:source.json.comments.embedded .meta.tasks. meta.structure.array.json.comments .meta.command. string.quoted.double.json.comments\n-meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments\n-meta.structure.array.json.comments meta.structure.array.json.comments meta.structure.array.json.comments\n-meta.structure.array.json.comments meta.structure.array.json.comments .meta.command.\n-meta.embedded.json.regexp -comment",
9-
"L:source.json.comments.embedded .meta.tasks. meta.structure.array.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments .meta.command. string.quoted.double.json.comments\n(.meta.windows. | .meta.linux. | .meta.osx.)\n-meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments\n-meta.structure.array.json.comments meta.structure.array.json.comments meta.structure.array.json.comments\n-meta.structure.array.json.comments meta.structure.array.json.comments .meta.command.\n-meta.embedded.json.regexp -comment",
8+
"L:source.json.comments.embedded .meta.command. string.quoted.double.json.comments\n-meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments\n-meta.structure.array.json.comments\n-meta.embedded.json.regexp -comment",
9+
"L:source.json.comments.embedded meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments .meta.command. string.quoted.double.json.comments\n(.meta.windows. | .meta.linux. | .meta.osx.)\n-meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments\n-meta.structure.array.json.comments\n-meta.embedded.json.regexp -comment",
10+
"L:source.json.comments.embedded .meta.tasks. .meta.command. string.quoted.double.json.comments\n-meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments\n-meta.structure.array.json.comments meta.structure.array.json.comments meta.structure.array.json.comments\n-meta.structure.array.json.comments meta.structure.array.json.comments .meta.command.\n-meta.structure.array.json.comments .meta.tasks.\n-meta.embedded.json.regexp -comment",
11+
"L:source.json.comments.embedded .meta.tasks. meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments .meta.command. string.quoted.double.json.comments\n(.meta.windows. | .meta.linux. | .meta.osx.)\n-meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments\n-meta.structure.array.json.comments meta.structure.array.json.comments meta.structure.array.json.comments\n-meta.structure.array.json.comments meta.structure.array.json.comments .meta.command.\n-meta.structure.array.json.comments .meta.tasks.\n-.meta.tasks. meta.structure.dictionary.json.comments meta.structure.array.json.comments meta.structure.dictionary.json.comments\n-meta.embedded.json.regexp -comment",
1012
"L:source.json.comments.embedded .meta.tasks. .meta.tasks. meta.structure.array.json.comments .meta.command. string.quoted.double.json.comments\n-meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments\n-meta.structure.array.json.comments meta.structure.array.json.comments meta.structure.array.json.comments\n-meta.structure.array.json.comments meta.structure.array.json.comments .meta.command.\n-meta.embedded.json.regexp -comment",
1113
"L:source.json.comments.embedded .meta.tasks. .meta.tasks. meta.structure.array.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments .meta.command. string.quoted.double.json.comments\n(.meta.windows. | .meta.linux. | .meta.osx.)\n-meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments\n-meta.structure.array.json.comments meta.structure.array.json.comments meta.structure.array.json.comments\n-meta.structure.array.json.comments meta.structure.array.json.comments .meta.command.\n-meta.embedded.json.regexp -comment",
12-
"L:source.json.comments.embedded .meta.mcp. .meta.servers. meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments .meta.command. string.quoted.double.json.comments\n-meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments\n-meta.structure.array.json.comments\n-meta.embedded.json.regexp -comment",
13-
"L:source.json.comments.embedded .meta.launch. .meta.configurations. meta.structure.array.json.comments .meta.command. string.quoted.double.json.comments\n-meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments\n-meta.structure.array.json.comments meta.structure.array.json.comments\n-meta.embedded.json.regexp -comment"
14+
"L:source.json.comments.embedded .meta.servers. meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments .meta.command. string.quoted.double.json.comments\n(.meta.mcp. .meta.servers. -meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments | -meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments)\n-meta.structure.array.json.comments\n-meta.embedded.json.regexp -comment",
15+
"L:source.json.comments.embedded .meta.inputs. meta.structure.array.json.comments .meta.command. string.quoted.double.json.comments\n(.meta.mcp. .meta.inputs. -meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments | -meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments)\n-meta.structure.array.json.comments meta.structure.array.json.comments\n-meta.embedded.json.regexp -comment",
16+
"L:source.json.comments.embedded .meta.launch. .meta.configurations. meta.structure.array.json.comments .meta.command. string.quoted.double.json.comments\n-meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments\n-meta.structure.array.json.comments meta.structure.array.json.comments\n-meta.embedded.json.regexp -comment",
17+
"L:source.json.comments.embedded meta.structure.dictionary.json.comments string.quoted.double.json.comments\n(.meta.initializeCommand. | .meta.onCreateCommand. | .meta.updateContentCommand. | .meta.postCreateCommand. | .meta.postStartCommand. | .meta.postAttachCommand.)\n-meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments meta.structure.dictionary.json.comments\n-meta.structure.array.json.comments meta.structure.array.json.comments\n-meta.structure.array.json.comments meta.structure.dictionary.json.comments\n-meta.embedded.json.regexp -comment"
1418
],
1519
"patterns": [
1620
{

syntaxes/tests/JSONC/attachContainer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Assign Language JSONC
2-
// extensions/configuration-editing/schemas/attachContainer.schema.json
32
{
4-
"$schema": "vscode://schemas/attachContainer.schema.json",
3+
"//$schema": "vscode://schemas/attachContainer.schema.json",
4+
"$schema": "https://raw.githubusercontent.com/microsoft/vscode/refs/heads/main/extensions/configuration-editing/schemas/attachContainer.schema.json",
55
"settings": {
66
"cSpell.ignorePaths": [
77
"package-lock.json",
@@ -13,4 +13,8 @@
1313
".vscode-insiders",
1414
],
1515
},
16+
"postAttachCommand": "python",
17+
"postAttachCommand": [
18+
"python",
19+
],
1620
}

0 commit comments

Comments
 (0)