Using the Ftp-sync plugin in VS code to synchronize client and server-side code

Source: Internet
Author: User

Use the Ftp-sync plugin in vs code to download and install the Vscode-ftp-sync plugin for client-server-side code synchronization.
    • Installation Method 1. Ctrl+shift+p input ext Install [plugin keyword/name]
    • Installation Method 2. Ctrl+shift+p (or F1) enter Extensions, select Install Extension and enter the plugin name/keyword
      If you install a plugin that is not in the plugin store, you can place it in the. vscode/extensions folder in the user directory. Then restart VS Code to take effect
      Configure Ftp-sync
    • Then good Ftp-sync plugin, in ctrl+shift+p (or F1) input * Ftp-sync:init *, configure the server account path and other information.

{    "RemotePath": "/var/data/",    "host": "192.168.0.78",    "username": "Shoukii",    "password": " Shouadmin ",    " Port ":" Protocol ":    " sftp ",    " Uploadonsave ": true,    " passive ": false,    " Debug ": False,    "Privatekeypath": null,    "Ignore": [        "\\.vscode",        "\\.git",        "\\.idea"    ]}
This configuration information is in the./.vscode/ftp-sync.json file of the current directory.
    • Synchronize the server side and client files via command Ftp-sync:sync local to remote and Ftp-sync:sync remote to local.

    • Commit the modification by command commit.

Reprint Address Http://blog.csdn.net/dotuian/article/details/51119650#t1

Using the Ftp-sync plugin in VS code to synchronize client and server-side code

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.