S
S
skachko2011-12-12 14:59:55
phpstorm
skachko, 2011-12-12 14:59:55

How to create a remote project in phpStorm 3.0?

How to create a project in phpStorm 3.0 to edit files directly on ftp. Or set up synchronization with a local directory? I can't find any ftp connection or synchronization settings anywhere. I look in the help, but I can’t repeat the same thing in the program - there are no such items in the menu. How is that?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
PQR, 2011-12-12
@PQR

Edit files directly on ftp - PhpStorm does not allow this. Quoting the PhpStorm developer:
You can't use the IDE w/out making a local copy first. There is a principal *technical* restriction. Same goes for all kinds of mapped remote folders. This is strictly unsupported. Please use "File|Create project from remote..." wizard to quickly set up remote project.
There were various discussions about this, here are two of the most informative on the topic "how to work with remote files / projects"
devnet.jetbrains.net/message/5287181
devnet.jetbrains.net/thread/287045

G
gelas, 2011-12-12
@gelas

As far as I know, it will only work locally.
You can turn on Tools->Deployment->Automatic Upload
And there in Options there is a useful setting “Warn when uploading over newer file”
Also keep in mind that opening a file from the Remote Host window still opens a local copy, which may be out of date. I suffered from this a couple of times in the beginning.
There is another option, if you are working in Linux, connect the ftp folder as a local one and work in it.
But in this case, phpStorm will “spoil” ftp with its hidden files, so I can’t recommend this option.

M
markoffko, 2011-12-12
@markoffko

>File | New Project From Existing Files - My web server is on remote host, files are accessible via FTP/SFTP
Isn't that right?

A
asm0dey, 2011-12-19
@asm0dey

An alternative is to mount ftp as a local disk and work with it. If you torment only sorts, then it will work relatively quickly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question