Closed mgzenitech closed 6 months ago
Hi @mgzenitech,
I am sorry I can't make it as a formatter. Bu this extension can format the code by using code actions.
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
}
or you can set a custom key binding to format the code.
{
"key": "cmd+shift+a",
"command": "editor.action.codeAction",
"args": {
"kind": "source.fixAll.sort-json"
}
}
Right now this extension provides custom commands, but maybe it would be possible to register as a proper JSON formatter? So that "Format Document" command would work?