"mark this import as always used in this project" doesn't exist in IntelliJ 2016.1
I recently updated to IntelliJ Ultimate 2016.1, and I can't get the "mark this import as always used in this project" action anymore. I used to with the latest version of IntelliJ 15 Ultimate.
Scala plugin version is 3.0.0.
请先登录再写评论。
We've created a corresponding issue in YouTrack: https://youtrack.jetbrains.com/issue/SCL-10072
By unchecking “Optimize imports on the fly”, you can press alt+enter on an unused import (greyed out ones) and select “mark import as always used".
But if the "Optimize imports on the fly" is checked, you can't press alt+enter on that import! It'll just disappear.