Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable names have color picker when ignoreVariableName is set #109

Closed
nstringham opened this issue Jun 1, 2024 · 3 comments
Closed

Variable names have color picker when ignoreVariableName is set #109

nstringham opened this issue Jun 1, 2024 · 3 comments
Labels
bug Something isn't working formats Related to color formats

Comments

@nstringham
Copy link

Problem

When I use a variable name in typescript it shows a color picker even though ignoreVariableName is set.

image

Workaround

I am working around this issue with the following config

"color-picker-universal.formatsFrom": ["*", "!named"]
@jeronimoek jeronimoek added bug Something isn't working formats Related to color formats labels Jul 3, 2024
@jeronimoek
Copy link
Owner

jeronimoek commented Jul 21, 2024

Hi! Just uploaded a new version with a fix to this. Please let me know of any new issues
#112

@nstringham
Copy link
Author

A really strange thing happens where in some cases it incorrectly puts the color picker on a variable name but only if there is a syntax error.
image

@jeronimoek
Copy link
Owner

The green variable is not detected by vscode as defined, therefore it probably is not considered a variable. I'm currently only using the vscode API to determine the variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working formats Related to color formats
Projects
None yet
Development

No branches or pull requests

2 participants