In Visual Studio you can use ALT + your mouse to select a part of a line, over multiple lines. Here is an image to better explain what I mean:

And then you can copy it, or replace it all at the same time:

Is there an equivalent in Eclipse to do the same? At the moment I'm only looking to select and copy an entire list of around 100 codes in the middle of lines, and paste it somewhere else also in the middle, so I only need to be able to do the first image.
But if the second is also possible in Eclipse I'd love to hear it.
PS: I already know a work-around and have already succeeded in what I want, but would still love to know if this is possible in Eclipse. The workaround I've used:
^ It works, but isn't very efficient. Not that I use this feature a lot.
(Source for images used)
Eclipse calls it Block Select Mode. This is what the icon looks like:

You can toggle selection mode by pressing Alt+Shift+A. You get a new (cross hairs) icon and then you can select blocks:

Once you have your selection you should be able to type away.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With