Ask Your Question

Where does Wing store custom Syntax Coloring configuration?

asked 2019-06-26 10:49:12 -0600

Itzhak's avatar

updated 2019-06-27 06:37:16 -0600

I recolored Python since default colors of all included themes are nasty. But now I am puzzled: where in Lord's name does Wing keep this data so I could save it for later?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2019-06-27 06:42:52 -0600

Actually, if you're talking about having set syntax colors through the Editor > Syntax Coloring preference group, the configuration is stored in the file preferences in your settings directory (location varies; it is listed in Wing's About box) and you can create a .stx file as described in

The other answer is for selecting colors for the UI as a whole.

If you're willing to share what you come up with, please submit a pull request for

edit flag offensive delete link more


Thanks! I remember I saw this answer somewhere in search results, but I failed to pay close attention to what's inside "preferences" file... I didn't expect something unique like this.

I do not have knowledge to recolor all syntaxes: I do not work with all these languages to know how to combine good colors for them. Also, Wing IDE does certain things its own way when it comes to coloring: not all things can be colored, and categorization is different. I currently am very fond of UltraEdit's theme system - I achieved just perfect theme there. If Wing devs are interested in expanding theme support in Wing, I can contribute UltraEdit's theme, to check what needs improving.

Itzhak's avatar Itzhak  ( 2019-06-27 11:15:33 -0600 )edit

We hope to add a way to export the preferences-configured colors to .stx and .plt files in the future, to make it easier when someone configures things first using the preference. Wing does do things a differently than most editors because it uses color manipulation heuristics to make a single syntax color spec work reasonably with different background colors. That's used with every language we syntax color except Python, where some of the UI color palettes have custom Python-specific .stx files associated with them.

That's a long way of saying that probably all you need is syntax colors for Python. If you want to send us your preferences file from the Settings Directory (listed in Wing's About box) we can look at possibly adding a theme based on that in the future. And/or send us the UltraEdit theme. I'd be interested, in any case, to ...(more)

Wingware Support's avatar Wingware Support  ( 2019-06-27 11:56:41 -0600 )edit

BTW, I like some of Visual Studio Code themes. To get these quickly, look here:

textual representation of user-defined themesshow built-in themes

Maybe some kind of converter would be possible (I don't have an overview of the complexity)?

Michael's avatar Michael  ( 2019-07-27 04:05:47 -0600 )edit

I haven't looked at VS specifically but in general automatic conversion is not possible because Wing has colors not covered by other IDE color settings. Each editor has a different model for how to tokenize code into differently colored parts.

Wingware Support's avatar Wingware Support  ( 2019-07-29 20:53:48 -0600 )edit

answered 2019-06-27 06:02:47 -0600

You can create a palette file and put it in the palettes sub directory of your Wing settings directory as listed in the about dialog box. See for more information.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools



Asked: 2019-06-26 10:49:12 -0600

Seen: 713 times

Last updated: Jun 27 '19