Autosave on switch focus

I have configured eslint so it runs fix when saving. I'm used to vscode's functionality where it saves (and therefore also fixes) when you switch focus, aka go to a different editor tab or a different tool window. Is this possible?

3 comments
Comment actions Permalink

Please try enabling Save files on frame deactivation (Settings | Appearance & Behavior | System Settings) - when it's on, modified files are auto-saved when you switch to a different application

0
Comment actions Permalink

Thank you for your reply. I don't mean switching focus to a different application but within WebStorm, so to a different tab or tool window. Is there a way to do this?

0
Comment actions Permalink

It only works when moving away from the IDE (i.e. on changing focus to the other app) or when switching to the built-in terminal

0

Please sign in to leave a comment.