MagicStack / MagicPython

Cutting edge Python syntax highlighter for Sublime Text, Atom and Visual Studio Code. Used by GitHub to highlight your Python code!
MIT License
1.41k stars 91 forks source link

Highlighting docstrings as comments instead of strings #227

Closed alexkoay closed 4 years ago

alexkoay commented 4 years ago

Is there a possibility to highlight docstrings differently than normal strings? I'm delving into a big repository but the long docstrings (usually marked identical to multi-line strings except that it's not assigned anywhere) are throwing me off the trail of the actual code.

image In the image, the actual code starts at line 1183.

alexkoay commented 4 years ago

Found that this is an issue with the default VSCode color scheme, Dracula Official fixes this issue.