AUTOSAR DSL - VS Code ExtensionThe AUTOSAR DSL (arDSL) is a simplified textual format to model system configurations and model descriptions for the AUTOSAR standard. This extension transforms VS Code into a powerful development environment for arDSL, 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. FeaturesBeautiful Syntax HighlightingYour 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).
Intelligent Code CompletionStart 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:
Real-Time Error DetectionStop 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. Useful Code SnippetsAccelerate editing with arDSL snippets for common patterns such as function definitions and into-statements. Tab stops and placeholders help you fill in the right parts quickly.
Instant Documentation on HoverLearning the AUTOSAR meta-model is now effortless. Simply hover your mouse over any element to see:
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-DefinitionJump instantly to where things are defined with Go-to-Definition support. Ctrl+Left-Click on any symbol, reference, or model navigation expression to navigate directly to its definition:
This makes exploring and understanding large models effortless, helping you quickly understand code structure and dependencies. Automatic Compiler DownloadsThe 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. InstallationInstall the extension from the VS Code Marketplace. When the extension is activated, e.g., by opening an
The compiler is deployed in the corresponding subdirectory Follow the simple installation progress visualized by a progress bar in VS Code. After installation, the language server is automatically started. Settings
arDSL DocumentationThe documentation is installed in the same directory as the compiler, and can be found in the Compile to ARXML/arDSLYou will find the compiler executable in the Use the
Meta-model DocumentationUse the
More information about available commands and options can be explored via |