Skip to content

Commit

Permalink
chore: Added format configuration defaults for noir (#55)
Browse files Browse the repository at this point in the history
Co-authored-by: Gregorio Juliana Quirós <[email protected]>
Co-authored-by: Tom French <[email protected]>
Co-authored-by: Savio <[email protected]>
  • Loading branch information
4 people authored Dec 13, 2023
1 parent 822b51d commit 5152918
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This extension helps developers write, understand, and improve Noir code by prov
- Compile errors and warnings on file save
- Run tests via codelens above each test
- Useful snippets for common code patterns
- Auto-format on save

## Requirements

Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@
"description": "Traces the communication between VS Code and the language server."
}
}
},
"configurationDefaults": {
"[noir]": {
"editor.defaultFormatter": "noir-lang.vscode-noir",
"editor.formatOnSave": true
}
}
},
"scripts": {
Expand Down

0 comments on commit 5152918

Please sign in to comment.