ADITO Code CompletionADITO Code Completion brings the information from your ADITO YAML model into VS Code. It connects YAML model files with their JDito JavaScript/TypeScript process files and offers context-sensitive suggestions while you write code. What the extension providesThe extension supports five workflows:
Suggestions are refreshed when relevant YAML, preference, or configuration files change, so the completion data stays up to date. Quick start
The extension walkthrough guides you through the required settings. If the TypeScript server was already running when the extension or its configuration changed, run TypeScript: Restart TS Server from the Command Palette. YAML completionThe schema catalog defines which YAML files and properties are supported. It is used for model references and also to find the JDito process links that belong to a YAML file. The extension includes YAML Language Support by Red Hat as an extension dependency for schema-driven YAML support. JDito variable completionJDito variables are offered when all of these conditions apply:
For example, you can get suggestions for the following
Selecting
The available variables depend on the YAML link and its schema. This feature requires ADITO core version 2026.1.2 or later. Dynamic
|
| Setting | Purpose |
|---|---|
yaml.schemaStore.url |
ADITO JSON-schema catalog used by YAML and JDito completion. Supports file: paths and HTTP(S) URLs. |
aditoCodeCompletion.createProcessFileOnReferenceInsertion |
Creates a missing linked file when its YAML reference is inserted. |
aditoCodeCompletion.createProcessFileOnSave |
Creates all missing supported linked files when a YAML file is saved. |
Configuration-value completion
The TypeScript server plugin suggests schema and custom values in the first argument of
project.getPreferenceValue and project.getInstanceConfigValue.
Custom values are read from:
preferences/preferences.yamlpreferences/_____PREFERENCES_PROJECT/_____PREFERENCES_PROJECT.aod
The plugin searches the TypeScript project directory and all open VS Code workspace folders, including multi-root
workspaces. It works with VS Code's bundled TypeScript version and with a workspace TypeScript version. No separate JDito
language-server plugin needs to be added to tsconfig.json.
Requirements
- A trusted workspace. The extension needs access to workspace files and schemas.
- ADITO core 2026.1.2 or later for JDito variable completion.
- The ADITO Standalone Tools extension only for dynamic
$fieldand$paramcompletion.
Troubleshooting
No JDito variable suggestions appear
- Confirm that the current JS/TS file is linked from a YAML file.
- Confirm that the link property exists in the configured schema and contains JDito variable metadata.
- Make sure the cursor is inside a quoted string.
- Check that the file belongs to the currently opened workspace.
- Run TypeScript: Restart TS Server.
No dynamic $field or $param suggestions appear
- Confirm that the ADITO Standalone Tools extension is installed and enabled, and that the workspace root contains
a
.aditoprjfolder. - Confirm that
yaml.schemaStore.urlis configured and reachable. - Check the ADITO Standalone Tools output channel for daemon or tool failures.
No YAML suggestions appear
- Confirm that the schema catalog is reachable.
- Check that the YAML filename matches one of the schema's file patterns.
- Ensure that the Red Hat YAML extension is installed and enabled.
Configuration-value suggestions are missing
- Use the first argument of
project.getPreferenceValueorproject.getInstanceConfigValue. - Verify that the relevant schema or preference file can be read from the TypeScript project or workspace folder.
- Restart the TypeScript server after changing workspace configuration.