Microsoft/monaco-editor
Feature request: Implement syntax highlighting support for Dart/Flutter
オープン
#1,827 opened on 2020/02/11
feature-requestgrammarshelp wanted
Repository metrics
- Stars
- (46,002 個のスター)
- PR merge metrics
- (平均マージ 6h 26m) (30d で 15 merged PRs)
説明
Feature request
Add syntax highlighting support for the Dart (and Flutter) programming language. Official Dart VS Code extension syntax files https://github.com/Dart-Code/Dart-Code/tree/master/syntaxes Monaco language configuration for Dart
const dartConfiguration = {
comments: {
lineComment: "//",
blockComment: [ "/*", "*/" ]
},
brackets: [
["{", "}"],
["[", "]"],
["(", ")"]
],
autoClosingPairs: [
{ open: "{", close: "}" },
{ open: "[", close: "]" },
{ open: "(", close: ")" },
{ open: "'", close: "'", notIn: ["string", "comment"] },
{ open: "\"", close: "\"", notIn: ["string"] },
{ open: "`", close: "`", notIn: ["string", "comment"] },
{ open: "/**", close: " */", notIn: ["string"] }
],
surroundingPairs: [
["{", "}"],
["[", "]"],
["(", ")"],
["<", ">"],
["'", "'"],
["\"", "\""],
["`", "`"]
]
};
Help Wanted