MagicPython Versions Save

Cutting edge Python syntax highlighter for Sublime Text, Atom and Visual Studio Code. Used by GitHub to highlight your Python code!

v1.1.0

5 years ago
  • Bug fixes
  • Better Python 3.7 support

v1.0.12

6 years ago
  • Lex . as punctuation.separator.period.python.

v1.0.11

6 years ago
  • __traceback__ attribute is now highlighted.
  • ST quick method navigation works better with methods that have long signatures
  • Synchronized snippets with language-python for Atom

v1.0.9

7 years ago
  • Drop support.other.format.python scope name.

    We use this awkward scope name instead of perhaps more elegant "support.other.format.python" because it appears that by default it gives a better visual result in various systems (e.g. GitHub). This is due to the fact that "storage.type..." is more likely to have special highlighting in any given color scheme than "support.other..."

v1.0.8

7 years ago
  • Update constant highlighting rules.

    We consider something to be a "special constant" if it starts with "enough" (2 or more in this case) upper-case letters. Any leading underscores are ignored for the purpose of this definition. Also any number of underscores and digits are allowed in between the first 2 upper-case letters. To fully satisfy the requirement, the "leading" 2 upper-case letters must be followed by only upper-case letters or digits until the first underscore.

v1.0.7

7 years ago
  • Backported python-console and python-traceback syntaxes from Atom's language-python.
  • Added Atom spec files autogeneration; CI uses Atom to run tests too.
  • Recognize *.kv, *.tac, *.Snakefile as Python files.

v1.0.6

7 years ago
  • Fix regression in ST (fixed by changing how syntaxdev compiles for ST specifically).

v1.0.5

7 years ago
  • Properly highlight class parameters in Atom, VSCode and GH.

v1.0.4

7 years ago
  • Highlight f string prefix the same way as r and b in Atom/VSCode/GH.

v1.0.3

7 years ago