Vector CAPL for Visual Studio CodeThis extension provides editing support for the Vector programming language CAPL. This includes syntax highlighting, symbol completion, validation, and more. PrerequisitesThe Vector CAPL extension requires a Vector toolset to be installed. The Vector toolset comes with the commercial products CANoe, CANoe4SW, and CANoe4SW Server Edition. It is also part of the freely available Vector Test Unit Runner. At least version 16 SP3 of the Vector toolset is required. The currently selected toolset is shown in the status bar.
By default, the latest installed version is used.
To select a specific version, use the command Usage with CANoe and CANoe4SWIf you want to edit CAPL scripts from a CANoe or CANoe4SW configuration in Visual Studio Code, you must set Visual Studio Code as your default CAPL editor, first: 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 scripts directly from the CANoe or CANoe4SW user interface. This will ensure that symbols from your CANoe or CANoe4SW configuration are correctly loaded. Usage with CANoe4SW Server Edition and Vector Test Unit RunnerIn order to edit CAPL files from a CANoe4SW Server Edition or Vector Test Unit Runner environment, you have to install the Vector Simulation and Test Environment extension. If you want to edit CAPL files from test units to be used with CANoe4SW Server Edition or Vector Test Unit Runner, you'll also need the Vector Test Unit extension extension. |