Php Storm remote files editing - phpstorm

I am new to PhpStorm. I want to edit files on remote host without mapping (like in PhpDesigner). I configured server, opened in on Remote Host window and I watch all files, but when I click on file it is not open in editor. How to do this?

In new EAP version of PHPStorm You can edit remote file. http://blog.jetbrains.com/phpstorm/2015/04/remote-edit-in-phpstorm-9-eap/

You can only edit local files. This is a lacking in IntelliJ platform IDEs. Sorry for this. You can take a look at this ticket, or make one for yourself as a feature request.

Related

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.

Improve workflow when programming/editing for html/css/js

My workflow is connect via ssh to a development server where I use vim. I miss the convenience of using IDE to edit html/css/javascript files to be honest.
Is there someone with a workflow as mine that can help in programming for html/css/js files e.g. to make sure there is no typo/syntax error, available properties/methods etc?
You can:
use your graphical environment software (like gnome, kde) to mount remote directory via sftp (part of ssh) and edit files locally using IDE,
use sshfs and do the same thing but without help of GE parts,
use dropbox (or anything like that) to sync data between server and your computer,
use any available network file system (NFS, Samba, ???).

How to open a HTML file on remote machine on local browser

I have written a simple HTML file on an EC2 instance. I want to check if it functions as desired. Is there a way I can open it on my local browser for testing?
EDIT: The output depends on some configurations which are present only on the remote machine!
You will need to install and start apache, placing the HTML vile in the www directory on the sever. Then open port 80 in your ec2 security group, but specify this rule to only be for the public IP of your home machine.
If its a HTML file you can open it directly from your desktop but if is a php file you need local server such as Xampp or wamp. If you want to edit it you can have a code editor such as notepad++ ect.. Hope this helps
If I understand you correctly. .. just open the file. It will run in your browser. It is just text. It is your browser that runs it.