Ask Your Question
1

syntax coloring

asked 2021-09-07 12:28:55 -0500

DaveJ61 gravatar image

updated 2021-09-08 08:16:45 -0500

Hi, The colouring for the django template tags and variables etc have a light green background, which I hate. I have been through all the configuration and can't find where to change this. Could someone please give me a pointer as to where this is configured?

image description

Dave

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-09-07 12:43:36 -0500

This appears to be coming from the Editor > Syntax Coloring > Syntax Formatting preference, for the Django Template file type. From playing with it, it was the asp_python_default, asp_python_word, and asp_python_identifier lexer states, but all of the asp_python_* ones seem to be using that background.

These defaults seem like they are designed more for light background display themes. Also, I'm not sure why the lexer states listed in the preference are not properly alphabetized. We'll try to improve this in the future.

edit flag offensive delete link more

Comments

Also, it seems to work better with Nord and One Dark display palettes and not as well with Black Background and some of the others. I think the colors are being adjusted to make them visible on the background but from the looks of it something is going wrong, possibly using the wrong background.

Wingware Support gravatar image Wingware Support  ( 2021-09-07 12:47:47 -0500 )edit

Hi, Thanks for the rapid response. I did notice that light coloured themes looked better. In the meantime, I'll have a play around and see if I can find something I like. Dave

DaveJ61 gravatar image DaveJ61  ( 2021-09-07 12:50:38 -0500 )edit

Just a thought but is there a workaround? I'm also a little surprised nobody else has reported this.

DaveJ61 gravatar image DaveJ61  ( 2021-09-07 19:36:50 -0500 )edit

Using One Dark or Nord for the User Interface > Display Theme preference seems to work around the readability problem for me.

Wingware Support gravatar image Wingware Support  ( 2021-09-08 08:16:16 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2021-09-07 12:28:55 -0500

Seen: 14 times

Last updated: Sep 09