Skip to content

Commit

Permalink
Autostyle on save for VSC (#66446)
Browse files Browse the repository at this point in the history
* Documentation + Configuration

* Update .vscode/settings.json

Co-authored-by: Alexey <[email protected]>

* Doing Irwiss thing instead

Co-Authored-By: Alexey <[email protected]>

---------

Co-authored-by: Alexey <[email protected]>
  • Loading branch information
bombasticSlacks and irwiss authored Jun 29, 2023
1 parent 5ad00bd commit 530fa4b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"recommendations": [
"ms-vscode-remote.remote-containers",
"ms-azuretools.vscode-docker"
]
"recommendations": [
"ms-vscode-remote.remote-containers",
"ms-azuretools.vscode-docker",
"cdda-toys.cdda-json-formatter"
]
}
3 changes: 3 additions & 0 deletions doc/JSON_STYLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,6 @@ Additionally, you can configure a keybinding for this command by navigating to
containing `Tools.ExternalCommand` and pick the one that corresponds to the
position of your command in the list (e.g. `Tools.ExternalCommand1` if it's the
top item in the list) and then assign shortcut keys to it.

### Visual Studio Code
If you install the recommended extensions you should have access to the the cdda-toys.cdda-json-formatter which will auto format your json.

0 comments on commit 530fa4b

Please sign in to comment.