Do not start import fixes in write action because pop-up is possible
I was not able to reproduce the issue. However, according the rules quick-fixes working with pop-ups should not start in write action #KT-28196 Fixed
This commit is contained in:
@@ -125,7 +125,7 @@ internal abstract class ImportFixBase<T : KtExpression> protected constructor(
|
||||
}
|
||||
}
|
||||
|
||||
override fun startInWriteAction() = true
|
||||
override fun startInWriteAction() = false
|
||||
|
||||
fun isOutdated() = modificationCountOnCreate != PsiModificationTracker.SERVICE.getInstance(project).modificationCount
|
||||
|
||||
|
||||
Reference in New Issue
Block a user