MagicPython icon indicating copy to clipboard operation
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!

Results 74 MagicPython issues
Sort by recently updated
recently updated
newest added
trafficstars

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**: ![image](https://user-images.githubusercontent.com/34556033/221567736-26efec2a-83a0-4a69-a870-9551173f5311.png) * **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: ![image](https://github.com/MagicStack/MagicPython/assets/57028336/6e7d87af-ecf8-4f60-91c6-9a0dcb99c772) (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**: ![PixelSnap 2024-02-21 at 22 47 26@2x](https://github.com/MagicStack/MagicPython/assets/2276355/cb1f8e6f-5fb1-4497-9b93-e246d2a50971) * **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...