You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I've mentioned in #223 (comment), PR #223 seems to remove highlight of the conventional parameter self in Python.
Hello @SmitAkbari26 , I find this merge make `self` parameter lose its highlight when semantic tokens are enabled. Maybe more scopes should be considered.
Before:
After:
Python language server: Provided by the extension Pylance
I'm afraid that it's probably unreasonable. To compared with, we can see how the theme One Dark Pro handles this situation.
self is distinct from other variables, both in the color and style, therefore developers quickly distinguish them.
In fact, the problem is that cobalt2 theme doesn't support Python semantic highlight very much. I think this feature is necessary for Python devs including myself. Thanks for your consideration.
The text was updated successfully, but these errors were encountered:
SmitAkbari26
added a commit
to SmitAkbari26/cobalt2-vscode
that referenced
this issue
Aug 20, 2023
Apologies for the delayed response, as I haven't been actively checking GitHub lately. I solve this self parameter lose its highlight when semantic tokens are enabled.
As I've mentioned in #223 (comment), PR #223 seems to remove highlight of the conventional parameter
self
in Python.I'm afraid that it's probably unreasonable. To compared with, we can see how the theme One Dark Pro handles this situation.
self
is distinct from other variables, both in the color and style, therefore developers quickly distinguish them.In fact, the problem is that cobalt2 theme doesn't support Python semantic highlight very much. I think this feature is necessary for Python devs including myself. Thanks for your consideration.
The text was updated successfully, but these errors were encountered: