Cybus Connectware Extension (VS Code)
VS Code extension for editing and validating Cybus Connectware service commissioning files.
The Cybus Connectware Extension provides YAML language support for Visual Studio Code when working with service commissioning files. Designed for developers and engineers working with YAML-based Connectware configurations, it provides schema validation, autocompletion, and inline documentation to support authoring Connectware configuration files.
Cybus Connectware Extension for VS Code is currently in the beta stage. Always validate results using your established development and testing processes.
Questions or issues? Contact: support@cybus.io

Cybus Connectware Extension for VS Code is available on the VS Code Marketplace.
Key Features
Schema-aware Validation & Linting: Real-time validation against official Cybus schemas. Errors and warnings appear in VS Code's Problems view so issues are visible in the editor before deployment.
Intelligent Autocompletion: Suggestions for valid YAML structures, attributes, and values based on the cursor position and active schema.
Inline Documentation: Hover over configuration elements to view descriptions and direct links to the official Cybus documentation without leaving your editor.
Snippets & Templates: Create new services quickly using predefined snippets and example templates for common configurations.
Supported File Patterns
The extension automatically recognizes the following file patterns:
*.scf.yaml,*.scf.yml,*.scf*.cw.yaml,*.cw.yml*/connectware/scf*/*.yaml
Getting Started
Install the extension from the VS Code Marketplace.
Open a service commissioning file matching any of the supported file patterns.
Start typing. The extension provides autocompletion and validation as you edit the file.
Keyboard Shortcuts
Trigger autocomplete
Ctrl+Space
Option+Esc
Open Command Palette
Ctrl+Shift+P
Cmd+Shift+P
Use Quick Fix
Ctrl+.
Cmd+.
Open Problems panel
Ctrl+Shift+M
Cmd+Shift+M
Show hover info
Ctrl+K Ctrl+I
Cmd+K Cmd+I
Snippets & Templates
Type these prefixes and trigger autocomplete to insert templates:
Service Templates
template:opcua:bridge:read
OPC UA read bridge
template:modbus:bridge:read
Modbus read bridge
template:s7:bridge:read-write
S7 read/write bridge
template:mqtt:bridge:publisher-tls
MQTT TLS publisher
template:influxdb:app:deploy
InfluxDB deployment
template:grafana:app:deploy
Grafana deployment
Resource Snippets
snippet:opcua:resource:connection
OPC UA connection
snippet:modbus:resource:connection
Modbus connection
snippet:mqtt:resource:endpoint-subscribe
MQTT subscribe endpoint
Type template: or snippet: and browse all options with autocomplete.
Tips & Tricks
Reference Resources with !ref
Example
String Substitution with !sub
Example
Show Object Examples (Not Just Properties)
Place your cursor after the space following a colon and trigger autocomplete to see full object examples or available object properties.
Show object examples
Show object properties
Best Practices
A practical way to create a Connectware service is to start from a template and customize it.
Create: Start with a Template
Create a new file with
.scf.yamlextension.Type
template:and trigger autocomplete.Choose a template matching your use case (e.g.,
template:opcua:bridge:read).The template includes an example with all required sections.
Customize: Modify the Service
Remove unused endpoints, mappings, or parameters (the linter will flag broken references).
Add new resources: type
snippet:to add connections, endpoints, mappings, etc.Reference existing resources with
!ref resourceName.Modify values: update connection parameters, adjust endpoints, customize mappings.
Example: Building an OPC UA to MQTT Bridge
Privacy
This extension does not collect or transmit any telemetry or usage data.
License
Cybus Connectware Extension is licensed under the MIT license.
Last updated
Was this helpful?

