editor icon indicating copy to clipboard operation
editor copied to clipboard

Color picker

Open solvedDev opened this issue 2 years ago • 1 comments

Where applicable, allow users to open a color picker to edit a hex color/rgba color object.

  • [x] Monaco
  • [ ] Tree editor

solvedDev avatar Oct 10 '21 16:10 solvedDev

WIP https://github.com/bridge-core/editor/tree/feat/color-picker

Default Implementations: https://github.com/microsoft/monaco-editor/blob/35eb0efbc039827432002ccc17b120eb0874d70f/src/language/json/jsonWorker.ts#L94-L102

https://github.com/microsoft/vscode-json-languageservice/blob/12275e448a91973777c94a2e5d92c961f281231a/src/services/jsonDocumentSymbols.ts#L239-L289

It would be cool to get the locations of colors from the schema, but I don't think this is something we can do yet without a custom json language service

Joelant05 avatar Aug 26 '22 12:08 Joelant05