First time here? Check out the FAQ!
1

syntax coloring

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

DaveJ61's avatar
31
DaveJ61
asked 2021-09-07 12:28:55 -0600
Wingware Support's avatar
4k
Wingware Support
updated 2021-11-10 11:21:02 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

Wingware Support's avatar
4k
Wingware Support
answered 2021-09-07 12:43:36 -0600
edit flag offensive 0 remove flag delete link

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's avatar Wingware Support (2021-09-07 12:47:47 -0600) 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's avatar DaveJ61 (2021-09-07 12:50:38 -0600) edit

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

DaveJ61's avatar DaveJ61 (2021-09-07 19:36:50 -0600) edit

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

Wingware Support's avatar Wingware Support (2021-09-08 08:16:16 -0600) edit

Hi, I just wondered if there is any progress on this being addressed yet, please? Even using One Dark or Nord makes the code look really ugly and really quite hard to read at a glance especially in django template files where there is a lot of these tags and variables. These tend to jump out at you and tend to be a distraction when reading There does not appear to be a setting for this in my preferences and I can't really understand why these should have a background colouring anyway. The whole experience is driving me to use sublime text to edit files rather than Wing IDE, especially these template files.

DaveJ61's avatar DaveJ61 (2021-10-24 01:17:18 -0600) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer