aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzzhongwei2012-12-11 00:13:11 (EST)
committerzzhongwei2012-12-11 00:13:11 (EST)
commitcd6275e16436395e91a3f5e904a3350c9a97306e (patch)
tree8dfa5ed45448ae3537c139af09df8ad4dc0b5568
parent386b1e0b7b3bcf50188c1969aa3c6ddf98fefd27 (diff)
downloadorg.eclipse.pdt-cd6275e16436395e91a3f5e904a3350c9a97306e.zip
org.eclipse.pdt-cd6275e16436395e91a3f5e904a3350c9a97306e.tar.gz
org.eclipse.pdt-cd6275e16436395e91a3f5e904a3350c9a97306e.tar.bz2
396238: Content Assist - an backslash "\" to be added by default when
extending a class https://bugs.eclipse.org/bugs/show_bug.cgi?id=396238
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/contentassist/PHPCompletionProposalCollector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/contentassist/PHPCompletionProposalCollector.java b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/contentassist/PHPCompletionProposalCollector.java
index cc47af6..014e400 100644
--- a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/contentassist/PHPCompletionProposalCollector.java
+++ b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/contentassist/PHPCompletionProposalCollector.java
@@ -243,7 +243,7 @@ public class PHPCompletionProposalCollector extends
IType namespace = PHPModelUtils.getCurrentNamespace(type);
if (!PHPFlags.isNamespace(flags)
&& namespace == null
- && currentNamespace != null
+ // && currentNamespace != null
&& !ProjectOptions.getPhpVersion(
PHPCompletionProposalCollector.this
.getScriptProject().getProject())