Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>vscode-apptainerNew to Visual Studio Code? Get it now.
vscode-apptainer

vscode-apptainer

Altan Orhon

|
312 installs
| (0) | Free
Syntax highlighting for Apptainer definition files with improved support for embedded shell scripts.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-apptainer README

This extension provides syntax highlighting for Apptainer/Singularity definition files. Improved syntax highlighting for sections that include shell scripts is provided by Visual Studio Code's built-in shell script syntax highlighting.

Preview

preview

Known Issues

  • Template strings are not highlighted correctly if they appear on the same line as a header or a section name.
  • Template strings are not highlighted within shell scripts.

Acknowledgements

  • Apptainer: Test files under test/from-apptainer are copied from the Apptainer repository. The extension icon is based on the Apptainer logo.
  • mo by Tests Always Included: A mustache templating engine in Bash. Used here to replace template strings with values. Included under template/mo.
  • Semantic Rainbow by Thertzlor: A Visual Studio Code color theme. Used here in the preview image.
  • yq by Mike Farah: A YAML processor in Go. Used here to transform language definitions from YAML to JSON.

See also

  • vscode-singularity by Onno Valkering also provides syntax highlighting for Singularity definition files and was used as a reference while developing this extension.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft