Skip to content

Commit 1d9e840

Browse files
Dart support
1 parent 4c08ec4 commit 1d9e840

File tree

7 files changed

+562
-0
lines changed

7 files changed

+562
-0
lines changed

feature-editor/impl/src/main/assets/languages.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
"grammar": "languages/css/syntaxes/css.tmLanguage.json",
3636
"languageConfiguration": "languages/css/language-configuration.json"
3737
},
38+
{
39+
"name": "dart",
40+
"scopeName": "source.dart",
41+
"grammar": "languages/dart/syntaxes/dart.tmLanguage.json",
42+
"languageConfiguration": "languages/dart/language-configuration.json"
43+
},
3844
{
3945
"name": "docker",
4046
"scopeName": "source.dockerfile",
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"comments": {
3+
"lineComment": "//",
4+
"blockComment": [ "/*", "*/" ]
5+
},
6+
"brackets": [
7+
["{", "}"],
8+
["[", "]"],
9+
["(", ")"]
10+
],
11+
"autoClosingPairs": [
12+
{ "open": "{", "close": "}" },
13+
{ "open": "[", "close": "]" },
14+
{ "open": "(", "close": ")" },
15+
{ "open": "'", "close": "'", "notIn": ["string", "comment"] },
16+
{ "open": "\"", "close": "\"", "notIn": ["string"] },
17+
{ "open": "`", "close": "`", "notIn": ["string", "comment"] },
18+
{ "open": "/**", "close": " */", "notIn": ["string"] }
19+
],
20+
"surroundingPairs": [
21+
["{", "}"],
22+
["[", "]"],
23+
["(", ")"],
24+
["<", ">"],
25+
["'", "'"],
26+
["\"", "\""],
27+
["`", "`"]
28+
]
29+
}

0 commit comments

Comments
 (0)