-
Open IntelliJ idea
-
Open menu :File -> Settings -> Tools -> External Tools
-
As for Tool settings, program is the file sccp.sh and parameters are
$FilePath$ and$FileExt$ -
Add a properties file, scpp.properties, to your module root:
scpp.properties
# upload destination
serverPath='your_ssh_user_name@your_ssh_server:/data/project/qn1-web-webapp/code'
Right click a js file in your project , choose menu : External Tools -> scpp. In the console it will print:
You can check the scp'ed file from linux server now.
If you have node installed, you can use svn-commit-changelist.js to scp all files in scpp changelist to a linux server.