I am using the new python syntax to describe what types my methods return e.g.,: def method(unpacked_message: dict) -> dict:
This seems to break the vscode color scheme
Expected colors:
Environment and vs code extensions:
The code runs flawlessly. Am I doing something wrong ?
Based on the information you provided, I reproduced the problem you described.
Reason: The Syntax Highlighting style provided by the extension "Python for VSCode
" is different from the extension "Python
".
Solution: Please disable the extension "Python for VSCode
".
before:
after:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With