Idea JDK external annotations: disable SDK annotations updates on startup.

It requires a better implementation that checks whether those SDK are actually used in the open project, to avoid irrelevant notifications.
This commit is contained in:
Sergey Patrikeev
2018-12-28 19:50:50 +03:00
parent 6134db30da
commit aba4dfeb52
@@ -20,11 +20,6 @@ class IdeExternalAnnotationsUpdateStartupActivity : StartupActivity {
return
}
val ideaJdks = ProjectJdkTable.getInstance().getSdksOfType(IdeaJdk.getInstance())
for (ideaJdk in ideaJdks) {
updateAnnotationsLaterIfNecessary(project, ideaJdk)
}
subscribeToJdkChanges(project, application)
}