Ask Your Question
1

autosave & restart app if changes made when switching focus ?

asked 2018-01-24 21:58:00 -0500

MT drip gravatar image

updated 2019-03-13 08:49:49 -0500

hi,

in sublime text 3 theres a neat feature that will in case i move focus from sublime to another application, save any changes made and if any changes made, restart my python app.

Is this somehow possible to achieve in wing IDE ?

note : nice IDE by the way, like the lightweightness of it.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2018-01-25 08:34:00 -0500

updated 2019-03-07 08:50:00 -0500

Wingware Admin gravatar image

You could turn on the Files > Auto-Save Before Debug or Execute preference and use the debug restart icon in the toolbar to save everything and restart anytime. 

There isn't any way to make that happen automatically when Wing loses focus, other than writing an extension script and connecting to the active-window-changed signal on CApplication.  Docs on extension scripting Wing are at http://wingware.com/doc/scripting

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: 2018-01-24 21:58:00 -0500

Seen: 66 times

Last updated: Mar 07