Auto-removing import statements
I had a fiddle with the Project Code Style, and the Inspections in 5.1 (Windows), and now every so often the IDEA editor will automatically remove some of my imports (I think it (erroneously at times) assumes that they are redundant).
For the life of me, I can't find what button I pressed to make it do that - can anyone enlighten me?
请先登录再写评论。
Hello Tony,
Settings | Editor | Behavior | Imports, Optimize imports on the fly.
--
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Excellent, thanks for that.