question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Sort lines by subselection

See original GitHub issue

Sort 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:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
krasacommented, Sep 19, 2017

Fixed, you can update.

0reactions
krasacommented, Sep 19, 2017

It is broken when there are foldings somewhere before the selection, a bug in IntelliJ imho. I will work around it.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found