@codingame/monaco-vscode-dart-default-extension 27.0.0 → 28.0.1
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 +1 -1
- package/package.json +2 -2
- package/resources/dart.tmLanguage.json +1 -1
package/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var manifest = {name:"dart",displayName:"%displayName%",description:"%descriptio
|
|
|
4
4
|
|
|
5
5
|
const { registerFileUrl, whenReady } = registerExtension(manifest, undefined, {"system":true});
|
|
6
6
|
registerFileUrl('./language-configuration.json', new URL('./resources/language-configuration.json', import.meta.url).toString(), {"mimeType":"application/json","size":494});
|
|
7
|
-
registerFileUrl('./syntaxes/dart.tmLanguage.json', new URL('./resources/dart.tmLanguage.json', import.meta.url).toString(), {"mimeType":"application/json","size":
|
|
7
|
+
registerFileUrl('./syntaxes/dart.tmLanguage.json', new URL('./resources/dart.tmLanguage.json', import.meta.url).toString(), {"mimeType":"application/json","size":8675});
|
|
8
8
|
registerFileUrl('package.json', new URL('./resources/package.json', import.meta.url).toString(), {"mimeType":"application/json","size":596});
|
|
9
9
|
registerFileUrl('package.nls.json', new URL('./resources/package.nls.json', import.meta.url).toString(), {"mimeType":"application/json","size":117});
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-dart-default-extension",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "28.0.1",
|
|
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
|
-
"@codingame/monaco-vscode-api": "
|
|
21
|
+
"@codingame/monaco-vscode-api": "28.0.1"
|
|
22
22
|
}
|
|
23
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"information_for_contributors":["This file has been converted from https://github.com/dart-lang/dart-syntax-highlight/blob/master/grammars/dart.json","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/dart-lang/dart-syntax-highlight/commit/
|
|
1
|
+
{"information_for_contributors":["This file has been converted from https://github.com/dart-lang/dart-syntax-highlight/blob/master/grammars/dart.json","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/dart-lang/dart-syntax-highlight/commit/b2e04fbe2334bfe56940106b652f4c5799affbb1","name":"Dart","scopeName":"source.dart","patterns":[{"name":"meta.preprocessor.script.dart","match":"^(#!.*)$"},{"name":"meta.declaration.dart","begin":"^\\w*\\b(augment\\s+library|library|import\\s+augment|import|part\\s+of|part|export)\\b","beginCaptures":{"0":{"name":"keyword.other.import.dart"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.dart"}},"patterns":[{"include":"#strings"},{"include":"#comments"},{"name":"keyword.other.import.dart","match":"\\b(as|show|hide)\\b"},{"name":"keyword.control.dart","match":"\\b(if)\\b"}]},{"include":"#comments"},{"include":"#punctuation"},{"include":"#annotations"},{"include":"#keywords"},{"include":"#constants-and-special-vars"},{"include":"#class-identifier-with-optional-factory-method"},{"include":"#function-identifier"},{"include":"#operators"},{"include":"#strings"}],"repository":{"dartdoc-codeblock-triple":{"begin":"^\\s*///\\s*(?!\\s*```)","end":"\n","contentName":"variable.other.source.dart"},"dartdoc-codeblock-block":{"begin":"^\\s*\\*\\s*(?!(\\s*```|/))","end":"\n","contentName":"variable.other.source.dart"},"dartdoc":{"patterns":[{"match":"(\\[.*?\\])","captures":{"0":{"name":"variable.name.source.dart"}}},{"begin":"^\\s*///\\s*(```)","end":"^\\s*///\\s*(```)|^(?!\\s*///)","patterns":[{"include":"#dartdoc-codeblock-triple"}]},{"begin":"^\\s*\\*\\s*(```)","end":"^\\s*\\*\\s*(```)|^(?=\\s*\\*/)","patterns":[{"include":"#dartdoc-codeblock-block"}]},{"match":"`[^`\n]+`","name":"variable.other.source.dart"},{"match":"(?:\\*|\\/\\/)\\s{4,}(.*?)(?=($|\\*\\/))","captures":{"1":{"name":"variable.other.source.dart"}}}]},"comments":{"patterns":[{"name":"comment.block.empty.dart","match":"/\\*\\*/","captures":{"0":{"name":"punctuation.definition.comment.dart"}}},{"include":"#comments-doc-oldschool"},{"include":"#comments-doc"},{"include":"#comments-inline"}]},"comments-doc-oldschool":{"patterns":[{"name":"comment.block.documentation.dart","begin":"/\\*\\*","end":"\\*/","patterns":[{"include":"#comments-doc-oldschool"},{"include":"#comments-block"},{"include":"#dartdoc"}]}]},"comments-doc":{"patterns":[{"name":"comment.block.documentation.dart","begin":"///","end":"^(?!\\s*///)","patterns":[{"include":"#dartdoc"}]}]},"comments-inline":{"patterns":[{"include":"#comments-block"},{"match":"((//).*)$","captures":{"1":{"name":"comment.line.double-slash.dart"}}}]},"comments-block":{"patterns":[{"name":"comment.block.dart","begin":"/\\*","end":"\\*/","patterns":[{"include":"#comments-block"}]}]},"annotations":{"patterns":[{"name":"storage.type.annotation.dart","match":"@[a-zA-Z]+"}]},"constants-and-special-vars":{"patterns":[{"name":"constant.language.dart","match":"(?<!\\$)\\b(true|false|null)\\b(?!\\$)"},{"name":"variable.language.dart","match":"(?<!\\$)\\b(this|super|augmented)\\b(?!\\$)"},{"name":"constant.numeric.dart","match":"(?<!\\$)\\b((0(x|X)[0-9a-fA-F][0-9a-fA-F_]*)|(([0-9][0-9_]*\\.?[0-9_]*)|(\\.[0-9][0-9_]*))((e|E)(\\+|-)?[0-9][0-9_]*)?)\\b(?!\\$)"}]},"class-identifier-with-optional-factory-method":{"patterns":[{"match":"(?<!\\$)\\b(bool|num|int|double|dynamic)\\b(?!\\$)\\s*(factory\\b)?","captures":{"1":{"name":"support.class.dart"},"2":{"name":"entity.name.function.dart"}}},{"match":"(?<!\\$)\\b(void)\\b(?!\\$)\\s*(factory\\b)?","captures":{"1":{"name":"storage.type.primitive.dart"},"2":{"name":"entity.name.function.dart"}}},{"begin":"(?<![a-zA-Z0-9_$])([_$]*[A-Z][a-zA-Z0-9_$]*)\\b\\s*(factory\\b)?","end":"(?!<)","beginCaptures":{"1":{"name":"support.class.dart"},"2":{"name":"entity.name.function.dart"}},"patterns":[{"include":"#type-args"}]}]},"class-identifier":{"patterns":[{"match":"(?<!\\$)\\b(bool|num|int|double|dynamic)\\b(?!\\$)","name":"support.class.dart"},{"match":"(?<!\\$)\\bvoid\\b(?!\\$)","name":"storage.type.primitive.dart"},{"begin":"(?<![a-zA-Z0-9_$])([_$]*[A-Z][a-zA-Z0-9_$]*)\\b","end":"(?!<)","beginCaptures":{"1":{"name":"support.class.dart"}},"patterns":[{"include":"#type-args"}]}]},"function-identifier":{"patterns":[{"match":"([_$]*[a-z][a-zA-Z0-9_$]*)(<(?:[a-zA-Z0-9_$<>?]|,\\s*|\\s+extends\\s+)+>)?[!?]?\\(","captures":{"1":{"name":"entity.name.function.dart"},"2":{"patterns":[{"include":"#type-args"}]}}},{"match":"(?<=\\.)new\\b","name":"entity.name.function.dart"}]},"type-args":{"begin":"(<)","end":"(>)","beginCaptures":{"1":{"name":"other.source.dart"}},"endCaptures":{"1":{"name":"other.source.dart"}},"patterns":[{"include":"#class-identifier"},{"match":","},{"name":"keyword.declaration.dart","match":"extends"},{"include":"#comments"}]},"keywords":{"patterns":[{"name":"keyword.cast.dart","match":"(?<!\\$)\\bas\\b(?!\\$)"},{"name":"keyword.control.catch-exception.dart","match":"(?<!\\$)\\b(try|on|catch|finally|throw|rethrow)\\b(?!\\$)"},{"name":"keyword.control.dart","match":"(?<!\\$)\\b(break|case|continue|default|do|else|for|if|in|switch|while|when)\\b(?!\\$)"},{"name":"keyword.control.dart","match":"(?<!\\$)\\b(sync(\\*)?|async(\\*)?|await|yield(\\*)?)\\b(?!\\$)"},{"name":"keyword.control.dart","match":"(?<!\\$)\\bassert\\b(?!\\$)"},{"name":"keyword.new.dart","match":"(?<![\\$\\.])\\b(new)\\b(?!\\$)"},{"name":"keyword.control.return.dart","match":"(?<!\\$)\\b(return)\\b(?!\\$)"},{"name":"keyword.declaration.dart","match":"(?<!\\$)\\b(abstract|sealed|base|interface|class|enum|extends|extension\\s+type|extension|external|factory|implements|get(?![(<])|mixin|native|operator|set(?![(<])|typedef|with|covariant)\\b(?!\\$)"},{"name":"storage.modifier.dart","match":"(?<!\\$)\\b(macro|augment|static|final|const|required|late)\\b(?!\\$)"},{"name":"storage.type.primitive.dart","match":"(?<!\\$)\\b(?:var)\\b(?!\\$)"}]},"operators":{"patterns":[{"name":"keyword.operator.dart","match":"(?<!\\$)\\b(is\\!?)\\b(?!\\$)"},{"name":"keyword.operator.ternary.dart","match":"\\?|:"},{"name":"keyword.operator.bitwise.dart","match":"(<<|>>>?|~|\\^|\\||&)"},{"name":"keyword.operator.assignment.bitwise.dart","match":"((&|\\^|\\||<<|>>>?)=)"},{"name":"keyword.operator.closure.dart","match":"(=>)"},{"name":"keyword.operator.comparison.dart","match":"(==|!=|<=?|>=?)"},{"name":"keyword.operator.assignment.arithmetic.dart","match":"(([+*/%-]|\\~)=)"},{"name":"keyword.operator.assignment.dart","match":"(=)"},{"name":"keyword.operator.increment-decrement.dart","match":"(\\-\\-|\\+\\+)"},{"name":"keyword.operator.arithmetic.dart","match":"(\\-|\\+|\\*|\\/|\\~\\/|%)"},{"name":"keyword.operator.logical.dart","match":"(!|&&|\\|\\|)"}]},"expression":{"patterns":[{"include":"#constants-and-special-vars"},{"include":"#class-identifier-with-optional-factory-method"},{"include":"#function-identifier"},{"include":"#strings"},{"name":"variable.parameter.dart","match":"[a-zA-Z0-9_]+"},{"begin":"\\{","end":"\\}","patterns":[{"include":"#expression"}]}]},"string-interp":{"patterns":[{"name":"meta.embedded.expression.dart","match":"\\$([a-zA-Z0-9_]+)","captures":{"1":{"name":"variable.parameter.dart"}}},{"name":"meta.embedded.expression.dart","begin":"\\$\\{","end":"\\}","patterns":[{"include":"#expression"}]},{"name":"constant.character.escape.dart","match":"\\\\."}]},"strings":{"patterns":[{"name":"string.interpolated.triple.double.dart","begin":"(?<!r)\"\"\"","end":"\"\"\"(?!\")","patterns":[{"include":"#string-interp"}]},{"name":"string.interpolated.triple.single.dart","begin":"(?<!r)'''","end":"'''(?!')","patterns":[{"include":"#string-interp"}]},{"name":"string.quoted.triple.double.dart","begin":"r\"\"\"","end":"\"\"\"(?!\")"},{"name":"string.quoted.triple.single.dart","begin":"r'''","end":"'''(?!')"},{"name":"string.interpolated.double.dart","begin":"(?<!\\|r)\"","end":"\"","patterns":[{"name":"invalid.string.newline","match":"\\n"},{"include":"#string-interp"}]},{"name":"string.quoted.double.dart","begin":"r\"","end":"\"","patterns":[{"name":"invalid.string.newline","match":"\\n"}]},{"name":"string.interpolated.single.dart","begin":"(?<!\\|r)'","end":"'","patterns":[{"name":"invalid.string.newline","match":"\\n"},{"include":"#string-interp"}]},{"name":"string.quoted.single.dart","begin":"r'","end":"'","patterns":[{"name":"invalid.string.newline","match":"\\n"}]}]},"punctuation":{"patterns":[{"name":"punctuation.comma.dart","match":","},{"name":"punctuation.terminator.dart","match":";"},{"name":"punctuation.dot.dart","match":"\\."}]}}}
|