autosave & restart app if changes made when switching focus ?


269
views
0
6 months ago by
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.
Community: Wing Python IDE

1 Answer


2
6 months ago by
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
Please login to add an answer/comment or follow this question.

Similar posts:
Search »