4

Column selection: simultaneous multi-line editing with IntelliJ!

 2 years ago
source link: https://dev.to/scottshipp/column-selection-simultaneous-multi-line-editing-with-intellij-2ddn
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

IntelliJ Life Hacks (3 Part Series)

Did you know that IntelliJ IDEA can be used to edit multiple lines at once with its column selection feature!?

And..it's really easy. Simply hold down Alt or Option, depending on which OS you use, and drag up- or downward.

You can see this in action in the following video:

This can be handy in all kinds of situations from changing the access modifiers of multiple variables at once to adding bullet points in front of multiple lines of Markdown.

Happy IntelliJ-ing!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK