-
Notifications
You must be signed in to change notification settings - Fork 64
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
Python syntax highlighting is worse after the latest update #82
Comments
@dgudim I just spent the last 3 hours banging my head against the wall trying to figure out why all of a sudden my syntax highlighting had suddenly changed. I believe I finally traced the culprit back to this extension, and specifially the update from yesterday re: semantic highlighting. Once i switched that setting from "configuredByTheme" to "false", everything went back to normal. |
@song-dog oh my god, thanks. The theme is probably missing colors for semantic token scopes |
@song-dog @dgudim apologies for the inconvenience there's another PR to enhance these semantic token, but I think it won't address your issue so could you please try either these settings and let me know which would be more helpful to you 🙏
|
@jdinhify The first one looks better IMO |
#83 has been merged & published |
Can we differentiate between 'magic' and regular functions? (file and main) for example? |
I work mainly with JS/TS & don't see these magic functions often (or ever) so not sure about the importance of the distinction. In python, looks like the What would you think is a good colour if have to choose? Colours to pick below - I tried them and thought that the current setting (same colour) is the most ok:
|
Ok, maybe leave it as default then, I'll change it locally, probably to darker orange or dark magenta |
@jdinhify
And also, where can I donate? |
I wasn't a huge fan of the new colours in the "editor.semanticTokenColorCustomizations": {
"[Gruvbox Dark Medium]": {
// use the same variable and function colors for semantic syntax highlighting `on` and `off`
"rules": { "variable": "#83a598", "function": "#fabd2f" }
}
}, |
That's not python though |
Yeah! My comment is only relevant to the new syntax highlighting, not specifically how it affects python. |
thanks @alecdwm there's a discussion for TS in #85 , let's discuss over there I found out in the past few days that semantic tokens colouring can be applied to specific languages, and I'm not a python user so I'd respect the input of python users, so will try to make changes to TS (probably the default since I'm using TS too) while not affecting python as requested here |
thanks @dgudim ,
|
@jdinhify |
Before (variables, function calls and definitions are kinda separated)
After (everything is blue and yellow now, even less separation)
The text was updated successfully, but these errors were encountered: