dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.26k stars 1.58k forks source link

[augmentations] Syntax highlighters implementation #56157

Open itsjustkevin opened 4 months ago

dart-github-bot commented 4 months ago

Summary: The issue concerns the implementation of syntax highlighters for augmentations, which are a new feature in Dart that allows for extending existing classes and libraries.

keertip commented 4 months ago

@DanTup, where would we track the VS code work?

DanTup commented 4 months ago

We can have an issue for it here, or in Dart-Code. I suspect any changes to syntax highlighting will just be in the analysis_server/LSP mappings, and maybe also in the dart-syntax-highlighting repo (which I think we usually just track in issues here in the SDK) which will then just need rolling into Dart-Code.

(usually for these kinds of issues we have a checkbox list of the syntax highlighters - for example see https://github.com/dart-lang/sdk/issues/56187 - maybe we should add this here too?). Edit: And in https://github.com/dart-lang/sdk/issues/56196?