112

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

ROMANIA_engineer
  • 54,432
  • 29
  • 203
  • 199
Javi Pedrera
  • 2,075
  • 4
  • 21
  • 29

5 Answers5

157

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

Mohammed H
  • 6,880
  • 16
  • 81
  • 127
Madusanka
  • 2,968
  • 5
  • 30
  • 41
16

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.

Noha Kareem
  • 1,748
  • 1
  • 22
  • 32
Rob
  • 1,487
  • 2
  • 25
  • 29
7

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

filip_j
  • 993
  • 1
  • 14
  • 22
2

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

Harry
  • 23
  • 2
1

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.

John Smith
  • 671
  • 1
  • 9
  • 22
Ashok
  • 11
  • 1