mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
deferred icon loading -- registry key
This commit is contained in:
@@ -21,6 +21,7 @@ import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.util.IconLoader;
|
||||
import com.intellij.openapi.util.Iconable;
|
||||
import com.intellij.openapi.util.UserDataHolderBase;
|
||||
import com.intellij.openapi.util.registry.Registry;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.openapi.progress.ProcessCanceledException;
|
||||
import com.intellij.openapi.project.IndexNotReadyException;
|
||||
@@ -95,7 +96,7 @@ public abstract class ElementBase extends UserDataHolderBase implements Iconable
|
||||
}
|
||||
|
||||
protected boolean isToDeferIconLoading() {
|
||||
return true;
|
||||
return Registry.is("psi.deferIconLoading");
|
||||
}
|
||||
|
||||
private Icon computeIconNow(PsiElement element, int flags) {
|
||||
|
||||
@@ -77,7 +77,10 @@ compiler.perform.outputs.refresh.on.start.description=Whether to perform initial
|
||||
compiler.perform.outputs.refresh.on.start.restartRequired=false
|
||||
vcs.show.colored.annotations=true
|
||||
vcs.showConsole=true
|
||||
|
||||
psi.viewer.selection.color=0,153,153
|
||||
psi.deferIconLoading=true
|
||||
|
||||
structureView.coalesceTime=500
|
||||
jar.build=false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user