Mo Ok
Mo Ok

Reputation: 544

color and icon preview extension in VSCode for Flutter

I'am using Visual Studio Code for Flutter Developing and i really like to have a feature that exist in Intelij IDE Which it is showing the Color of Color's Name and showing the Icon of the Icon's Name beside the code like in the picture .. Picture

I've found many extensions but it not supporting dart ..

Upvotes: 3

Views: 5953

Answers (1)

Danny Tuppeny
Danny Tuppeny

Reputation: 42343

(Updated Answer)

These are now available in the Flutter VS Code extension and enabled by default:

Flutter gutter icons in VS Code

Flutter colour previews in VS Code

(Original Answer)

This is not currently supported in the Dart/Flutter plugins for VS Code. However as a workaround the tooltips for the colours/icons should show previews in their descriptions.

To implement it in VS Code requires some supporting changes in the Dart/Flutter SDKs. If you want to be notified when there's progress on this, click the Subscribe button on https://github.com/Dart-Code/Dart-Code/issues/807 (also add a Thumbs Up if you'd really like to see it to help use prioritise open issues).

Upvotes: 4

Related Questions