Releases: zardoy/vscode-fix-all-json
Releases · zardoy/vscode-fix-all-json
v0.1.6
Bug Fixes
- readme: Update recommended setting (#21)
v0.1.5
New Features
- provide a way to disable fixAllJson on save via editor.codeActionsOnSave setting switch 164d357
Bug Fixes
- comma-on-enter: always ignore last line (fixes final newline comma with array) 164d357
- make extension work with localized VS Code. Only wrap in quotes doesn't work in this case as json diagnostic doesn't have a code (upstream issue) 164d357
- always ignore last line (fixes final newline with array) 952e501
v0.1.4
Bug Fixes
- commaOnEnter: don't add comma after last
}
It is important when final newline added because of "files.insertFinalNewline": true
2ee156c
v0.1.3
New Features
- Insert missing double quotes on colon (#11)
Enabled by default. 577ebc5
v0.1.2
Bug Fixes
- Comma on Enter should work with CRLF eol (#12)
v0.1.1
Bug Fixes
- double quote fix sometimes was removing outer letters by mistake when property key contained two
'
30a39cb
v0.1.0
💥 BREAKING CHANGES
- Move to CodeActions model (#8)
Closes #7
! Settings runOnSave
and runFormatter
removed. Now you need setup codeActionsOnSave
to make it work on save, like so:
"editor.codeActionsOnSave": {
"source.fixAll": true,
}
See linked issue for motivation 5f509a5
New Features
- Insert Missing Comma on Enter (#6)
Comes with comments support. Enabled by default for json
and jsonc
, you can disable it with new insertMissingCommaOnEnter
setting.
Fix #5 883dda4
v0.0.7
New Features
- add extension icon and changelog (#3)
v0.0.6
Bug Fixes
- don't perform fixes on auto save after delay
9bf1d58