pydev syntax highlighting, comments vs string literals -


is there way docstrings highlight different color string literals? example:

def my_func():     """this should 1 color, these comments used documenting files"""     return "this string literal, , should color" 

for me, syntax coloring "bytes" seems control both.

not currently.

the last release added support different colors bytes/unicode (i.e.: u'str' , b'str' have different colors -- , version without 'u' or 'b' prefix dependent on grammar version choose it's different python 2 , 3), docstrings not differentiated (being bytes or unicode)...

this isn't straightforward in code terms (which reason wasn't added in last release, although agree it's nice feature have, so, may end adding in future).


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -