In IntelliJ IDEA, how can I create a key binding that executes a shell script with the current file as a parameter?
For exanmple, if I am in a test file (entity.spec.js), I want to save and hit a key binding to trigger a shell script with that file as the parameter:
./run_test.sh /full/path/to/entity.spec.js
Any idea how to do that?