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

Lost the different coloring for const variables. #405

Open
sungwonnam opened this issue Apr 19, 2024 · 2 comments
Open

Lost the different coloring for const variables. #405

sungwonnam opened this issue Apr 19, 2024 · 2 comments

Comments

@sungwonnam
Copy link

sungwonnam commented Apr 19, 2024

When using on vscode, the theme used to render const variable with blue-ish purple but now const variable coloring is the same as non-const variables. Could we have the different coloring scheme for const variables back?

Screen Shot 2024-04-19 at 11 21 03 AM

@Monokai
Copy link
Owner

Monokai commented Apr 21, 2024

Monokai Pro, like all themes, depends on syntax definitions to color different pieces of code. It could be that the syntax definitions have changed. You can check the definition of the current token via quick panel > Developer: inspect editor tokens and scope.

I think this is C++? I cannot spot a token difference between the first variable and the second one, so there's no way for themes to differentiate between the two.

@sungwonnam
Copy link
Author

sungwonnam commented Apr 23, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants