This article is part of a ‘mini series’ about hidden gems, tips and tricks around Eclipse.
The topic of this one is how to do a ‘block’ selection in the text editor.
To start a block selection use Alt+Shift+A or use the icon on the toolbar:
Then use the mouse to mark a block in the text editor:
Then I can cut or copy the selected text:
While in block mode (indicated by the cross-hair cursor) I can insert the copied text block:
To exit the block selection mode, use the toolbar button again or use Alt+Shift+A.
Happy Blocking 🙂
Links
- Eclipse Gems, Tips & Tricks: Importing Projects
- Eclipse Gems, Tips & Tricks: Close and Open Projects
- Eclipse Gems, Tips & Tricks: Text Block Selection
- Eclipse Gems, Tips & Tricks: Project Filter
- Eclipse Gems, Tips & Tricks: Black Theme
- Eclipse Gems, Tips & Tricks: Faster Debugger Start
- Eclipse Gems, Tips & Tricks: RT(F)M
- Eclipse Gems, Tips &Tricks: Show in System Explorer
- Eclipse Gems, Tips & Tricks: Open Declaration
- Eclipse Gems, Tips & Tricks: Code Completion
- Eclipse Gems, Tips & Tricks: Highlight Usage and Definition
- Eclipse Gems, Tips & Tricks: Block Comments
- Eclipse Gems, Tips & Tricks: Working Sets
Nice trick, now I don’t have to copy to npp to do just copy paste. Can you please make post about importing/making Cmake projects .
LikeLike
cmake would be a much bigger topic. I assume you already have installed and explored the camke4eclipse plugin?
LikeLike
It’s a really neat feature, although I prefer multi cursor editing as in Atom. It’s more flexible and faster accessible. But the block selection does quite a good job.
LikeLike
I very much like Atom too.
LikeLike
Pingback: Eclipse Gems, Tips & Tricks: Importing Projects | MCU on Eclipse
Pingback: Eclipse Gems, Tips & Tricks: Close and Open Projects | MCU on Eclipse
Pingback: Eclipse Gems, Tips &Tricks: Black Theme | MCU on Eclipse
Pingback: Eclipse Gems, Tips & Tricks: Faster Debugger Start | MCU on Eclipse
Pingback: Eclipse Gems, Tips & Tricks: Project Filter | MCU on Eclipse
Pingback: Eclipse Gems, Tips & Tricks: RT(F)M | MCU on Eclipse
Pingback: Eclipse Gems, Tips &Tricks: Show in System Explorer | MCU on Eclipse
Pingback: Eclipse Gems, Tips & Tricks: Open Declaration | MCU on Eclipse
Pingback: Eclipse Gems, Tips & Tricks: Code Completion | MCU on Eclipse
Pingback: Eclipse Gems, Tips & Tricks: Highlight Usage and Definition | MCU on Eclipse
Pingback: Eclipse Gems, Tips & Tricks: Block Comments | MCU on Eclipse
Pingback: Eclipse Gems, Tips & Tricks: Working Sets | MCU on Eclipse
Pingback: Eclipse Gems, Tips & Tricks: Code Folding | MCU on Eclipse