lit-analyzer icon indicating copy to clipboard operation
lit-analyzer copied to clipboard

Colour selector is shown for symbols that are not colours

Open PeteX opened this issue 3 years ago • 0 comments

Thank you for all your work on this very useful plugin. I just noticed a slight issue when working with the new Javascript private methods. If the name of the method could represent a CSS colour, lit-plugin displays a colour selection box.

screenshot

This only seems to occur when the characters following the # could represent a colour. #add is a legal HTML colour so the box is displayed. If it was changed to something else, for example removeFoo, there is no box because r is not a valid hex digit.

PeteX avatar Jun 12 '21 19:06 PeteX