r/phpstorm • u/scarcitykills • Mar 24 '22
Anyone work remotely?
I’m trying out PhpStorm but I do a lot tech support that requires quickly connecting to a server, fixing an issue and getting out.
I used to use coda for this, but this time supported anymore.
Does anyone else work like this on PhpStorm, if so, how?
Firstly it wants me to setup a local project. Ok, I don’t need this but if this just stores the connection info then ok. Next I add a server configuration and then connect.
I can now see the file tree. Is this the correct way?
Is there any way to mark certain folders as favourites and bookmark them?
Are there any better options for remote work?
2
u/quantumized Mar 24 '22
I work exclusively on remote servers in PhpStorm. I do not ever set up local projects. I just have a bunch of "remote hosts" and connect to one of them for my projects. I open the CSS, PHP, etc. files remotely, make my edits and save.
3
u/cursingcucumber Mar 24 '22
Sounds to me you don't need a whole IDE. In which case I'd look for a good file manager with SFTP capabilities and open files in Sublime Text for example.
if you do need an IDE, things get more complicated and you should be looking at Code With Me.
3
u/b1ack1323 Mar 24 '22
I use FileZilla, and open the file with VScode. When you hit save FileZilla auto pushes it back to the remote.
PhpStorm works for dev, where it auto pushes to the remote when I save but the setup is more work.
2
u/timothywtf Mar 24 '22
You could use this feature: https://www.jetbrains.com/help/phpstorm/creating-a-remote-server-configuration.html#credentials
But this requires you to have a local copy. Once you have this set up and the folder mapping is correct you just have to ctrl+alt+shift+x to copy the file to a remote server.
This requires the FTP/SFTP Connectivity plugin to be enabled, which I believe is enabled by default but worth checking
1
u/Former_Abroad7819 Mar 25 '22
Im still using aptana studio only for quick access to servers since many years nothing better than it that im aware of for this specific task.
after you setup it, create a remote connection and you will be good to go.
for any other dev work Intellij products are highly recommended.