Eclipse: Can you put your cursor on all lines?

半世苍凉 提交于 2019-12-31 02:58:10

问题


In IDEA you had the possibility to put your cursor on all lines.

Is this possible in Eclipse?


回答1:


Eclipse 3.5 should have a column mode (which is what I think you're asking about) - use Alt+Shift+A:

  • http://update.eclipse.org/downloads/drops/R-3.5-200906111540/eclipse-news-part1.html#Text

I haven't tried this since I'm stuck at version 3.4.1 for the time being. There's a patch that claims to work for 3.4.0 (http://tkilla.ch/column_mode/), but it's not working for my 3.4.1 install.




回答2:


If you refer to the ability to select a group of lines (like a all function), you can use the outline view

alt text http://publib.boulder.ibm.com/infocenter/radhelp/v7r5/topic/org.eclipse.jdt.doc.user/whatsNew/images/drag-and-drop-outline.png

From there, you can move/rearrange/delete all block of text.


If it is about column mode, see my answer here.

alt text http://update.eclipse.org/downloads/drops/R-3.5-200906111540/images/block-selection-mode.png



来源:https://stackoverflow.com/questions/1838432/eclipse-can-you-put-your-cursor-on-all-lines

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!