From 02ecb2f379f977ba217ea20787af69d763179886 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 9 Feb 2016 19:51:59 +0100 Subject: [PATCH] don't increment psi mod count when parsing groovy scripts in background --- .../org/jetbrains/plugins/groovy/dsl/GroovyDslFileIndex.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/dsl/GroovyDslFileIndex.java b/plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/dsl/GroovyDslFileIndex.java index 4c9ce035df61..0923fc8df0ca 100644 --- a/plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/dsl/GroovyDslFileIndex.java +++ b/plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/dsl/GroovyDslFileIndex.java @@ -477,7 +477,7 @@ public class GroovyDslFileIndex extends ScalarIndexExtension { // => cache globally by file instance vfile.putUserData(CACHED_EXECUTOR, Pair.create(executor, stamp)); if (executor != null) { - activate(vfile); + setStatusAndError(vfile, Status.ACTIVE, null); } } }