Ask Your Question

The meaning for the perference option: main.last-prefs-page.

asked 2020-06-02 07:43:03 -0600

hongyi-zhao gravatar image

updated 2020-06-02 20:36:38 -0600


I noted the following perference option: main.last-prefs-page. Say, for my case, it has the following setting:

main.last-prefs-page = (8,

I cannot figure out the meaning of it. Any hints?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-06-02 08:58:34 -0600

It's storing the last page displayed in the preferences dialog.

edit flag offensive delete link more


If so, it has no real effect on the user's settings for the wing and only adds some hint/clue into the debugging info.

hongyi-zhao gravatar imagehongyi-zhao ( 2020-06-02 10:29:05 -0600 )edit

The preferences file stores a variety of things. Is the location of this setting causing problems for you?

Wingware Support gravatar imageWingware Support ( 2020-06-02 10:37:17 -0600 )edit

I want to share the same preferences file among wings installed on different machines. For this purpose, I use a git repo to store this file and git (clone | pull | commit) on all of my machines to keep the same working settings. But the problem is that the entries like main.last-prefs-page and main.update-history maybe changed time-to-time which will trigger the very frequently running of the git workflow though the changes of them don't have any real effect on the wing's internal used settings.


hongyi-zhao gravatar imagehongyi-zhao ( 2020-06-02 18:02:49 -0600 )edit

I've tagged this as a feature request. Another idea, other than using git, would be to set something up that just scp's the file. Or perhaps write a script that strips out the things you don't want before committing.

Wingware Support gravatar imageWingware Support ( 2020-06-02 20:38:13 -0600 )edit

Though scping/rsyncing the file among different machines will work, it's not a powerful method like git based one. In fact, I've written the strip script and I expect wing can invoke it when I exit/close wing, considering that this is just a wing specific job.

hongyi-zhao gravatar imagehongyi-zhao ( 2020-06-02 21:00:25 -0600 )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



Asked: 2020-06-02 07:43:03 -0600

Seen: 124 times

Last updated: Jun 02 '20