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

Don't copy last line if caret after terminating line delimiter #2

Open
markus-ksg opened this issue Apr 10, 2019 · 1 comment
Open

Comments

@markus-ksg
Copy link

Nice plugin! It almost works like in Eclipse, but there's one annoying difference:

When you set the caret to the beginning of a line, press Shift+Down to select select multiple lines, and then use the Duplicate Lines actions, then your plugin also copies the unselected line after the selection (where the caret is). In Eclipse, the caret line is not copied in this case. It would be nice if this plugin could behave the same way.

aaa
Selected
lines

| <- caret here, but nothing on this line is selected -> this line should not be duplicated

@HaLo1701
Copy link

HaLo1701 commented Oct 15, 2024

The mentioned request would be very helpfull because it was also done in that way in NetBeans etc. and the current behavior quickly leads to an error in the code if you are not careful.
Also the action "Move line up/down" works in this way.

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