First time here? Check out the FAQ!
1

autosave & restart app if changes made when switching focus ?

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.

MT drip's avatar
21
MT drip
asked 2018-01-24 21:58:00 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2019-03-13 08:49:49 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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

Wingware Support's avatar
4.1k
Wingware Support
answered 2018-01-25 08:34:00 -0500
Wingware Admin's avatar
231
Wingware Admin
updated 2019-03-07 08:50:00 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer