Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Vector CAPLNew to Visual Studio Code? Get it now.
Vector CAPL

Vector CAPL

Vector Group

vector.com
|
27,522 installs
| (4) | Free
CAPL language support
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Vector CAPL for Visual Studio Code

This 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.

Prerequisites

The 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 CANoe

If you want to edit CAPL scripts from a CANoe configuration (*.cfg) in Visual Studio Code, you must set Visual Studio Code as your default CAPL file editor first:

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 workflow

To edit CAPL files in a Server Edition environment (defined in venvironment.yaml), you have to install the Vector Simulation and Test Environment extension. For CAPL test files in test units, you additionally need to install the Vector Test Unit extension.

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 Select Vector toolset to open the toolset selection view.

The quick start view of the CANoe sidebar offers helpful shortcuts for common tasks like creating files, working with samples, and accessing help.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft