-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Good evening, I am returning to you with two suggestions for improving syntax highlighting:
If case
The word case in this example allows you to perform a type comparison by casting the variable according to its type.
Therefore, I would expect the keyword case to have the same highlighting as void or if.

Reproduction and testing
final String? element = 'Hello World';
if (element case String value) {
print(value);
}final
The keyword final is reserved, so I expect it to have the same syntax highlighting as void.

Reproduction and testing
final String element = 'Hello World';
final class Foo {
final String element = 'Hello World';
}override
I expect @ to have the same colour as override.

Reproduction and testing
abstract interface class AbstractClass {
String get element;
}
final class MyClass implements AbstractClass {
@override
String get element = 'Hello World;
}Thanks a lot π
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels