How to change color of block comment

How do you change the color of a block comment in python?
UPDATE: It seems to be controlled by the 'warning' setting for python colors.  Shouldn't it get its own section?
12 comments
Python doesn't have the concept of block comments.
0
I'm referring to:

Three double quotes

"""
This is a multiline comment
It's awesome
"""
0
Yes, I know. This is a convention, rather than a standard language feature of Python, and we don't have any special support for it in PyCharm.
0
I (thankfully) seem to be able to control it's color by changing the
  Editor / Color & Fonts / General / Code Inspections: Warning
color.

On my Mac Mountain Lion machine multiline comments looked ok in the default colour scheme but... on my Mac Lion machine there is an ugly brown/orange background behind these sorts of comments.  It looks even worse because the whole line reverse highlights starting from the beginning """ and then stops at the the ending """, causing an unsightly jagged look to these areas of code, spreading right across the screen/monitor (see screenshot).

And then on my dark colour schemes, on my Mac Lion machine, the background is dark orange and underlined!!  This make these areas of code appear absolutely ghastly - especially since they, as I say, highlight the whole line right up to the right hand edge of PyCharms's editor window.  Imagine seeing huge chunks of jagged, orange background underlined lines running across the entire monitor/editor screen.  When I finally stumbled upon the random setting that seems to control this, I was so relieved.

As for whether these are an official language feature or convention - I don't think it matters.  PyCharm should support these commonly used multi line strings.  They are used by practically all python programmers I know and most python code I read.  Guido van Rossum (creator of Python) approves of these constructs https://twitter.com/gvanrossum/status/112670605505077248 and you can't argue with the creator of the language.

See discussion at http://stackoverflow.com/questions/7696924/multiline-comments-in-python/7696947#7696947 with 161 approval votes on the answer.

See screenshots below re what I was experiencing!
Screen Shot 2013-10-18 at 11.16.34 AM.png

Screen Shot 2013-10-18 at 11.17.37 AM.png
1
yes, I have the same feelings. at least add a section to let users set it
1
We've removed the "warning" highlight from those strings; they will be highlighted as regular string literals.
0
in you latest release 3.01, it is still underscored and highlighted.
0
Yes, because the change is not included in the latest release 3.0.1 and will be included in a future update.
0
did you implement this in the last release?
1
I believe this type of comment should be given its own section in Editor / Fonts and Colors, so that I can set its color independently to normal comment colors.
0
Its been over 6 months since I reported this issue.  I'm running PyCharm 3.1.3 and the problem is still here.  Block comments, which are COMMONPLACE in all python code still looks problematic - see screenshot.

P.S. not sure why the screenshot isn't visible after posting it. Its still here when I edit this post. Url seems to be
screenshot
1

Please sign in to leave a comment.