Issue: Syntax Highlighting Bug in Docstrings After Adding Return Type Annotations
When return type annotations are added to methods in any python class, the syntax highlighting for docstrings is broken. Specifically, the docstring text is not properly highlighted as a string literal, and instead appears as plain text or with incorrect highlighting.
See screenshot.
I have tried changing themes, python engines, etc to no avail. It does not appear to be an issue in “plain” VS Code.