问题
I need to upload currently edited JSPs to server - via scp. I have pscp on my path on my windows machine.
How do I setup inteliij idea to do this with one click for currently opened file?
(I would be able to set this up in eclipse - via 'run tool' and parameter placeholders)
回答1:
In IntelliJ IDEA this feature is called External Tools. There are various variables that you can pass to the process, including the current file name.
来源:https://stackoverflow.com/questions/13414544/how-to-run-external-tool-on-current-file-in-intellij-idea