Editing One File on Remote Host - Staging Site
Hi, I am new to this type of environment, so forgive me. How do i open phpstorm and use it to edit one file on a remote server. I generally make changes in a staging environment and then push the changes to the live. I can't figure out how to open one file in phpstorm, edit and save! Sorry... This is probably something very basic.
请先登录再写评论。
Hi there,
If you need to just open and edit some random file (be it local or remote) then in general it might be better to use some lightweight text editor for such quick edits.
This IDE shows its power when working with actual projects when all files are local (easily and quickly accessible at any point in time). Sure, you can do remote edits (file downloaded from remote host, placed in temp location and shown for you) .. but you will miss a lot of functionality (as IDE is simply unable to scan other files to offer project-specific code completion and stuff like that).
In any case (for random files):
If you are OK with creating dedicated project for that site -- just do that, configure Deployment entry and then use Remote Edit.
Some links: