@codingame/monaco-vscode-ini-default-extension 1.85.2 → 1.85.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +5 -4
- package/package.json +2 -2
- package/resources/ini.language-configuration.json +1 -0
- package/resources/ini.tmLanguage.json +1 -0
- package/resources/package.json +1 -0
- package/resources/package.nls.json +1 -0
- package/resources/properties.language-configuration.json +1 -0
- package/ini.language-configuration.json +0 -25
- package/ini.tmLanguage.json +0 -113
- package/package.nls.json +0 -4
- package/properties.language-configuration.json +0 -24
package/index.js
CHANGED
|
@@ -3,9 +3,10 @@ import { registerExtension } from 'vscode/extensions';
|
|
|
3
3
|
var manifest = {name:"ini",displayName:"%displayName%",description:"%description%",version:"1.0.0","private":true,publisher:"vscode",license:"MIT",engines:{vscode:"*"},scripts:{"update-grammar":"node ../node_modules/vscode-grammar-updater/bin textmate/ini.tmbundle Syntaxes/Ini.plist ./syntaxes/ini.tmLanguage.json"},contributes:{languages:[{id:"ini",extensions:[".ini"],aliases:["Ini","ini"],configuration:"./ini.language-configuration.json"},{id:"properties",extensions:[".conf",".properties",".cfg",".directory",".gitattributes",".gitconfig",".gitmodules",".editorconfig"],filenames:["gitconfig",".env"],filenamePatterns:["**/.config/git/config","**/.git/config"],aliases:["Properties","properties"],configuration:"./properties.language-configuration.json"}],grammars:[{language:"ini",scopeName:"source.ini",path:"./syntaxes/ini.tmLanguage.json"},{language:"properties",scopeName:"source.ini",path:"./syntaxes/ini.tmLanguage.json"}]},repository:{type:"git",url:"https://github.com/microsoft/vscode.git"},main:undefined};
|
|
4
4
|
|
|
5
5
|
const { registerFileUrl, whenReady } = registerExtension(manifest);
|
|
6
|
-
registerFileUrl('
|
|
7
|
-
registerFileUrl('
|
|
8
|
-
registerFileUrl('
|
|
9
|
-
registerFileUrl('
|
|
6
|
+
registerFileUrl('ini.language-configuration.json', new URL('./resources/ini.language-configuration.json', import.meta.url).toString(), 'application/json');
|
|
7
|
+
registerFileUrl('package.json', new URL('./resources/package.json', import.meta.url).toString(), 'application/json');
|
|
8
|
+
registerFileUrl('package.nls.json', new URL('./resources/package.nls.json', import.meta.url).toString(), 'application/json');
|
|
9
|
+
registerFileUrl('properties.language-configuration.json', new URL('./resources/properties.language-configuration.json', import.meta.url).toString(), 'application/json');
|
|
10
|
+
registerFileUrl('syntaxes/ini.tmLanguage.json', new URL('./resources/ini.tmLanguage.json', import.meta.url).toString(), 'application/json');
|
|
10
11
|
|
|
11
12
|
export { whenReady };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-ini-default-extension",
|
|
3
|
-
"version": "1.85.
|
|
3
|
+
"version": "1.85.4",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -18,6 +18,6 @@
|
|
|
18
18
|
"module": "index.js",
|
|
19
19
|
"types": "index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"vscode": "npm:@codingame/monaco-vscode-api@1.85.
|
|
21
|
+
"vscode": "npm:@codingame/monaco-vscode-api@1.85.4"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comments":{"lineComment":";","blockComment":[";"," "]},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[["{","}"],["[","]"],["(",")"],{"open":"\"","close":"\"","notIn":["string"]},{"open":"'","close":"'","notIn":["string"]}],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["\"","\""],["'","'"]]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"information_for_contributors":["This file has been converted from https://github.com/textmate/ini.tmbundle/blob/master/Syntaxes/Ini.plist","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],"version":"https://github.com/textmate/ini.tmbundle/commit/2af0cbb0704940f967152616f2f1ff0aae6287a6","name":"Ini","scopeName":"source.ini","patterns":[{"begin":"(^[ \\t]+)?(?=#)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ini"}},"end":"(?!\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.ini"}},"end":"\\n","name":"comment.line.number-sign.ini"}]},{"begin":"(^[ \\t]+)?(?=;)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ini"}},"end":"(?!\\G)","patterns":[{"begin":";","beginCaptures":{"0":{"name":"punctuation.definition.comment.ini"}},"end":"\\n","name":"comment.line.semicolon.ini"}]},{"captures":{"1":{"name":"keyword.other.definition.ini"},"2":{"name":"punctuation.separator.key-value.ini"}},"match":"\\b([a-zA-Z0-9_.-]+)\\b\\s*(=)"},{"captures":{"1":{"name":"punctuation.definition.entity.ini"},"3":{"name":"punctuation.definition.entity.ini"}},"match":"^(\\[)(.*?)(\\])","name":"entity.name.section.group-title.ini"},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ini"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.ini"}},"name":"string.quoted.single.ini","patterns":[{"match":"\\\\.","name":"constant.character.escape.ini"}]},{"begin":"\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ini"}},"end":"\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.ini"}},"name":"string.quoted.double.ini"}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"ini","displayName":"%displayName%","description":"%description%","version":"1.0.0","private":true,"publisher":"vscode","license":"MIT","engines":{"vscode":"*"},"scripts":{"update-grammar":"node ../node_modules/vscode-grammar-updater/bin textmate/ini.tmbundle Syntaxes/Ini.plist ./syntaxes/ini.tmLanguage.json"},"contributes":{"languages":[{"id":"ini","extensions":[".ini"],"aliases":["Ini","ini"],"configuration":"./ini.language-configuration.json"},{"id":"properties","extensions":[".conf",".properties",".cfg",".directory",".gitattributes",".gitconfig",".gitmodules",".editorconfig"],"filenames":["gitconfig",".env"],"filenamePatterns":["**/.config/git/config","**/.git/config"],"aliases":["Properties","properties"],"configuration":"./properties.language-configuration.json"}],"grammars":[{"language":"ini","scopeName":"source.ini","path":"./syntaxes/ini.tmLanguage.json"},{"language":"properties","scopeName":"source.ini","path":"./syntaxes/ini.tmLanguage.json"}]},"repository":{"type":"git","url":"https://github.com/microsoft/vscode.git"}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"displayName":"Ini Language Basics","description":"Provides syntax highlighting and bracket matching in Ini files."}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"comments":{"lineComment":"#","blockComment":["#"," "]},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[["{","}"],["[","]"],["(",")"],{"open":"\"","close":"\"","notIn":["string"]}],"surroundingPairs":[["{","}"],["[","]"],["(",")"],["\"","\""],["'","'"]]}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"comments": {
|
|
3
|
-
"lineComment": ";",
|
|
4
|
-
"blockComment": [ ";", " " ]
|
|
5
|
-
},
|
|
6
|
-
"brackets": [
|
|
7
|
-
["{", "}"],
|
|
8
|
-
["[", "]"],
|
|
9
|
-
["(", ")"]
|
|
10
|
-
],
|
|
11
|
-
"autoClosingPairs": [
|
|
12
|
-
["{", "}"],
|
|
13
|
-
["[", "]"],
|
|
14
|
-
["(", ")"],
|
|
15
|
-
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
|
16
|
-
{ "open": "'", "close": "'", "notIn": ["string"] }
|
|
17
|
-
],
|
|
18
|
-
"surroundingPairs": [
|
|
19
|
-
["{", "}"],
|
|
20
|
-
["[", "]"],
|
|
21
|
-
["(", ")"],
|
|
22
|
-
["\"", "\""],
|
|
23
|
-
["'", "'"]
|
|
24
|
-
]
|
|
25
|
-
}
|
package/ini.tmLanguage.json
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"information_for_contributors": [
|
|
3
|
-
"This file has been converted from https://github.com/textmate/ini.tmbundle/blob/master/Syntaxes/Ini.plist",
|
|
4
|
-
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
|
5
|
-
"Once accepted there, we are happy to receive an update request."
|
|
6
|
-
],
|
|
7
|
-
"version": "https://github.com/textmate/ini.tmbundle/commit/2af0cbb0704940f967152616f2f1ff0aae6287a6",
|
|
8
|
-
"name": "Ini",
|
|
9
|
-
"scopeName": "source.ini",
|
|
10
|
-
"patterns": [
|
|
11
|
-
{
|
|
12
|
-
"begin": "(^[ \\t]+)?(?=#)",
|
|
13
|
-
"beginCaptures": {
|
|
14
|
-
"1": {
|
|
15
|
-
"name": "punctuation.whitespace.comment.leading.ini"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"end": "(?!\\G)",
|
|
19
|
-
"patterns": [
|
|
20
|
-
{
|
|
21
|
-
"begin": "#",
|
|
22
|
-
"beginCaptures": {
|
|
23
|
-
"0": {
|
|
24
|
-
"name": "punctuation.definition.comment.ini"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"end": "\\n",
|
|
28
|
-
"name": "comment.line.number-sign.ini"
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"begin": "(^[ \\t]+)?(?=;)",
|
|
34
|
-
"beginCaptures": {
|
|
35
|
-
"1": {
|
|
36
|
-
"name": "punctuation.whitespace.comment.leading.ini"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"end": "(?!\\G)",
|
|
40
|
-
"patterns": [
|
|
41
|
-
{
|
|
42
|
-
"begin": ";",
|
|
43
|
-
"beginCaptures": {
|
|
44
|
-
"0": {
|
|
45
|
-
"name": "punctuation.definition.comment.ini"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"end": "\\n",
|
|
49
|
-
"name": "comment.line.semicolon.ini"
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"captures": {
|
|
55
|
-
"1": {
|
|
56
|
-
"name": "keyword.other.definition.ini"
|
|
57
|
-
},
|
|
58
|
-
"2": {
|
|
59
|
-
"name": "punctuation.separator.key-value.ini"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"match": "\\b([a-zA-Z0-9_.-]+)\\b\\s*(=)"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"captures": {
|
|
66
|
-
"1": {
|
|
67
|
-
"name": "punctuation.definition.entity.ini"
|
|
68
|
-
},
|
|
69
|
-
"3": {
|
|
70
|
-
"name": "punctuation.definition.entity.ini"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"match": "^(\\[)(.*?)(\\])",
|
|
74
|
-
"name": "entity.name.section.group-title.ini"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"begin": "'",
|
|
78
|
-
"beginCaptures": {
|
|
79
|
-
"0": {
|
|
80
|
-
"name": "punctuation.definition.string.begin.ini"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"end": "'",
|
|
84
|
-
"endCaptures": {
|
|
85
|
-
"0": {
|
|
86
|
-
"name": "punctuation.definition.string.end.ini"
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"name": "string.quoted.single.ini",
|
|
90
|
-
"patterns": [
|
|
91
|
-
{
|
|
92
|
-
"match": "\\\\.",
|
|
93
|
-
"name": "constant.character.escape.ini"
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"begin": "\"",
|
|
99
|
-
"beginCaptures": {
|
|
100
|
-
"0": {
|
|
101
|
-
"name": "punctuation.definition.string.begin.ini"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"end": "\"",
|
|
105
|
-
"endCaptures": {
|
|
106
|
-
"0": {
|
|
107
|
-
"name": "punctuation.definition.string.end.ini"
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"name": "string.quoted.double.ini"
|
|
111
|
-
}
|
|
112
|
-
]
|
|
113
|
-
}
|
package/package.nls.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"comments": {
|
|
3
|
-
"lineComment": "#",
|
|
4
|
-
"blockComment": [ "#", " " ]
|
|
5
|
-
},
|
|
6
|
-
"brackets": [
|
|
7
|
-
["{", "}"],
|
|
8
|
-
["[", "]"],
|
|
9
|
-
["(", ")"]
|
|
10
|
-
],
|
|
11
|
-
"autoClosingPairs": [
|
|
12
|
-
["{", "}"],
|
|
13
|
-
["[", "]"],
|
|
14
|
-
["(", ")"],
|
|
15
|
-
{ "open": "\"", "close": "\"", "notIn": ["string"] }
|
|
16
|
-
],
|
|
17
|
-
"surroundingPairs": [
|
|
18
|
-
["{", "}"],
|
|
19
|
-
["[", "]"],
|
|
20
|
-
["(", ")"],
|
|
21
|
-
["\"", "\""],
|
|
22
|
-
["'", "'"]
|
|
23
|
-
]
|
|
24
|
-
}
|