Syntax Highlighting for Type Checker Errors #6260
Closed
ilotoki0804
started this conversation in
Ideas
Replies: 1 comment
-
If you would like to suggest new language server features, please file those requests in the pylance-release issue tracker. Pyright is focused on type checking features. To my knowledge, there's no support in the language server protocol for providing syntax highlighting in diagnostic messages, so it's unlikely the pylance team would be able to do anything with this suggestion at this time. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
Currently, type checker errors, along with other errors produced by Pyright, are not syntax highlighted. However, this leads to long or complex errors not being clearly visible.
Describe the solution you'd like
I've discovered that syntax highlighting can markedly enhance the readability of errors. Thus, I suggest that syntax highlighting should be applied to type checker errors.
Current situation (Without syntax highlighting):
Proposed improvement (With syntax highlighting):
Beta Was this translation helpful? Give feedback.
All reactions