typing re( shouldn't insert return

This commit is contained in:
peter
2012-02-07 17:02:33 +01:00
parent fc557e6442
commit 3cc6bdd92b
3 changed files with 12 additions and 0 deletions
@@ -142,6 +142,9 @@ public class JavaCharFilter extends CharFilter {
return Result.SELECT_ITEM_AND_FINISH_LOOKUP;
}
}
if (c == '(' && PsiKeyword.RETURN.equals(item.getLookupString())) {
return Result.HIDE_LOOKUP;
}
return null;
}