Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>OPAL-RT OneLib YAML HelpersNew to Visual Studio Code? Get it now.
OPAL-RT OneLib YAML Helpers

OPAL-RT OneLib YAML Helpers

Preview

OPAL-RT TECHNOLOGIES

|
105 installs
| (1) | Free
Highlight embedded Python code in OneLib YAML mapping files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

OneLib YAML: A VSCode extension for OPAL-RT's OneLib

Highlight embedded Python code in OneLib YAML mapping files.

  • Extension in Visual Studio: Marketplace

Example

See: example.yaml:

variables:
  Xr: !py math.cos(COMP.4) / 3 * 4

  frNom: !pydef |
    def my_func(COMP):
      return COMP.frnom * 100

It even works for Python embedded in YAML, which itself is embedded in a Markdown code-block:

Build

npx @vscode/vsce package

Install locally

Build, and then install

code --install-extension onelib-yaml-0.1.1.vsix

Contact

  • OPAL-RT Technical Support
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft