55

How to toggle the line number on the SQL Editor in DBeaver?

I can't find this option in Window / Preferences / General / Editors / SQL Editor.

Is it possible to do this?

simhumileco
  • 31,877
  • 16
  • 137
  • 115

5 Answers5

88

It is under Window / Preferences / Editors / Text Editors:

enter image description here

In older versions it was under Window / Preferences / General / Editors / Text Editors.

But as @simhumileco pointed out, there is a shortcut in the context menu when you right-click the left gutter of the editor.

questionto42
  • 7,175
  • 4
  • 57
  • 90
isapir
  • 21,295
  • 13
  • 115
  • 116
34

I found it:

Right click on left column of SQL Editor and click Show / Hide Line Numbers from context menu.

enter image description here

Daniel L. VanDenBosch
  • 2,350
  • 4
  • 35
  • 60
simhumileco
  • 31,877
  • 16
  • 137
  • 115
14

Window > Preferences > General > Editors > Text Editors Then, select the checkbox "Show Line Numbers"

enter image description here

Melopeter
  • 169
  • 1
  • 5
6

In version 21.0.4.202105021514 it looks like this:

Windows > Preferences > Editors > Text Editors > Show line numbers
simhumileco
  • 31,877
  • 16
  • 137
  • 115
Peter K
  • 61
  • 1
  • 3
4

You can follow the below steps:

Windows > Preferences > General > Editors > Text Editors > Show line numbers
user3785966
  • 2,578
  • 26
  • 18