开发者

Rectangular select in Eclipse editor as in any Microsoft tools

开发者 https://www.devze.com 2022-12-27 14:03 出处:网络
In Microsoft tools such as Word and Visual Studio, there is a feature to select text in a rectangle man开发者_开发问答ner by pressing the Alt key while selecting. Is there anything like that in Eclips

In Microsoft tools such as Word and Visual Studio, there is a feature to select text in a rectangle man开发者_开发问答ner by pressing the Alt key while selecting. Is there anything like that in Eclipse?


Pressing Shift + Alt + A toggles Block or Column selection mode in Eclipse 3.5 or later.

Other than that you can try the 'Columns 4 Eclipse' Plug-in for Eclipse 3.3.1 here.


As another poster noted- the Android ADT blocks the use of Alt+Shift+A. An easy fix is to go to Window->Preferences->General->Keys and look for "Toggle Block Selection"

From there, you can assign your own hotkey that will not conflict with the Android tools. For example I tied it to Alt+A, which works just fine.

As others have said, this will not work in Eclipse 3.4 or earlier. I am using Eclipse 3.7.2, YMMV.


For the Mac, use A (option+command+A) to toggle between the two selection modes. Command-Shift-A will give you something quite unexpected.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号