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

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17350443/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 21:46:25  来源:igfitidea点击:

Eclipse shortcut "go to line + column"

eclipseshortcut

提问by Javi Pedrera

Does anyone know if there is the shortcut "go to line + column" in Eclipse?

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

回答by MaDu_LK

Ctrl+LJump to Line Number. To hide/show line numbers, press ctrl+F10and select 'Show Line Numbers' There is no way to go to a particular column according to my knowledge.

Ctrl+L跳转到行号。要隐藏/显示行号,请按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

回答by Rob

As you are aware CTRL+Lgoes to a particular Line, there is also CTRL+Qto go to the last edit location. The is no key combination in Eclipse to go to a particular Line and Column.

如您所知,CTRL+L转到特定行,还有CTRL+Q转到最后一个编辑位置。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/这样的程序。

回答by filip_j

You can use Ctrl+ Lto 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

回答by Harry

You can use 'Command' + L to find line number in eclipse.

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

回答by Ashok

You can use CTRL + forward or backward key to jump on next dot in the same line. for example, in System.out.println("test"); you can switch between System, out and println by using CTRL + forward and backward key.

您可以使用 CTRL + 前进或后退键跳转到同一行中的下一个点。例如,在 System.out.println("test"); 您可以使用 CTRL + 前进和后退键在 System、out 和 println 之间切换。