Ask Your Question

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

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

hongyi-zhao's avatar

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


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 -0500

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's avatar hongyi-zhao  ( 2020-06-02 10:29:05 -0500 )edit

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

Wingware Support's avatar Wingware Support  ( 2020-06-02 10:37:17 -0500 )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's avatar hongyi-zhao  ( 2020-06-02 18:02:49 -0500 )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's avatar Wingware Support  ( 2020-06-02 20:38:13 -0500 )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's avatar hongyi-zhao  ( 2020-06-02 21:00:25 -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



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

Seen: 418 times

Last updated: Jun 02 '20