VScordとサーバーを同期させる - samidevjp/Tips GitHub Wiki

.vscode>sftp.jsonを作成

{
  "name": "任意の名前",
  "host": "FTPで必要なホスト名",
  "protocol": "ftp",
  "port": 21,
  "username": "FTPで必要なユーザー名",
  "password": "FTPで必要なパスワード",
  "remotePath": "/wp/wp-content/themes",
  "context": "/Users/~~~/themes/",
  "uploadOnSave": true,
  "watcher": {
    "files": "**/*.{js,css}",
    "autoUpload": true
  }
}