[Bug] Sort lines by subselection
See original GitHub issueSort lines by subselection
doesn’t work
$a = [
'name'=>2,
'v2'=>3,
'va'=>1,
];
Here it the code. I selected 2
, 3
, 1
in multiple selection mode -> invoked Sort lines by subselection
and this just breaks my code.
Result:
$a = [
'name'=>2,
'v2'=>3,
'v2'=>3,
];
P.S. Thanks for the great plugin 😉
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
spacemacs/sort-lines, optional argument, sort-reverse function ...
1. A visual block selection doesn't sort the selected lines. The whole buffer gets sorted when a C-v visual block selection is active....
Read more >Sorting multiple keys with Unix sort -- Bug? - Stack Overflow
-k2 uses all the characters from the beginning of the 2nd field to the end of the line, because you did not specify...
Read more >New editor command to sort lines alphabetically : IDEA-218836
Simple command available in a lot of editors to sort lines alphabetically. This should provide toggle of ascending/descending
Read more >sql server - Why does ORDER BY not belong in a View?
ANSI SQL only allows the ORDER BY on the outermost query for a variety of reasons, one being what happens when a subselect/view/CTE...
Read more >323495 – [typing] sort selected lines (text editor enhancement)
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed, you can update.
It is broken when there are foldings somewhere before the selection, a bug in IntelliJ imho. I will work around it.