[PHP] vscode SFTP extended synchronization configuration file

In our project development process, often there is a pattern, there is a linux development machine as our test machine, ftp services are attached. We use the local machine in windows system IDE to write code, upload it to sync automatically or save test time, so that you can view the results in real time, so you need to configure an IDE plug-in ftp upload

vscode can install what sftp extensions, easy to use, here's the easiest way to explain

My online video lessons address:

https://edu.csdn.net/course/detail/26370

1. Search the app store SFTP, direct installation

2.ctrl + shift + p to open the input box, enter the SFTP: config, automatically created sftp.json in .vscode directory under the current project in

{
    "name": "腾讯云",
    "host": "115.159.28.xxx",
    "protocol": "sftp",
    "port": 22,
    "username": "xxx",
    "password": "xxx",
    "remotePath": "/var/www/html/test/",
    "uploadOnSave": true
}


Guess you like

Origin www.cnblogs.com/taoshihan/p/11695899.html