PyCharm comment font color invalid for type hints
Answered
Hi all:
Please see attached image. Is it possible and if so, how to set up so that PyCharm would use the same font color for all the text on the comment line?
In iother words, the entire line "# type: (str,int) -> List[str]" should be one dark-green color.
T
hanks
Please sign in to leave a comment.
Unfortunately, it's not possible at the moment. Please feel free to file a feature request about it to Pycharm issue tracker: https://youtrack.jetbrains.com/issues/PY.
Also, auto-formatting for comments inside type hints is affected:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/24199393102866-PyCharm-incorrectly-formats-comments-in-multiline-type-hint