richie5um / vscode-sort-json

VSCode Extension to Sort JSON objects
https://marketplace.visualstudio.com/items?itemName=richie5um2.vscode-sort-json
MIT License
107 stars 20 forks source link

Doesn't register as formatter? #84

Open mgzenitech opened 7 months ago

mgzenitech commented 7 months ago

It looks like this extension does not register itself as formatter.

"Format Document" does not trigger anything.

Maybe it would be pretty easy to register itself as a proper formatter?

{
  "json.format.enable": false,
  "[json]": {
    "editor.defaultFormatter": "richie5um2.vscode-sort-json"
  },
  "[jsonc]": {
    "editor.defaultFormatter": "richie5um2.vscode-sort-json"
  }
}
richie5um commented 7 months ago

Thanks for the comment and the config. I haven't updated this extension for a long time, so probably a few things I need to fix up. I'll add to my todo list and hope to get to it soon.