Vector CAPL for Visual Studio CodeThis extension provides editing support for the Vector programming languages CAPL and CAPL 2. This includes syntax highlighting, symbol completion, validation, and more. Note: CAPL 2 is currently in a "preview" status. If you have any feedback or suggestions, fill out this short questionnaire or contact the Vector support.
PrerequisitesThe Vector CAPL extension requires a Vector toolset to be installed. The Vector toolset comes with any CANoe or CANoe Server Edition. At least version 18 of the Vector toolset is required. For full CAPL editing support, we recommend version 19 or higher. Usage in the Desktop Editions of CANoeIf you want to edit CAPL scripts from a CANoe configuration ( In CANoe, open the Options dialog.
Go to External Programs > Tools and configure the path to the Visual Studio Code executable as CAPL file editor.
Please always open CAPL and CAPL 2 scripts directly from the user interface of your CANoe product. This will ensure that symbols from your configuration are correctly loaded.
Usage in the DevOps workflowTo edit CAPL files in a Server Edition environment (defined in The currently selected Vector toolset is shown in the configuration view of the CANoe sidebar.
By default, the latest installed version is used.
To select a specific version, click on the Toolset entry in the configuration view or use the command The quick start view of the CANoe sidebar offers helpful shortcuts for common tasks like creating files, working with samples, and accessing help. |