Skip to content

Releases: VectorInformatik/vscode-autosar-dsl

v2.0.3

17 Nov 14:01

Choose a tag to compare

What's Changed

This release revokes our theme extensions that caused undesired interaction with other languages when selected as theme.

Fixes

  • fix: removed arDSL color themes from the Visual Studio Code Extension.
  • fix: changed encoding of License.md to utf-8-bom.
  • fix: proper forwarding of language server error messages to the Visual Studio Code Extension.

Documentation

  • docs: fix spelling of Visual Studio Code
  • docs(Readme): bump default compiler version to 'v2.0.2'

v2.0.2

28 Oct 10:05

Choose a tag to compare

Release Notes - arDSL VS Code Extension 2.0.2

Release Date: October 2025

Overview

We're excited to introduce the first official release of the arDSL VS Code Extension! This extension transforms VS Code into a powerful development environment for AUTOSAR DSL, bringing professional syntax highlighting, intelligent code completion, real-time error detection, and instant documentation access right to your fingertips. Development is faster and more enjoyable with features that help you write correct code the first time.

Features

Beautiful Syntax Highlighting

Your arDSL code now comes alive with carefully designed syntax highlighting that makes it easy to read and understand at a glance. Keywords, types, strings, comments, and other language elements are clearly distinguished with colors that adapt to your VS Code theme (both light and dark modes are supported).

The highlighting is powered by a custom TextMate grammar that covers approximately 90% of the language syntax, providing instant visual feedback as you type without any performance impact.

Intelligent Code Completion

Start typing and watch as the extension suggests exactly what you need. The code completion system understands the AUTOSAR meta-model and your code's structure to offer relevant suggestions:

  • Property names - When working inside objects, see all available properties for that meta-model class.
  • Meta-model classes - Get suggestions for valid AUTOSAR classes when defining elements or building object hierarchies.
  • Collection flattening - Discover which classes can be used via collection flattening directly inside objects.
  • Symbols and functions - Access your constants and functions with $ prefix completions that understand scope.
  • Into-statements - Receive the same helpful suggestions when modifying existing objects.

Code completion works even with incomplete or syntactically incorrect code, handling tricky parsing scenarios where the parser attempts to auto-correct incomplete code. You get accurate suggestions even when writing meta-model classes between other elements, ensuring you receive help exactly when you need it most - while you're still typing.

AUTOSAR {
  ARPackage vector {
    // Type 'ele' and see 'element' suggested
    element [
      // Type 'Ser' and see 'ServiceInterface' suggested
      ServiceInterface myService {
        // Type any letter and see all valid properties
      }
    ]
  }
}

The extension provides accurate completions even when writing meta-model classes between other elements:

AUTOSAR {
  ARPackage vector {
    element [
      ServiceInterface s1 {}
      Ser // Accurate completions here, even between other elements
      ServiceInterface s3 {}
    ]
  }
}

Real-Time Error Detection

Stop waiting for manual compilation to find errors. The extension runs the arDSL compiler in the background as you type, showing errors and warnings immediately in your editor with familiar red squiggles. Click on any error to see a detailed explanation, and quickly navigate between issues to fix them efficiently.

This instant feedback helps you catch mistakes early, understand what's wrong, and fix issues before they compound.

Instant Documentation on Hover

Learning the AUTOSAR meta-model is now effortless. Simply hover your mouse over any element to see:

  • Meta-model documentation - Detailed descriptions of classes and properties pulled directly from the AUTOSAR specification.
  • Type information - See the type of any symbol, variable, or expression without searching through code.
  • Function signatures - Understand function parameters and return types at a glance.
  • Type annotations - Get information about type declarations in let-statements and function definitions.

No more switching to external documentation or guessing what a property means - the answers are right there when you need them.

Quick Navigation with Go-to-Definition

Jump instantly to where things are defined with Go-to-Definition support. Ctrl+click on any symbol, reference, or model navigation expression to navigate directly to its definition:

  • Symbol usage - Jump from a symbol reference to its let-statement or function definition.
  • Object references - Navigate from a shortName path reference to where the object is defined.
  • Model navigation - Follow model navigation chains to see where target values are defined.
  • Path queries - Jump to the objects resolved by path query expressions.

This makes exploring and understanding large models effortless, helping you quickly understand code structure and dependencies.

Automatic Compiler Downloads

The extension automatically downloads and manages the arDSL compiler for you. When you open an arDSL file, the extension checks for the latest compiler version and downloads it if needed - no manual setup required. The compiler runs in the background to power all the language features.

The extension includes comprehensive error handling for various network scenarios:

  • No internet connection - Clear message explaining the connectivity issue.
  • Certificate problems - Helpful guidance when custom certificates are not configured correctly.
  • Interrupted downloads - Recovery instructions when downloads are cancelled or interrupted.
  • Rate limiting - Informative messages if GitHub API rate limits are reached.
  • Startup failures - Clear error messages that help distinguish between download issues and local startup problems.

Each error message is designed to help you quickly understand what went wrong and what to do next, making troubleshooting much faster.