Syntax highlighting breaks when adding function return type (MPLS/Pylance)
See original GitHub issue- VSCode Version: 1.49.3
- OS Version:10.0.0.19042
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes/No when I write a function in python, and put arrow to mark that the function returns value (the ->), the arrow is destroying the syntax highlight and the linter (the part that checks if the keywords have been typed correctly)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:16
Top Results From Across the Web
[VSCODE] Broken Syntax Highlighting When Add Func Return ...
When you write a function/method in vscode Python editor, and put arrow to mark that the function returns value -> , the arrow...
Read more >Syntax highlighting not working for Python in VS Code with ...
I would try changing your theme and see if that leads to a different output as they all choose what they want to...
Read more >Syntax Highlighting - Tree-sitter
The Tree-sitter highlighting system works by annotating ranges of source code with logical “highlight names” like function.method , type.builtin , keyword , etc ......
Read more >highlight_string - Manual - PHP
Outputs or returns html markup for a syntax highlighted version of the given PHP code using the colors defined in the built-in syntax...
Read more >highlight.js
197 languages and 248 styles; automatic language detection; multi-language code highlighting; available for node.js; works with any markup; compatible with ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Disable the “Python for VSCode” extension will fix the issue.
Name: Python for VSCode Id: tht13.python Description: Python language extension for vscode Version: 0.2.3 Publisher: Thomas Haakon Townsend VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=tht13.python that is the problematic extention