MagicPython
MagicPython copied to clipboard
Cutting edge Python syntax highlighter for Sublime Text, Atom and Visual Studio Code. Used by GitHub to highlight your Python code!
So decorators have very strict syntax, while in reality, any valid python expression can be used when decorating. See github's highlighting below too. * **Editor name and version**: Sublime Text...
The package is behind the default Python syntax in adopting new syntax features and in adhering to the scoping standards that the community has established for the default packages. It...
It's a fork of Atom, https://web.pulsar-edit.dev/packages/magicpython :)
This feature request was originally from @eavelardev in https://github.com/microsoft/vscode/issues/180663 `True` and `False` values only have scope `constant.language`, so they cannot have specific syntax highlighting colors set.
* **Editor name and version**: VS Code version 1.77 * **Platform**: Windows * **Color scheme**: Any * **MagicPython version**: Latest commit from main * **A sreenshot**: * **5-10 lines of...
* **Editor name and version**: VSCode 1.75.1 * **Platform**: macOS * **Color scheme**: Dark+ (default) * **MagicPython version**: 1.1.0 * **A sreenshot**:  * **5-10 lines of surrounding code**: ```python...
* **Editor name and version**: VS Code 1.71 * **Platform**: Any * **Color scheme**: NA * **MagicPython version**: * **A sreenshot**: I would expect syntax highlighting to be the same...
python 3.12 introduced new syntax for type aliases: ```py type Foo = int ``` this is currently highlighted incorrectly:  (the `type` keyword should be blue and the `Foo` name...
* **Editor name and version**: Visual Studio Code 1.86.2 * **Platform**: macOS * **Color scheme**: * **MagicPython version**: https://github.com/microsoft/vscode/pull/164191 * **A sreenshot**:  * **5-10...
I'm getting some incorrect highlighting inside an rf string, in particular for the `.` and `(1)` portions, as well as the curly braces. Take a look: * **Editor name and...