Cancellation check in loops
forEach loops with missing cancellation checks.
Runs only within the methods with
In case of nested loops with nothing in between:
In blocking context
com.intellij.openapi.progress.ProgressManager#checkCanceled should be used, while
com.intellij.openapi.progress.CoroutinesKt#checkCancelled should be used in suspending one.
See Background Processes and ProcessCanceledException in IntelliJ Platform Plugin SDK docs for more details.
New in 2023.1
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3
Plugin DevKit, 233.SNAPSHOT