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

|
20 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
  • 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 all functions with their signatures
    • Click on a function to navigate to its definition
    • Use the menu in the top-right corner 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.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
© 2025 Microsoft