Most of the languages(i.e. Java, Scala, Kotlin, Swift) can specify a different syntax highlighting color on Interface,class, abstract class, protocol in Intellij IDE.
It is a common language features provided by the "Analysis Server" out of box.
This feature helps programmers to distinguish the typing when they are writing/reading code.
I submitted "Feature request: Dart syntax highlight enhancement for mixin & abstract class" and got responded that they use Dart Analysis Server to do syntax highlight.
Dart code highlighting is powered by the Dart Analysis Server, a tool from the Dart SDK. IDE only highlights what the server tells it to highlight. The variety of highlighting types is also managed by the server. Current server API doesn't have separate highlighting types for mixins and abstract classes. See HighlightRegionType definition.
You might want to file a request in the Dart SDK's issue tracker and paste a link to the issue here. Once it's done on the server end we'll be able to support it on the Dart plugin end.
-- Alexander Doroshko 1 Apr 2019 17:34
OS: MacOS 10.14.3
Incentive
Most of the languages(i.e. Java, Scala, Kotlin, Swift) can specify a different syntax highlighting color on
Interface
,class
,abstract class
,protocol
in Intellij IDE.Example: Kotlin
Become Inefficient when reading codes that are written by others
without this feature, Coder will lose a lot of valuable information that can improve productivity.
Source
Case 1
Source
Case 2
Source
Case 3
Source
Case 4
Source
IDE Features Request
I submitted "Feature request: Dart syntax highlight enhancement for mixin & abstract class" and got responded that they use Dart Analysis Server to do syntax highlight.
Ref: https://youtrack.jetbrains.com/issue/WEB-37951?p=IDEA-209533
Disclaimer: I have built an universal color scheme for Intellij IDEs across different languages.