IntelliJ Multiline edit at end of each line?
Asked Answered
H

2

2

In IntelliJ we can do multiline edit at the same position on each line with Alt + Shift + Insert. Can we do multiline edit at the end of each line when the length of each line is different? A usage scenario is for editing semicolon at the end of each line.

Thanks.

Haematocele answered 14/3, 2013 at 1:34 Comment(1)
See youtrack.jetbrains.com/issue/IDEA-80056.Paleontology
K
4

This is possible now. Do a multi-line edit starting an any arbitrary column as normal, then press the "END" key and the insertion points will move to the end of each line. Also supported are the HOME, and CTRL + left or right arrow.

Kearse answered 4/6, 2015 at 1:15 Comment(0)
C
1

For anyone with a Mac and stumbled on this 10 years later, select your lines and press SHIFTG

Carmoncarmona answered 7/2 at 18:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.