Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Etd basetech capl supportNew to Visual Studio Code? Get it now.
Etd basetech capl support

Etd basetech capl support

junyu zhang

|
190 installs
| (1) | Free
Syntax highlighting and function outline support for Vector CANoe CAPL language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Etd basetech capl support

A VS Code extension that provides support for Vector CANoe's CAPL language.

Features

  • Syntax highlighting
  • Function outline view with sections for Includes, Variables, Test Cases, and Functions
  • Click navigation to #include lines and variables block
  • Support for /// <group-name> grouping in outline
  • Support for enum and struct return types in function detection
  • Support for .can and .cin files
  • Function sorting (by position or alphabetically)
  • Function signature display with parameter types and return types

Installation

  1. Open the Extensions view in VS Code (Ctrl+Shift+X)
  2. Search for "CAPL"
  3. Click Install

Usage

  1. Open a .can or .cin file
  2. Click the "CAPL Outline" icon in the Activity Bar
  3. In the function outline view, you can:
    • View Includes, Variables, Test Cases, and Functions sections
    • Click items to navigate to their definitions
    • Use the icon buttons in the view title to switch sorting methods

Configuration

The following settings are available in VS Code:

  • caplOutline.sortOrder: Set the function sorting method
    • position: Sort by position (default)
    • alphabetical: Sort alphabetically

Supported Language Features

  • Basic data types
  • Function definitions
  • Variable declarations
  • Comments
  • Control structures
  • Struct types

Changelog

v0.0.4

  • Added Includes section with clickable #include entries
  • Added Variables section with clickable variables { } block navigation
  • Added support for /// <group-name> grouping in Test Cases and Functions outline
  • Fixed function detection for enum and struct return types
  • Fixed outline navigation to use the correct document URI
  • Fixed function line detection so grouping works when { is on the next line
  • Group comments only apply to the immediately following function or testcase
  • Replaced sort buttons with icon buttons in the outline title bar

v0.0.3

  • Improved outline view organization
    • Grouped functions and test cases into separate sections
    • Added dedicated group headers with distinct icons
  • Enhanced test case support
    • Added support for testcase name (){} syntax
    • Added support for export testcase name (){} syntax
    • Display full test case signatures in outline
  • Fixed function detection issues
    • Improved function detection regex
    • Prevented false detection of control statements (if, while, for)
  • Enhanced outline item display format
    • Functions: function_name(parameter_types) : return_type
    • Test cases: testcase_name() : void

v0.0.2

  • Added function signature display in outline view
  • Enhanced function parameter type recognition
  • Added support for struct type parameters
  • Improved function sorting options
  • Fixed Chinese character display issues

Contributing

Issues and pull requests are welcome!

License

MIT

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