File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
ide-common/src/main/java/org/digma/intellij/plugin/refreshInsightsTask Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ class RefreshService(private val project: Project) {
2626
2727 private val errorsViewService: ErrorsViewService = project.getService(ErrorsViewService ::class .java)
2828 private val insightsViewService: InsightsViewService = project.getService(InsightsViewService ::class .java)
29+ private val documentInfoService: DocumentInfoService = project.getService(DocumentInfoService ::class .java)
2930 private val refreshInsightsTaskScheduledLock: ReentrantLock = ReentrantLock ()
3031 private val isGeneralRefreshButtonEnabled = AtomicBoolean (true )
3132
@@ -95,6 +96,7 @@ class RefreshService(private val project: Project) {
9596 ReadAction .nonBlocking(RunnableCallable {
9697 insightsViewService.updateInsightsModel(scope.getMethodInfo())
9798 errorsViewService.updateErrorsModel(scope.getMethodInfo())
99+ documentInfoService.notifyDocumentInfoChanged(documentInfoContainer.psiFile)
98100 }).inSmartMode(project).withDocumentsCommitted(project).submit(NonUrgentExecutor .getInstance())
99101 }
100102 }
You can’t perform that action at this time.
0 commit comments