Using Visual Studio Code with Phoenix
Step 1:

Step 2:

Step 3:
In VS Code, open a local directory you wish to sync to the remote server (or create an empty directory that you wish to first download the contents of a remote server folder in order to edit locally).

Step 4:

Step 5:
Press Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on Mac to open the command palette, and then type the SFTP: config command.sftp.json under the .vscode directory, double click on the sftp.json file to open it for editing

Step 6:
{
"name": "My Phoenix ixd0000",
"host": "phoenix.sheridanc.on.ca",
"protocol": "sftp",
"port": 22,
"username": "ixd0000",
"remotePath": "/home/ixd0000/public_html",
"uploadOnSave": true,
"useTempFile": false,
"openSsh": false
}

Step 7:
Step 8:

Step 9:

If the latest files are already on a remote server, you can start with an empty local folder, then download your project, and from that point sync.
VS Code, open a local directory you wish to sync to the remote server (or create an empty directory that you wish to first download the contents of a remote server folder in order to edit locally).Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on Mac open command palette, run SFTP: config command.sftp.json under the .vscode directory, open and edit the configuration parameters with your remote server information.
sftp.json is optional, if left out you will be prompted for a password on sync. Note: backslashes and other special characters must be escaped with a backslash.sftp.json file.Ctrl+Shift+P on Windows/Linux or Cmd+Shift+P on Mac open command palette.sftp and you'll now see a number of other commands. You can also access many of the commands from the project's file explorer context menus.SFTP: Download Project. This will download the directory shown in the remotePath setting in sftp.json to your local open directory.For detailed explanations please go to https://github.com/Natizyskunk/vscode-sftp/wiki