Drag-and-drop to Remote Hosts changes
We’ve already blogged about being able to connect to a remote server using the Remote Hosts tool window. We can drag-and-drop files and folders from our PhpStorm project to a remote FTP, FTPS, SFTP server or a local/network folder. The latest PhpStorm 7.1.1 enhances the drag-and-drop behavior to what we are used to from our operating system.
This functionality is available in IntelliJ IDEA, PyCharm, WebStorm, PhpStorm and RubyMine.
Connecting to a Remote Host can be done by configuring connection details through the Tools | Deployment | Configuration menu. Once connection details have been provided we can use Tools | Deployment | Browse Remote Host to browse the remote host.
Drag-and-drop in PhpStorm now behaves in the same way it works in operating systems. For example, drag-and-dropping any file from one Mac OS X Finder window to another one will move the file. When holding the Ctrl key when dropping, the file will be copied instead.
Let’s move an image from our local project to the remote server, and then copy it back by holding the Ctrl key. Note that this also changes the mouse cursor so we can see if we are moving or copying the file:
As with life, there are little things that make it valuable! Give it a chance and let us know your thoughts in the issue tracker, through the comments below or in our forums!
Develop with pleasure!
– JetBrains PhpStorm Team