-
Notifications
You must be signed in to change notification settings - Fork 570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize imports on the fly #1807
base: master
Are you sure you want to change the base?
Optimize imports on the fly #1807
Conversation
@@ -26,6 +26,7 @@ | |||
) | |||
public class GoCodeInsightSettings implements PersistentStateComponent<GoCodeInsightSettings> { | |||
private boolean myShowImportPopup = true; | |||
private boolean myOptimizeImportsOnTheFly = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
enable by default
|
||
@Override | ||
protected void applyInformationWithProgress() { | ||
final Runnable runnable = new GoImportOptimizer().processFile(myFile); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So are you going to calculate all imports to remove right in EDT? Don't you think it's not really efficient?
ac03825
to
48c6ccf
Compare
48c6ccf
to
3cb5af0
Compare
Please update copyrights before merge. |
what's status now of this PR? |
@nevernet it's open and doesn't work good |
No description provided.