sort-js-object-keys
sort-js-object-keys copied to clipboard
This is a VS code extension to alphabetically sort the keys in selected js objects keys in your code.
It fails with "Please make sure your selected text is a JS object!" for following object because of value of `c` ``` const pippo = { n: 'afd', a: 45,...
Type: Bug In vs code my keyboard 'r' key not working but ' Shift + r ' key is working, this issue is only in vs code because of zengxingxin.sort-js-object-keys...
```ts const x = { a: 1, b: import('foo') } ```
I can't seem to get this plugin to work. At first, I thought it was because my js object was a rather complex one (lots of functions, comments, etc.). So...
Hi. I want to make a small PR but I see there's no PR created (nor accepted) since 3 years ago. Is there any chance the PR would be accepted?
## Description Sorting an object with spreads results in fields in the wrong order, altering the result. Given these objects: ```js const objA = { h: 1080, w: 1600 }...
It would be great if this package could add trailing commas to the sorted result. It's a rule I have on my workspace and having to add them manually can...
Provide support to sort the following: ``` export interface Example { a: string; c: string; b: string; } ```
Hello there 🤗 would be cool if this could sort javascript objects like in Vue.js: ``` { ...mapState('A', ['B']), computeSeries() {}, } ```
It would be useful if I could sort an object only at its first level, and not sort all the subkeys as well. And maybe some people would want to...