richie5um / vscode-sort-json

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

Feature Request: Add files to ignore #43

Closed sri352 closed 3 years ago

sri352 commented 3 years ago

Can we have a setting added where we can specify the files for which the sortJSON can be ignored. This is coming after me adding codeActionsOnSave enabled but don't want it to run on package.json and some other limited files.

jerrygreen commented 3 years ago

Yeah, I think there should be probably some explicit rules regarding sorting files like package.json, something like "importance order", with name first, then description, version, etc. Well, at least in some ideal world. But I'm ok with what it does already, actually