简体   繁体   中英

Eclipse shortcut "go to line + column"

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

Ctrl + L Jump to Line Number. 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.

On OSX, the shortcut is + L

It you want more short-cuts, refer 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. The is no key combination in Eclipse to go to a particular Line and Column.

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 .

A Program like Autohotkey http://www.autohotkey.com/ can also be used.

You can use Ctrl + L to jump to specific line number

You can find a large list of eclipse shortcuts here: 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. for example, in System.out.println("test"); you can switch between System, out and println by using CTRL + forward and backward key.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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