Natizyskunk / vscode-sftp

Super fast sftp/ftp extension for VS Code
Other
389 stars 75 forks source link

How to manage multiple contexts? #318

Open WDmoose opened 1 year ago

WDmoose commented 1 year ago

I don't understand how to setup the config for multiple contexts. In the example, why is the context and the remotePath have the same folder names? I am maintaining two separate scripts that are to be uploaded to the same server. how would I set this up?

Is it valid to use one server and two contexts?

[ "name": "server1", "host": "myhost", "protocol": "sftp", "port": 22, "username": "abc", "remotePath": "/home/scripts", "password": "****", "ignore": [".vscode", ".git", ".DS_Store"] "watcher": { "files": "dist/.{js,css}", "autoUpload": false, "autoDelete": false { "name": "project1", "context": "project1/build",

}, { "name": "project2", "context": "project2/build", } ]

WDmoose commented 1 year ago

my apologies, this should be in discussions not issues.