kstenschke / shifter-plugin

Intelligent string/code manipulation plugin for Jetbrains IDEs: Detects shiftable type of word/line/selection and manipulates it on keyboard shortcut
http://plugins.jetbrains.com/plugin/6149
Apache License 2.0
105 stars 13 forks source link

CRITICAL: Duplicates removal also removes non-duplicated values #26

Closed senaria closed 7 years ago

senaria commented 8 years ago

Shifting up and accepting the removal of duplicated entries will "remove / not provide" the first element of the shifted result.

Example:

1
2
3
1
2
3

Selecting these 6 lines and shifting it up will result in:

2
3

If I select an empty line above and below it seems to work, but this is dangerous.

kstenschke commented 7 years ago

Thank you Senaria for reporting this issue. It is corrected with ae5eff21835450c1b953dc7fc6436dbfa8741720 👍