Skip to content

ce4ic/vscode-jsonnet-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.