Skip to content

Treat single-character capital names as class instead of constant #34

Closed
@uranusjr

Description

@uranusjr

Currently, single-character words are highlighted like ALL_CAPS_NAMES, but in practice they are usually class names instead, such as Q and F objects in Django.

It might be better to change the highlighting rule of constants to require at least two characters instead. (Or even two uppercase characters because names like _N also look like a class. This might just be me though.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions