night-owl-vscode-theme
night-owl-vscode-theme copied to clipboard
Inconsistent "const" color in TypeScript inside class
Hi,
I recently started working with TypeScript, and I noticed that there is some inconsistency with const
color when used inside classes.
Hit a similar issue - to further illustrate, compare "payload" and "params" in Nightowl (first screenshot) and the standard vscode dark theme (second screenshot):
Obviously night owl looks better :) - but "payload" should be consistently white
It's not that payload
should be always white- it's that the const
within classes should be pink as it is outside of a class:
@MrDrummer You're right, but I think both are issues (arguably I could've raised a separate issue)
Have you tried to set your settings:
"editor.semanticHighlighting.enabled": false
I should note that it seems to work fine on my linux laptop at work. I freqently keep my work laptop and personal windows PC's settings in sync using an extension that uses a private gist to store the settings, extensions and snippets.
Adding the setting you suggested and reloading code didn't change anything.
I have the same issues with classes. I'd love to help debugging this, but I'm not quite sure how.
I published a PR that fixes this issue, please feel free to take a look if you need a fix for this! I have a packaged VSIX extension file available here if you want to install it directly.