Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA autocomplete lowercase SQL

I want to write my SQL code in lowercase and be able to autocomplete. As of now the autocomplete uses uppercase.

Can I solve this?

IntelliJ IDEA 15 autocomplete sql

like image 618
E. Sundin Avatar asked Mar 15 '16 22:03

E. Sundin


1 Answers

I wouldn't recommend it as I'm a stickler for good code practice and using uppercase.

HOWEVER;

Hit Ctrl+Alt+S to open Settings.

Go to: Editor > Code Style > SQL and change Keywords to To lower

Hopefully it will change function names to lower-case too.
If it doesn't I suspect IntelliJ will auto-complete from the dependency you're using and force you to use upper-case naming conventions. At which point, you're only option is to edit the entire dependency to lower-case.

like image 121
Harmelodic Avatar answered Oct 30 '22 22:10

Harmelodic