Closed tjx666 closed 1 year ago
Hi @tjx666,
I understand your concern, but sorry this is not possible in this extension. This extension is used to sort an object or list. The selected string must be a valid JavaScript object. Just a part of a string cant be sorted.
The alternative way is to use the vscode native sort lines ascending
and sort lines descending
.
Thanks, Siva
My use case is to sort the settings.json. In following screenshot, I only want to sort the selected properties in the red box;
Another same condition is to sort tsconfig.json: