Phpstrom is a very powerful IDE, even when modifying SFTP projects, you don’t need to use FTP software to download the project locally, and then submit the changes to the server for overwriting the traditional way. Remote dynamic connection and modification can be achieved, which is very convenient and suitable for the development of wechat projects
1. Open the toolbar “Tools” — “Deployment” — “Brower Remote Host”
2. You can see a “Remote Host” area on the right side of the window. Click the three small buttons to create a new service (name is optional).
3, fill in your SFTP information, then click “Test FTP Connection” to Test whether the Connection is successful, as shown in the picture:
4. Mappings should also be filled in
5. After the configuration, tools-> Deployment -> Browse remote host; You can also download the code locally;
6. Set automatic code upload, tools-> Deployment ->automatic upload;
At this point, remote dynamic modification of THE SFTP project is basically complete. Once connected, it defaults to the right side of the window, which you can drag to the left. This looks like modifying the local project. There is a submit button in the upper right corner of the edit area, and you can also use shortcut keys
Buy me a cup of coffee 🙂