A TextMate language grammar for Dart.
Used by:
- The Dart-Code Dart extension for VS Code.
- VS Code's built-in Dart basic language support.
- Dart & Flutter DevTools.
- GitHub via Linguist.
- dart.dev via Shiki.
When updating the grammar, consider raising issues (or PRs) to update the following files which do not have automated updates from this grammar:
- Dart-Code/Dart-Code/syntaxes/dart.json
- flutter/devtools/packages/devtools_app/assets/dart_syntax.json
highlight.js is web based syntax highlighter that
can syntax highlight <code>
references on a web page.
- Dart-specific code
- Used by:
CodeMirror is a web-based editing component with Dart highlighting support.
- CodeMirror 5 Dart mode implementation
- Used by:
- DartPad