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
I know for sure this change was introduced last year and is annoying me already for a while. Previously decorators used to be highlighted fully, including dotted paths. This looks annoying, especially for properties, but I'm ready to accept "works as intended" resolution too:)
Scopes are assigned as follows:
Line start: source.python meta.annotation.python punctuation.definition.annotation.python
"at" sign and lone decorator name: source.python meta.annotation.python variable.annotation.python
period in path: source.python meta.annotation.python meta.path.python punctuation.accessor.dot.python
last path component: source.python meta.annotation.python meta.path.python variable.annotation.python
Tbh, this smells like a bug in ST syntax (why does variable.annotation.python not apply to qualifying components?) - if you agree, I'll address this question to ST team instead.
Let's begin with an image:
I know for sure this change was introduced last year and is annoying me already for a while. Previously decorators used to be highlighted fully, including dotted paths. This looks annoying, especially for properties, but I'm ready to accept "works as intended" resolution too:)
Scopes are assigned as follows:
Tbh, this smells like a bug in ST syntax (why does
variable.annotation.python
not apply to qualifying components?) - if you agree, I'll address this question to ST team instead.Code to reproduce:
The text was updated successfully, but these errors were encountered: