Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>KUKA KRL EditNew to Visual Studio Code? Get it now.
KUKA KRL Edit

KUKA KRL Edit

Vassiliy Dvoishes

| (0) | Free
Language features for KUKA KRL
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

KUKA KRL Edit

A Visual Studio Code extension to help write, understand, and maintain KUKA Robot Language (KRL) programs.

This extension is maintained by VDRobotics and is based on the original KUKA KRL Assistant project.

Features

  • Syntax highlighting (snippets and color coding)
  • Document Symbols / Outline view for DEF, DEFFCT and DEFDAT blocks (Outline panel, Breadcrumbs, Ctrl+Shift+O)
  • Go to definition for functions and variables (case-insensitive, like KRL itself)
  • Find All References (Shift+F12, right-click → "Find All References") for functions, structs and variables across the workspace
  • Folding for DEF/DEFFCT/DEFDAT, IF, LOOP, FOR, WHILE, SWITCH, STRUC, REPEAT and KUKA ;FOLD … ;ENDFOLD blocks
  • Hover to view function parameters, and the data type and description of KUKA $-system variables
  • Autocompletion for KUKA $-system variables: type $ to get a list of system variables with their data type and description
  • Warning when a GLOBAL variable is missing a DECL, SIGNAL or STRUC
  • Error when a variable name exceeds KUKA's 24-character limit
  • Error when a variable name has invalid KRL identifier syntax
  • Information diagnostic (on by default) for identifiers that are not declared in the current KRL workspace index; $-system variables, #-enums and .-subvariables are exempt
  • Autocompletion for variables after typing the variable name followed by '.'
  • IntelliSense Autocompletion for Functions and their own Parameters

Configuration

Each diagnostic can be toggled independently in settings.json. All default to true.

{
  "kukaKrl.validation.variableNameLength": true,
  "kukaKrl.validation.variableNameSyntax": true,
  "kukaKrl.validation.undeclaredIdentifiers": true,
  "kukaKrl.validation.globalUsage": true,
  "kukaKrl.validation.defdatPublicGlobalRequired": true,
  "kukaKrl.validation.defdatNonPublicGlobalForbidden": true
}

Set any of them to false to silence the corresponding warning or error. Changes take effect immediately, without reloading the window.

Installation

Install KUKA KRL Edit from the Visual Studio Marketplace:

  • In VS Code, open the Extensions view (Ctrl+Shift+X), search for KUKA KRL Edit, and click Install, or
  • run code --install-extension VDRobotics.kuka-krl-edit from a terminal.

Repository

Public Repo on GitHub

License

MIT

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