Remote Edit in PhpStorm 9 EAP

Posted on by Mikhail Vink

One of the most demanded features in PhpStorm history is here! Individual files can now be opened directly from the remote host (such as FTP, SFTP or FTPS) and edited in the IDE, without adding/downloading them to the local project.

To start editing a file from a remote host instantly, double click the file name or select Edit Remote File from the file context menu:


The file will be opened in the PhpStorm editor instantly, without being added or downloaded to the local project. Note that for such files outside of any project, it’s not technically possible to provide all of PhpStorm’s features. Code completion is limited to standard PHP libs methods and those methods used in the edited file.

To take advantage of debugging, some of the refactorings, and other advanced features, consider including the file into a project.


When you work with a remote file, a special toolbar appears at the top of the editor:


Remote files can be easily distinguished from local ones by looking at the annotation, which includes the server name (in our case <JB FTP serv>).

When you are done editing the file, it can be uploaded to the remote host using the upload icon phpstorm_remote_edit_3 in the toolbar, or with the shortcut Alt+Shift+Q.

Changes introduced in this file can be easily reverted using the revert icon phpstorm_remote_edit_2. Only changes made after the last upload will be reverted.

The currently opened file can be compared to the last uploaded version using the diff icon phpstorm_remote_edit_1. The standard PhpStorm diff interface is used.


As we already mentioned, Remote Edit doesn’t add edited files to the project. This means that as soon as you close the file or the entire project, all changes will be discarded unless they are uploaded. Accordingly, a confirmation is presented on file and project exit so you don’t lose your work accidentally:


Remote Edit is still in progress, and there are many more improvements coming soon. Please have a look at all the related issues we are currently aware of.

Download the latest PhpStorm 9 EAP and give Remote Edit a go! Please share your thoughts, feature requests, issues and so on through the issue tracker, by posting in the comments below, or in our forums!

Develop with pleasure!
-JetBrains PhpStorm Team

Comments below can no longer be edited.

26 Responses to Remote Edit in PhpStorm 9 EAP

  1. harmar says:

    May 5, 2015

    Sweet! even easier to be a cowboy coder and editing directly in production!

    • John Delaney says:

      May 13, 2015

      Yeah I can’t think of a scenario where you’d need this feature where you wouldn’t just use a regular text editor, seeing as you’re losing the advantages of using an IDE.

      • Uli Hecht says:

        May 20, 2015

        In my case I want to quickly edit a generated php file in the cache of server just for debugging purposes. Normally I would either open the shell, cd to there and open vim or use an FTP client + separate editor. Additionally, there are files on the server that are different from my local files (e.g. database configuration). Great that I can quickly access them now from the IDE.

    • Gábor Molnár says:

      July 14, 2015

      We have very important feature, because my developer servers not in local. (my databas(es) much more 100 Gb and files more 5 TB. (so vagrant and remote sync/mount solutions excluded)).

  2. Павел says:

    May 13, 2015

    How to reassign double click on filename from “Edit remote file” to “Edit local file”?

    • averichev says:

      July 17, 2015

      Нашлось решение, как отключить удаленное редактирование?

      • Pavel Zotov says:

        July 17, 2015

        Нет, я уже привык

      • Kir Kerp says:

        July 24, 2015

        Присоединяюсь к вопросу.

  3. Steven says:

    May 13, 2015

    Would be cool to be able to have a project open, perform a remote edit on a file, and code completion be available for it in relation to the open project (while still not adding it to the project itself).

  4. Doug B says:

    May 30, 2015

    I think it would be nice to have a global history repository (or perhaps by server) for these remote files. Being able to undo or revert beyond the last upload will be a huge benefit. Definitely would keep me inside PHPStorm.

  5. Alexandre Rodrigues Xavier says:

    July 8, 2015

    Bye bye vim.

    • Ciprian Tepes says:

      July 14, 2015

      Nah, IdeaVim does quite a good job.

  6. Vasik says:

    July 8, 2015

    This is really cool update! The last thing I’m missing is a FTP client that would work without having the files in project – I’d like just to drag&drop files from Finder to upload them…:)

  7. Jesper says:

    July 8, 2015

    Are there any way to upload changes on save ? I can’t seem to find it, that would definetly make the last bit of the cake 🙂

    • Marius Vetrici says:

      July 29, 2015

      Need this as well…

  8. David Baker says:

    July 8, 2015

    OH WOW! You guys did it!! thanks 🙂

  9. rob-rr says:

    July 9, 2015

    Remote editing has been in Komodo IDE/Edid for a very ling time. Even with remote file syntax checking realtime.

  10. Daniel says:

    July 10, 2015

    It’s a huge step, thank you very much for this new feature!

    Unfortunately, it’s still not enought for me… I use remote edit for debugging in production, so it must be a fast operation. In other words, clicking in a “Upload” button is too much time when you’re putting out fire. And remembering another shortcut for saving when you’re in production is also not good. What would be perfect is to save using the same shortcut you use in the remain system.

    So, here is a tip for everyone with the same problem: use WinSCP (or any other FTP client) to open your remote PHP file and associate the .php extension to PHPStorm. That way you can save your remote file directly with a simples CTRL+S.

    • obe says:

      July 16, 2015

      I’d be very careful with that.

      PhpStorm saves files when losing focus (e.g. when alt+tabbing to another application). That will likely cause WinSCP to upload the file even if you haven’t finished editing it and that may not always be desirable. On a production server it could be disastrous, especially since you may not even be aware that the file has been saved and uploaded until the client calls to tell you the site is down…

      • Daniel says:

        July 16, 2015

        No that’s configurable. Go to Tools/Deployment/Options and change “File/Settings/System Settings” and unmark “Save files on frame deactivation”. I also suggest you to unmark “Save files automatically if application is idle for X sec.”

  11. Tino Nuon says:

    July 11, 2015

    Correct me if I’m wrong, but it’s only question of editing a single file for a quick edition need, no ? Is it possible to create a real project with source files located on remote server, coding directly on remote server, without downloading files and without having a local copy ?

  12. Alex says:

    July 11, 2015

    How to disable remote editing feature?

    • Ruben Arevalo says:

      August 13, 2015

      Still trying to figure that out. If anyone knows please let us know!

  13. Gábor Molnár says:

    July 14, 2015

    Good feature, but eclipse solution is better.

    – Filter missing (like “symlink” from the subfolder(s) to top level folder)
    – If i change remote server, then reload all folder structure and close all opened folders. (this slow down my working:-()
    – how to close top warning message? (“the file identical to remote one” and changed but not uploaded message)
    – Why don’t upload when i pressing ctrl+s ? (or possible the set up, i changed shortcut ctrl+shift+s)
    – if i rename the current opened file, not refreshing the tab name.
    – missing directory refresh (F5, and/or right click menu)

  14. André Moura says:

    July 21, 2015

    Muito bom! Valeu!

  15. Amy Bridges says:

    August 8, 2015

    Kind of useless without the ctrl+s save option… This approach would have been better to mount the ftp into the project and allow live edit’s form there.


Subscribe for updates