vscode icon indicating copy to clipboard operation
vscode copied to clipboard

[CSS] provide color picker

Open v-pavanp opened this issue 10 years ago • 11 comments

  • VSCode Version:
  • OS Version:

Steps to Reproduce:

  1. Launch app and Open any CSS file
  2. Try to add some color property to any css class
  3. Press # to get color options.

Actual:

  1. It is displaying only few color options.
  2. When user insert some value with #code (like : #00) and then intellisense is not guiding. image

Expected:

  1. When user press # or #00 then it should display all the available color options.
  2. I tried with Visual Studio 2015 and Visual studio is showing correct options and guiding properly to choose color with # code. image

v-pavanp avatar Mar 16 '16 17:03 v-pavanp

Would be nice to have color picker like in Brackets. Image of Brackets Color picker

h2u avatar Mar 17 '16 09:03 h2u

vs code might be more excellent than any other

zbandhan avatar Mar 21 '16 21:03 zbandhan

cc @dstorey I would like to be able to transplant the Chrome DevTools color picker to here.

yisibl avatar Jun 08 '16 06:06 yisibl

@aeschli all browser inc. Edge 14 now include a native colour picker with input type="color", so it may be possible to just use that. For VS code it would presumably use the Chrome colour picker, which is the platform's native colour picker on Win and Mac. I'm not sure about Linux. It should work for Monaco too. In Edge we don't use the system colour picker but instead a custom touch friendly one built in HTML which has been made fully accessible.

dstorey avatar Jun 08 '16 15:06 dstorey

https://youtu.be/fO9TR5aYt0E?t=93

0x4E69676874466F78 avatar Jul 03 '16 20:07 0x4E69676874466F78

Agree, a color picker like Brackets, Atom, Sublime or most other code editors. I was shocked that Code had no such solution.

smlombardi avatar Oct 05 '16 18:10 smlombardi

A Windows only extension was released recently that provides a color picker which may be useful to some for the time being.

Tyriar avatar Oct 28 '16 16:10 Tyriar

Exactly one year ago, I published Color Picker extension. That does not launch by pressing # but it might help you.

And the installation seems to fail sometimes in some environments. I'd be glad if you report something to my repository.

anseki avatar Feb 20 '17 18:02 anseki

I think this might be a duplicate of #625

erichiller avatar Feb 27 '17 21:02 erichiller

Thanks @erichiller

Tyriar avatar Feb 27 '17 22:02 Tyriar

Forget about the color picker, just add the color preview circle please!

andreszs avatar May 04 '17 21:05 andreszs