Remotehost remote development using WebStorm/Phpstorm

Source: Internet
Author: User
Remotehost remote development http://cssha.com/webstorm-phpstorm-remote-host/ using WebStormPhpstorm

Http://www.cnblogs.com/jikey/p/3486621.html


If your development environment is on a remote host, webstorm can achieve remote synchronous development through ftp, ftps, sftp, and other methods. In this way, we can discard ftp, winscp, and other tools and use webstorm to edit remote files and deploy them. This article is based on WebStorm5.04. Intellij IDEA or PHPStorm uses the same method. for details, refer to it. I would also like to thank the big cats in the group of friends for their help.

1. First, create a remote host-based project. click file> new project from existing sources. the Create project dialog box is displayed. select the fourth item, for example, if the remote host transfers files through ftp, sftp, or ftps, click next.

2. set the project name and local path. select "custom" for "deployment option" and set "next.

3. set deployment option. pay attention to Upload changed files automatically to default server. this option can set the time when local files are uploaded to the remote host. I chose on explicit save action (ctrl + s ), in this way, you can use the shortcut key ctrl + s to upload the file and then click next.

4. configure the remote host ~ Configure next.

5. specify the root directory of the remote host. click project root and next.

6. configure the access path. finish.

7. after the remote project is created, webstorm downloads the file from the remote host to the local path. for example, the local project file is displayed on the left bar, the remote host in the right sidebar is a remote host file. Is it a one-to-one match? In this way, we can modify a local file and press ctrl + s to automatically upload it to the remote host.

With tool> deployment, we can perform more operations and settings related to remote deployment.

Combined with Live edit, you can debug remote refresh editing.

The following is an official demo video link that demonstrates how to remotely develop on webstorm and more detailed function presentation: http://www.jetbrains.com/webstorm/demos/ftp_sync.html

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.