-
Notifications
You must be signed in to change notification settings - Fork 922
Closed
Labels
enhancementNew feature or requestNew feature or requestfixed in next version (main)A fix has been implemented and will appear in an upcoming versionA fix has been implemented and will appear in an upcoming version
Description
Discussed in microsoft/vscode-python#15697
Originally posted by blaylockbk March 17, 2021
VS code has a built-in color picker that is so handy for some languages but is not useable in a Python script.
Sometimes I have a variable or argument that represents a color RGB or Hex, and it would be wonderful if I could modify these with a color picker. It's probably not possible for the extension to automatically know these are colors, but it would be nice if I could manually invoke the color picker with a short cut, as discussed here microsoft/vscode#52364, and then click the color to insert it.
Color variable as RGB
my_color = (.4, .5, .3)
Color argument as a Hex value
import matplotlib.pyplot as plt
plt.plot([1,2,3,4], color="#6666ff")
```</div>
blaylockbk, iyz91, timjfox, defaultxr, jiggie42 and 21 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfixed in next version (main)A fix has been implemented and will appear in an upcoming versionA fix has been implemented and will appear in an upcoming version