IntelliJ IDEA自动完成小写SQL [英] IntelliJ IDEA autocomplete lowercase SQL
问题描述
我想用小写编写我的SQL代码并能够自动完成。截至目前,自动完成功能使用大写。
I want to write my SQL code in lowercase and be able to autocomplete. As of now the autocomplete uses uppercase.
我能解决这个问题吗?
推荐答案
我不推荐它,因为我是一个很好的代码练习和使用大写字母的坚持者。
I wouldn't recommend it as I'm a stickler for good code practice and using uppercase.
HOWEVER;
点击 Ctrl + Alt + S 打开设置。
Hit Ctrl+Alt+S to open Settings.
转到:编辑器>代码风格> SQL
并将关键字
更改为降低
希望它也会将函数名更改为小写。
如果不是,我怀疑IntelliJ将从你正在使用的依赖项中自动完成并强制你使用upper-案例命名约定。此时,您只能选择将整个依赖项编辑为小写。
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.
这篇关于IntelliJ IDEA自动完成小写SQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!