- Added support for digit separators (
_
).
- Added support for
macro
,augment library
,import augment
,augment
,augmented
.
- Improve handling of braces inside string interpolation so
}
in expressions are not considered the end of the interpolation. - Change nested expression scopes from
string.interpolated.expression.dart
tometa.embedded.expression.dart
.
- Updated the scope for
return
keywords fromkeyword.control.dart
tokeyword.control.return.dart
.
- Don't highlight methods named
get
/set
with type parameters as keywords.
- Don't mark empty double backticks as inline code.
- Include the opening
$
of a simple identifier string interpolation inside thestring.interpolated.expression.dart
scope.
- Removed support for
inline class
keyword and added support forextension type
.
- Added support for
inline class
.
- Fixed highlighting of comments inside type arguments.
- Added support for class modifiers.
- Added support for some patterns.
- Identifiers preceding
=>
are no longer coloured as functions/methods if they do not have parens.
- Fixed highlighting of names that match some
reserved words/classes with a
$
prefix/suffix.
- Improved handling of nested type parameters/arguments.
- Improved handling of class declarations with
both type arguments and
extends
. - Fixed handling of
get
andset
as function names.
- Added an initial version number to the
grammars/dart.json
to help compare versions for projects using a copy of this file.