Configuring the VS Code plugin for Zato
The VS Code plugin - installation, server connection and hot-deployment on save.
This chapter describes the Zato plugin for Visual Studio Code, available from the Visual Studio marketplace, which adds a default keybinding along with a toolbar button enabling simplified hot-deployment to your development environment.
Another chapter describes how to add code completion (IntelliSense) to the IDE.
Prerequisites
To enable hot-deployment from Visual Studio Code, ensure you have first followed the prerequisite configuration instructions.
Installation
Visit the Extensions Marketplace either in your browser, or within the application, by pressing Ctrl+Shift+X hot-key:

Configuration
After the installation completes, visit the settings panel via Ctrl+, to configure your server connection:

Deployment
- Automatic deployment is triggered on every file save if a Python file contains a special deployment marker within its first 100 lines of source code:
# -*- coding: utf-8 -*-
# zato: ide-deploy=True
from zato.server.service import Service
class MyService(Service):
def handle(self):
pass
- While editing any Python module, you can also deploy to the configured Zato environment by clicking the toolbar icon, or pressing the
Ctrl+Shift+Lhotkey:
