auto import of any static member
已回答
IDEA seems to auto-create static imports for any constant it finds anywhere
I consider this dangerous
e.g. you type cache.put (...) and in reality your field is named myCache,
but IDEA silently inserts an autoimport to some public field named "cache" from anywhere on the classpath (!)
can it be turned off? I guess it's "add unambigous imports on the fly"?
请先登录再写评论。
Yes, you can disable that option.