Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>jsonnet FormatterNew to Visual Studio Code? Get it now.
jsonnet Formatter

jsonnet Formatter

xrc-inc

|
24,551 installs
| (0) | Free
Provide jsonnet vscode format support.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Jsonnet Format

This package provides jsonnet language formatter. Visual Studio Code will automatically format the code on save, or you can manually invoke the format command.

It is set to use the Google's internal config:

jsonnetfmt --indent 2 --max-blank-lines 2 --sort-imports --string-style s --comment-style s

Install

Make sure jsonnetfmt is installed and exists in $PATH.

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