32

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?

4

5 回答 5

42

它位于Window / Preferences / Editors / Text Editors下:

在此处输入图像描述

在旧版本中,它位于Window / Preferences / General / Editors / Text Editors下。

但正如@simhumileco 指出的那样,当您右键单击编辑器的左侧装订线时,上下文菜单中有一个快捷方式。

于 2017-12-17T23:40:46.783 回答
20

我找到了:

右键单击SQL 编辑器左列,然后从上下文菜单中单击显示/隐藏行号

在此处输入图像描述

于 2017-07-21T11:22:47.923 回答
11

Window > Preferences > General > Editors > Text Editors 然后,选中复选框“显示行号”

在此处输入图像描述

于 2020-05-27T13:43:04.893 回答
4

21.0.4.202105021514版本中,它看起来像这样:

Windows > Preferences > Editors > Text Editors > Show line numbers
于 2021-05-05T14:06:19.040 回答
3

您可以按照以下步骤操作:

Windows > Preferences > General > Editors > Text Editors > Show line numbers
于 2019-10-23T08:26:09.223 回答