Pulling remote changes from a development server in PhpStorm - phpstorm

For most projects, I work in a local Dockerized setup, but once in awhile, I have to work on a project that lives on a remote development server. Using tools > deployment > configuration, I have set up sftp access to the server.
Now I can't seem to find a way to download the relevant files from that server.
I could swear that there used to be a menu option under Tools > Deployment to do this. Something like pull files from server.
Did this option go away with a recent update? Is there another way to do this from within the IDE (preferably without pushing to version control every time I want to test a change)?
===
Edit: I am using PhpStorm 2019.2. The contents of the Deployment submenu are:
Configuration
Options
Automatic Upload
Browse Remote Host
I have tested the sftp connection from within the configuration screen in PhpStorm, and it is working. Browse Remote Host also appears to work.

Related

How do you work with remote projects and PhpStorm?

My setup is like this:
The project runs on a LAMP server. I cant run the project on my working machines, they are Windows based and the project needs Linux.
My IDEs are on different Windows machines (work, home, other_work).
#work I have PhpStorm #other_work I use a SSH client and edit files with nano or vim and #home I use PhpEd.
How can I keep my project in sync with PhpStorm?
In PhpEd I had never such problems every change is instantly visible in the IDE. I know that I can use the remote Host to see the actual files and change them, but I want to use the project features from the IDE like go to definition.
Has anyone solved this problem?

How to simulate remote host deployment with PhpStorm?

Some FTP clients, such as Transmit, offer an option to simulate the synchronisation between a local and a remote directory. Basically what it means is, that you get a list of files that would be changed, instead of actually moving the files.
I was hoping to find such an option in PhpStorm's Remote Host Plugin, but I searched for it to no avail. Did I overlook something, or does this not exist (yet)?
PHPStorm can sync with the deployed version if the remote host has been configured. It shows the difference and you can select what to do with each file. See PHPStorm Documentation

PhpStorm configure to work remotely

Hi is there a way for PhpStorm to work directly on a remote server? No local files. Because as of the moment PhpStorm has local files wherein it just automatically uploads all files during save on remote.
My problem is if someone changes something remotely I need to manually download it first before seeing the changes.
It's not possible to fully operate on a remote server. Phpstorm need a local project, which contain the .idea folder. You can edit remote files without downloading them to the project folder. But in this case the entire list of features is not available.
For you can be useful the following settings:
tools->Deployment->Options:
warn when uploading over newer file
Notify about remote changes

PhpStorm - working on a remote server

I have never used PhpStorm before for remote development because I used to work locally.
I am wondering if there is a method to set PhpStorm to work in such a way so it will be identical, in terms of functionality, to local development?
At least, debugging and jumping to functions/variables declaration across the whole project?
Tried to google it but found nothing. Maybe someone knows?
There are two ways to work with remote server development :
With a physically server
With a Virtual Machine locally
Those 2 ways are identical workflow parameters for working with this.
In PHPStorm the main area for parameters workflow deployement on remote server is : PHPStorm > Settings > Build, Execution, Deployement > Deployement
In this area you config the connection on your remote server (you before must config access on your remote server). SFTP is the best way to use this connection.
Most important to select where you want to send/push your modified code with Root path. Upload manually or use the sync auto functionality of PHPStorm use this parameter.
Mappings tabs is not very important you can keep this without change except for 'Deployement path on server' which just type '/' character if you have selected the good 'Root Path' in tab before.
For starting you can forget the Excluded Paths tab. after if you work on symfony framework you use this to exclude the vendor directory.
Don't forget to set the options 'use as Default' if you want to upload or sync auto more fastly and friendly.
Now you must parameters and config correctly your remote server for server be able to run the code which send it with PHPStorm. Dependly on your framework or other technologies you use.
Finally you have :
PHPStorm config OK for send correctly your modification code (auto or manually)
remote server config OK for executing and running correctly the code you are before sending from PHPStorm to your server remote
WARNING : you never run your website into your local OS.
IMPORTANT : config a web server on your remote server and don't forget to install layer for PHP executing script.

PhpStorm and projects with remote files, keeping environments mirrored

I'm using PhpStorm for a while now but I'm a bit confused for the right way to work on projects with remote files.
At the moment I've created a project (FTP) and download everything from the deployment server. When I save a file it gets uploaded automatically but there are situations where I'm working from another device using a different approach to modify files.
At this moment I'm redownloading the entire deployment server, but this seems like an overkill. Is there a method like 'sync' to just download/modify the remote changed files? I know there is an item in the context menu 'Synchronize "Project name"', but this doesn't seem to do anything?