-
Notifications
You must be signed in to change notification settings - Fork 14
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
Data structure name has a different colour to a standalone field #146
Comments
I'm pretty sure that it's not the theme itself that is causing the problem. I just think it's more obvious when I swapped to a dark theme. I could solve the problem but I had to change the code for the pattern to include Did you need to make any changes to the extension for the image you took in Monokai? |
No, my screenshot was the extension without changes. |
While throwing Clicking through other themes without the change shows the same inconsistency between Monokai vs Dark Modern. Which leads me to think Monokai is the odd one out here. I suspect I need to change some of the naming prefixes for the regex and confirm it has consistent behavior across all themes without regressing the highlighting of the prior tests. |
I'm not sure if this is deliberate but a data structure variable name is shown as a different colour to a standalone field name. I tend to use the a light modern theme where the difference is barely noticeable but when using the dark modern theme it becomes more obvious.
If I add a
freeidentifiers
include into the pattern I get the colours I was expecting.I've not played around with more complex examples yet as I first wanted to check this wasn't deliberate - I know some of the complex patterns handle more than just data structures i.e. procedures, prototypes, etc.
The text was updated successfully, but these errors were encountered: