-
Notifications
You must be signed in to change notification settings - Fork 335
Closed
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serverSomething to be fixed in the Dart analysis serveris enhancement
Milestone
Description
While developing a VS Code theme specifically for Dart files and trying to set styles for each semantic token type, I found that no distinction can be made between top-level declarations and instance (class-based) ones, since they both have the same token type (property.declaration):
Inspecting a top-level variable:
Inspecting an instance field:
This is why they are both colored the same.
This distinction is made, for example in IntelliJ themes, as can be seen here:
Is there any way to be able to have a different semantic token type for this? For example, adding a instance modifier for declarations, getters and setters that are defined inside a class?
Metadata
Metadata
Assignees
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serverSomething to be fixed in the Dart analysis serveris enhancement


