Eclipse Tips : Block Selection in Eclipse (ALT + SHIFT + A)

There are several awesome features hidden in the Eclipse IDE which helps the programmers to do the coding more efficiently. One of the short cut is to block select the text and modify it easily. If you have multiple lines of text which are looking uniform and required similar changes for each line, then this block select mode would be god send for you. You can use the “ALT + SHIFT + A” to enable the block select in Eclipse editor. Once it is enabled, you can make the changes.Again pressing”ALT + SHIFT + A” will disable the block select mode.

Lets look at the below screenshots for more details.

ALT + SHIFT + A  for Block Selection in Eclipse

Block Selection in Eclipse

Modify all the lines simultaneously after enabling the block selection.

Block Selection in Eclipse Example

Comments

comments

About Krishna Srinivasan

He is Founder and Chief Editor of JavaBeat. He has more than 8+ years of experience on developing Web applications. He writes about Spring, DOJO, JSF, Hibernate and many other emerging technologies in this blog.

Speak Your Mind

*