Intelligent string/code manipulation plugin for Jetbrains IDEs: Detects shiftable type of word/line/selection and manipulates it on keyboard shortcut
105
stars
13
forks
source link
Invalid shifting with JavaScript objects #48
Open
patric-eberle opened 4 years ago
Shifter: 1.9.6
When sorting a JavaScript object, the code gets messed up, unless only ES2015 shorthand definition or primitive key/value pairs are used.
Case 1:
This one works, as long as I only select the inner rows of the object.
Case 2:
This one fails and produces the following result:
Selecting the whole variable fails entirely (which I think may be OK...)
Grüäss us Sanggallä 😃