Skip to content

Inconsistent variable highlighting? #42

Open
@pikeas

Description

@pikeas

OS X 10.11.2, Sublime Text 3113, Gravity theme, latest MagicPython.

Trying out MagicPython from PythonImproved. In the first Python file I opened, I see:

screen shot 2016-05-13 at 17 54 30

X_train and X_test are highlighted purple, but y_train and y_test are white. Capitalizing the Y vars turns them purple.

I'm assuming that any word starting with a capital is treated as a "constant" and colored accordingly. Is this intentional? Wouldn't checking for ALL_CAPS be better?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions