I want to run a script when the file is saved. (This is an automatic git commit in git-wip vein). This is due to Save Actions in IntelliJ IDEA , but it mainly attracted answers to reformatting the code. He was also asked 3 years ago. The only snippet I found was http://arhipov.blogspot.hu/2011/04/code-snippet-intercepting-on-save.html . So I wonder if any things have changed, and now itβs easy to add save-hook.
intellij-idea
Adam schmideg
source share