Vector vCDL for Visual Studio Code
This extension provides editing support for version 2.0 of the Vector Communication Description Language (vCDL), a domain-specific language for service-oriented communication systems for use in Vector's CANoe family of products. The extension supports syntax highlighting, outlining, completion, snippets and validation.
Usage with CANoe and CANoe4SW
The extension automatically detects an installation of CANoe or CANoe4SW. If you have more than one edition installed or, for any other reason, have a custom setup, you can manually adjust the extension setting
You can make Visual Studio Code your default editor for vCDL 2.0 files when working with CANoe or CANoe4SW. In fact, these two products will automatically detect and suggest this.
To manually configure which editor to use, open CANoe's Options dialog.
On the left, go to External Programs > Tools, then find VCDL file editor and open the path to the Visual Studio Code executable. If you did not configure this earlier,
If you get a warning that CANoe's "system library cache" could not be found, you probably have a freshly installed version of CANoe or CANoe4SW. In this case, simply start either product once, which will silence the warning.
Default Style Settings
The extension will use indentation with two spaces and word-based completion for vCDL files by default. Feel free to adjust these settings to your liking in Visual Studio Code's settings.