Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Sort lines by subselection #40

Closed
funivan opened this issue Sep 19, 2017 · 5 comments
Closed

[Bug] Sort lines by subselection #40

funivan opened this issue Sep 19, 2017 · 5 comments

Comments

@funivan
Copy link

funivan commented Sep 19, 2017

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 ;)

@krasa
Copy link
Owner

krasa commented Sep 19, 2017

Works fine for me. Could you make a video?

@krasa
Copy link
Owner

krasa commented Sep 19, 2017

ok, i reproduced it now.

@funivan
Copy link
Author

funivan commented Sep 19, 2017

@krasa strange. Very strange. I can not reproduce it.
How do you reproduce it ? ))

Another issue.
P.S. You point letter S in Case *S*ensitive and *S*huffle options. Alt+S combination works for the last one.
08 56 37

@krasa
Copy link
Owner

krasa commented Sep 19, 2017

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

krasa added a commit that referenced this issue Sep 19, 2017
krasa added a commit that referenced this issue Sep 19, 2017
@krasa
Copy link
Owner

krasa commented Sep 19, 2017

Fixed, you can update.

@krasa krasa closed this as completed Sep 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants