So, I have a gulpfile.js that when run builds my project, part of which is minifying code. All works great.
I noticed that PHPStorm allows me to setup a file watcher with the Google Closure Compiler to minify JS files on save.
But what I'm looking for is the ability to EXPLICITLY state to the IDE "I want THIS file minimized." (like maybe right clicking on the file/s in the Project Window and selecting an option from a list generated there) Behind the scenes it could send the file paths to the executable and run the code, but not require the user to setup a file watch process, which would do minification on the fly, but might sometimes do it on files I do not want it to automatically.
What would be even better, IMO, is to allow us to create a keymapping to run that process. ie. I highlight 3 files in my project list, press a keymapping I setup that runs the Google Closure Compiler for JS Minification, and behind the scenes it runs that on each file and creates their .min.js files.