Is there a way in datagrip to automatically capitialize key words even if they are typed in lowercase? For example SELECT, FROM , WHERE , HAVING, ORDER BY?
Asked
Active
Viewed 4,398 times
14
-
Before I answer, just to clarify: do you use code completion? Because completion items are capitalized already if the corresponding setting is on. – moscas Jun 03 '19 at 16:40
-
I think it may have somehow gotten turned off. Either way, the desired behavior is to see it come through with key words in all caps. Not sure what code completion is. – Daniel L. VanDenBosch Jun 04 '19 at 13:28
-
Code completion is intelli-sense. Also, when formatting code you get the needed case, right? – moscas Jun 04 '19 at 13:38
-
I have never tried the code formating tools. I have my own preference for formatting, so i do it manually – Daniel L. VanDenBosch Jun 11 '19 at 14:45
-
After time gone by, it is actually best to go into code style like the answer says. You can do a lot of customization. – Daniel L. VanDenBosch Aug 02 '23 at 14:00
1 Answers
40
File - Settings - Editor - Code Style - SQL - General - Case - Keywords: To upper

Ivan
- 562
- 7
- 12
-
Also check your specific dialect to ensure you are using the General Settings – CallSign-Filter Oct 19 '22 at 17:01