diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/completion/JavaAutoPopupTest.groovy b/java/java-tests/testSrc/com/intellij/codeInsight/completion/JavaAutoPopupTest.groovy
index 061a0b68b492..d6248547b48a 100644
--- a/java/java-tests/testSrc/com/intellij/codeInsight/completion/JavaAutoPopupTest.groovy
+++ b/java/java-tests/testSrc/com/intellij/codeInsight/completion/JavaAutoPopupTest.groovy
@@ -1159,6 +1159,10 @@ class Foo {{
assert myFixture.lookupElementStrings.size() >= 2
type '.'
assert lookup
+ edt { myFixture.editor.caretModel.moveToOffset(myFixture.editor.document.text.indexOf('lang')) }
+ assert !lookup
+ type 'i'
+ assert 'io' in myFixture.lookupElementStrings
}
diff --git a/plugins/java-i18n/src/com/intellij/lang/properties/PropertiesCompletionContributor.java b/plugins/java-i18n/src/com/intellij/lang/properties/PropertiesCompletionContributor.java
new file mode 100644
index 000000000000..a66cd2fd3748
--- /dev/null
+++ b/plugins/java-i18n/src/com/intellij/lang/properties/PropertiesCompletionContributor.java
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2000-2012 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.intellij.lang.properties;
+
+import com.intellij.codeInsight.completion.CompletionContributor;
+import com.intellij.codeInsight.completion.CompletionInitializationContext;
+import com.intellij.codeInsight.completion.CompletionUtil;
+import com.intellij.lang.properties.psi.PropertiesFile;
+import org.jetbrains.annotations.NotNull;
+
+/**
+ * @author peter
+ */
+public class PropertiesCompletionContributor extends CompletionContributor {
+ @Override
+ public void beforeCompletion(@NotNull CompletionInitializationContext context) {
+ if (context.getFile() instanceof PropertiesFile) {
+ context.setDummyIdentifier(CompletionUtil.DUMMY_IDENTIFIER_TRIMMED);
+ }
+ }
+}
diff --git a/plugins/properties/src/META-INF/plugin.xml b/plugins/properties/src/META-INF/plugin.xml
index 2229cf006328..bfb9373d6c3b 100644
--- a/plugins/properties/src/META-INF/plugin.xml
+++ b/plugins/properties/src/META-INF/plugin.xml
@@ -11,6 +11,7 @@
+