Closed Antyos closed 2 years ago
@Antyos @NorthboundTrain @diartyz I mangaged to have this feature with a new vscode keybind :
{
"command": "sortJSON.sortJSON",
"key": "ctrl+s",
"when": "editorTextFocus && !editorReadonly && resourceExtname == .json"
}
Hope it helps 👍
Nice :)
Although not a huge deal, I think it would be a nice addition to default to sorting an entire
json
document if there is nothing selected. For new users who don't necessarily read the documentation (like myself...) noting the extension formats based on selection, it would be especially helpful.This could either be implemented by: