Perspectives in Eclipse are really nice to provide you only the tools you need for certain tasks. Still, not too long ago I concluded that my toolbar is way to stuffed with icons I never use. So I started to clean it up by customizing my perspective. While doing that I discovered the “Toggle Block Selection Mode” action in my toolbar. In the past I had many occations where I wish I had known about this action.
Well, now that I know there’s such an action I got a chance of trying it today. The following is a sequence of screenshots showing the block selection mode in action:
My clipboard contains the sequence “remove” already. Once the pattern is selected in a block I just need to insert the content of my clipboard, e.g. using [Ctrl]+[V]. All the multiple occurances of “add” will be replaced by “remove” now: