[英]IntelliJ IDEA can not auto import
I'm using IntelliJ 2016.1.2
. 我正在使用
IntelliJ 2016.1.2
。
When I create a java.sql.Timestamp
and enter alt + enter
for auto import, my IntelliJ seems can not give me a hint about it. 当我创建一个
java.sql.Timestamp
并输入alt + enter
进行自动导入时,我的IntelliJ似乎无法给我任何提示。 I have to import it mannully. 我必须手动将其导入。
Other class in java.sql.* works fine. java.sql。*中的其他类工作正常。
How to sovle this problem? 如何解决这个问题? Thank you very much.
非常感谢你。
It might be that the class is excluded from Auto Import
该类可能被排除在“
Auto Import
Settings Dialog
CTRL-ALT-S Settings Dialog
CTRL-ALT-S Editor -> General -> Auto Import
Editor -> General -> Auto Import
Exclude from Import and Completion
where Exclude from Import and Completion
中Exclude from Import and Completion
其中
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.