Daniel L. VanDenBosch
Daniel L. VanDenBosch

Reputation: 2715

Automatically capitalize things in DataGrip

Is there a way in DataGrip to automatically capitalize key words even if they are typed in lowercase? For example SELECT, FROM, WHERE , HAVING, ORDER BY?

Upvotes: 26

Views: 8162

Answers (2)

Penny Liu
Penny Liu

Reputation: 17388

I would like to provide some supplementary information to @Ivan's answer.

Hit the Reformat Code ( + + L) action while you are in the editor for that.

Reformat Code

Upvotes: 1

Ivan
Ivan

Reputation: 762

File - Settings - Editor - Code Style - SQL - General - Case - Keywords: To upper

Upvotes: 60

Related Questions