Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions
Description of the Change
This PR tokenizes the names of subclasses listed within class definitions, for Python files matched by the tree-sitter grammar.
Before:
After:
Alternate Designs
I don't know if the Atom team desires to tokenize these subclass names differently; I figured entity.other.inherited-class was the most appropriate scope, as it's based on the same scope from the first-mate grammar.
Benefits
Syntax highlighting that is more familiar to longtime users of the Python first-mate grammar.
Possible Drawbacks
Perhaps some might prefer different colors be used for the subclass names, though I personally like them.
Requirements
Description of the Change
This PR tokenizes the names of subclasses listed within class definitions, for Python files matched by the tree-sitter grammar.
Before:
After:
Alternate Designs
I don't know if the Atom team desires to tokenize these subclass names differently; I figured
entity.other.inherited-class
was the most appropriate scope, as it's based on the same scope from the first-mate grammar.Benefits
Syntax highlighting that is more familiar to longtime users of the Python first-mate grammar.
Possible Drawbacks
Perhaps some might prefer different colors be used for the subclass names, though I personally like them.
Applicable Issues
N/A