Skip to content

Syntax highlighting for Apptainer/Singularity definition files in Visual Studio Code with embedded shell script highlighting.

License

Notifications You must be signed in to change notification settings

maouw/vscode-apptainer

Repository files navigation

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.

About

Syntax highlighting for Apptainer/Singularity definition files in Visual Studio Code with embedded shell script highlighting.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published