Ask Your Question
1

Where does Wing store custom Syntax Coloring configuration?

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

Itzhak gravatar image

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

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
2

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

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 https://wingware.com/doc/custom/syntax

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 https://bitbucket.org/sdeibel/wing-co...

edit flag offensive delete link more

Comments

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 gravatar imageItzhak ( 2019-06-27 11:15:33 -0500 )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 gravatar imageWingware Support ( 2019-06-27 11:56:41 -0500 )edit
1

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

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 https://wingware.com/doc/custom/qt-st... 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

2 followers

Stats

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

Seen: 69 times

Last updated: Jun 27