After making 495 <div>
's with a background-color
, Visual Studio Code doesn't give me anymore color pickers.
Is there a color picker limit? Does Big Color Picker deny us from getting too many color pickers?
I would have expected it to make more color pickers.
Yes, there is a hardcoded limit of 500 color pickers to prevent performance issues when opening a file containing a large number of colors.
This can be overwritten using the following user-setting:
{
// Controls the max number of color decorators that can be rendered in an editor at once.
"editor.colorDecoratorsLimit": 999
}
The default of 500 can be found on Visual Studio Code's Default settings page.