When using PyCodeJoJo alongside Pylance, you may notice two color pickers appearing on the left side of color strings in Python files. This is because Pylance has its own color picker implementation that only supports "#ffffff" and "#ffffffff" formats in .py files. If you want to keep only one color picker, you can disable Pylance's color picker by:
Press Ctrl + , to open settings
Search for python.analysis.enableColorPicker
Uncheck this option to disable Pylance's color picker
PyCodeJoJo 提供更全面的取色器支持:
PyCodeJoJo offers more comprehensive color picking support with:
Support for all file types (not just .py files)
Support for 7 different color formats:
#fff
#ffffff
#ffffffff (with alpha channel)
rgb(X, X, X)
rgba(X, X, X, X)
(X, X, X)
(X, X, X, X)
你可以通过 VSCode 设置自定义启用的功能:
You can customize which features are enabled through VSCode settings: