mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
removed ide.debug.minProgressTime
This commit is contained in:
-14
@@ -29,7 +29,6 @@ import com.intellij.openapi.util.Computable;
|
||||
import com.intellij.openapi.util.Disposer;
|
||||
import com.intellij.openapi.util.Ref;
|
||||
import com.intellij.openapi.util.ThrowableComputable;
|
||||
import com.intellij.openapi.util.registry.Registry;
|
||||
import com.intellij.openapi.wm.WindowManager;
|
||||
import com.intellij.openapi.wm.ex.ProgressIndicatorEx;
|
||||
import com.intellij.psi.PsiLock;
|
||||
@@ -163,7 +162,6 @@ public class ProgressManagerImpl extends ProgressManager implements Disposable {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
process.run();
|
||||
maybeSleep();
|
||||
}
|
||||
finally {
|
||||
if (progress != null && progress.isRunning()) {
|
||||
@@ -480,16 +478,4 @@ public class ProgressManagerImpl extends ProgressManager implements Disposable {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static void maybeSleep() {
|
||||
final int debugProgressTime = Registry.intValue("ide.debug.minProgressTime");
|
||||
if (debugProgressTime > 0) {
|
||||
try {
|
||||
Thread.sleep(debugProgressTime);
|
||||
}
|
||||
catch (InterruptedException e) {
|
||||
//ignore
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,7 +55,6 @@ ide.debugger.inline.dark.fg.modified.color=161,131,10
|
||||
ide.debugger.inline.dark.fg.modified.color.description=Inline modified values foreground for dark editor scheme
|
||||
|
||||
ide.debugMode.description=Record additional information to make bug reports more informative.
|
||||
ide.debug.minProgressTime=0
|
||||
ide.forcedShowTooltip=alt
|
||||
ide.forcedShowTooltip.description=Shortcut for forced show tooltip.
|
||||
ide.popup.dropShadow=false
|
||||
|
||||
Reference in New Issue
Block a user