简体   繁体   English

Eclipse快捷方式“转到行+列”

[英]Eclipse shortcut "go to line + column"

有谁知道Eclipse 中是否有快捷方式“转到行+列”?

Ctrl + L Jump to Line Number. Ctrl + L跳转到行号。 To hide/show line numbers, press ctrl + F10 and select 'Show Line Numbers' There is no way to go to a particular column according to my knowledge.要隐藏/显示行号,请按ctrl + F10并选择“显示行号”根据我的知识,无法转到特定列。

On OSX, the shortcut is + L在 OSX 上,快捷键是 + L

It you want more short-cuts, refer http://www.shortcutworld.com/en/win/Eclipse.html如果您想要更多捷径,请参阅http://www.shortcutworld.com/en/win/Eclipse.html

As you are aware CTRL + L goes to a particular Line, there is also CTRL + Q to go to the last edit location.如您所知CTRL + L转到特定行,还有CTRL + Q转到最后一个编辑位置。 The is no key combination in Eclipse to go to a particular Line and Column. Eclipse 中没有组合键可以转到特定的行和列。

You can use a Keyboard Macro (available as hardware in some keyboards and included as software with some other keyboards).您可以使用键盘宏(在某些键盘中作为硬件提供,在其他一些键盘中作为软件提供)。 An explanation for Microsoft is here: http://support.microsoft.com/kb/237179 .微软的解释在这里: http : //support.microsoft.com/kb/237179

A Program like Autohotkey http://www.autohotkey.com/ can also be used.也可以使用像 Autohotkey http://www.autohotkey.com/这样的程序。

You can use Ctrl + L to jump to specific line number您可以使用Ctrl + L跳转到特定行号

You can find a large list of eclipse shortcuts here: http://javatutorial.net/eclipse-shortcuts您可以在此处找到大量 Eclipse 快捷方式列表: http : //javatutorial.net/eclipse-shortcuts

您可以使用 'Command' + L 在 Eclipse 中查找行号。

You can use CTRL + forward or backward key to jump to the next dot in the same line.您可以使用 CTRL + 前进或后退键跳转到同一行中的下一个点。 for example, in System.out.println("test");例如,在System.out.println("test"); you can switch between System, out and println by using CTRL + forward and backward key.您可以使用 CTRL + 前进和后退键在 System、out 和 println 之间切换。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM