如何在 DBeaver 中切换大写字母的变换?

DBeaver 中的 SQL 编辑器具有将所有大写字符转换为小写字母的不可支持的特性。这是你打字的时候发生的,最让人精神分裂的事情。

我已经在菜单和首选项对话框中搜索过,但是我找不到这个特性的设置。我怎么才能把它关掉?

33885 次浏览

Got to Preferences > General > Editors > SQL Editor > SQL Formatting. Then over under Auto Format there is a box for Convert Keyword Case.

enter image description here

As of DBeaver 5.3.5 the Convert keyword case toggle can be found under:

  • Window > Preferences and then at Database > Editors > SQL Editor > SQL Completion.

Through DBeaver > 6.2.1, the Convert keyword case can be enabled or disabled through the following sequence:

  • Preferences -> DBeaver -> Editors -> SQL Editor -> SQL Completion

With new versions now is:

  • Preferences -> Database -> Database Editors -> SQL Editor -> Code Editor

For DBeaver 6.2.4 I've found it in:

  1. Window → Preferences → Database → Editors → SQL Editor → SQL Formatting / Keyword case option Keyword case option1

  2. Window → Preferences → Database → Editors → SQL Editor → SQL Completion/ Convert keyword case option Keyword case option2


For DBeaver 7.0.2:

  • Window → Preferences → DBeaver → Editors → SQL Editor → SQL Completion/ Convert keyword case option Convert case option

My two cents, for Version 7.0.1.2:

  • Preferences -> DBeaver -> Editors -> SQL Editor -> SQL Formating -> Keyword case

You can dictate this behaviour. Didn't test for older versions but it seems to be there for a while.

The interface is slightly different in version 7.2.2, if set to default is enabled it will be lowercase. To change it to uppercase:

  • preferences -> Database Editors -> SQL Editor -> SQL Formatting -> Keyword Case

On version 21.1.3, it was necessary to change in two places.

  1. Window -> Preferences -> SQLEditor -> Code Completion -> InsertCase(Change the pattern to UpperCase)
  2. Window - Preferences -> SQLEditor -> Code Editor -> Convert keyword case(Unset it)

In the new versioning (>= 21.1.4) this feature has been moved to Window > Preferences > Editors > SQL Editor > Formatting. Change Keyword case to Upper and apply changes.

enter image description here