vs-deploy
Visual Studio Code (VS Code) extension that provides commands to deploy files of a workspace to a destination.
The extension supports the following destination types:
Type | Supports download / pull? |
---|---|
Amazon AWS S3 buckets | X |
Apps / executables / scripts (bash, batch, e.g.) | |
Azure blob storages | X |
DropBox | X |
External Node.js based scripts | X |
FTP | X |
HTTP(s) | |
Local or shared network folders inside a LAN | X |
Mail (SMTP) | |
Remote machines like other VS Code instances | |
REST APIs like vs-rest-api | X |
SFTP | X |
Slack | |
SQL | |
ZIP files | X |
There is also build-in support for the following compilers and processors:
... and these languages:
- brazilian portuguese (thanks to Celio Rodrigues!)
- english
- french (thanks to neiobaf and Mathieu Lesniak!)
- german
- spanish (thanks to alejandroivan!)
- russian (thanks to sag3ll0!)
If you would like to add another translation, please read that issue first.
Table of contents
↑]
Recoded version [I have started a new and recoded version of that extension, called vscode-deploy-reloaded, which is still in a preview, but good beta state.
↑]
Demos [↑]
Deploying to SFTP [↑]
Deploy on change [↑]
Download / pull from SFTP [↑]
Compare files [↑]
Check for newer files [↑]
Sync when open [↑]
Deploy to ZIP file [↑]
Deploy to remote Visual Studio Code instance [↑]
Install [Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter:
ext install vs-deploy
Or search for things like vs-deploy
in your editor:
↑]
How to use [Detailed information can be found at the wiki.
Otherwise...
↑]
Settings [Open (or create) your settings.json
in your .vscode
subfolder of your workspace.
Add a deploy
section:
↑]
Packages [A package is a description of files of your workspace that should be deployed.
Add the subsection packages
and add one or more entry:
Look at the wiki to get more information about packages.
↑]
Targets [A target describes where a file or package should be transfered to.
Add the subsection targets
and add one or more entry:
Look at the wiki to get more information about targets.
↑]
How to execute [Press F1
to open the list of commands and enter one of the following commands:
Name | Description | Shortcut (CTRL is CMD on Mac) |
---|---|---|
Deploy: Change switch |
Changes the options of a switch. | This command does not have a default key binding. If you want to setup a shortcut for extension.deploy.changeSwitch , you can update keybindings.json as described here. |
Deploy: Compare files |
Compares a local file with a remote one. | CTRL+ALT+P, C |
Deploy: Deploy current file / folder |
Deploys the current opened file. | CTRL+ALT+F |
Deploy: Deploy workspace |
Deploys a specific package. | CTRL+ALT+W |
Deploy: Open example / template |
Opens a template from one or more offical and/or custom repository. | This command does not have a default key binding. If you want to setup a shortcut for extension.deploy.openTemplate , you can update keybindings.json as described here. |
Deploy: Pull current file / folder |
Pulls the current opened file. | CTRL+ALT+P, F |
Deploy: Pull workspace |
Pulls a specific package. | CTRL+ALT+P, W |
Deploy: Select workspace |
Changes the current workspace, s. Multi-root Workspaces. | This command does not have a default key binding. If you want to setup a shortcut for extension.deploy.selectWorkspace , you can update keybindings.json as described here. |
Deploy: Start/stop listening for files |
Start/stop listening for files from a remote machine. | CTRL+ALT+L |