aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacek Pospychala2012-11-30 05:18:27 (EST)
committerJacek Pospychala2012-11-30 05:18:27 (EST)
commita5d27e1c64543c99a626a3c9b6159164144f5466 (patch)
tree561818da07e77c0a85943a18bdd3177d046ab24f
parent179516027af3117373a08dd3017eeea6fa82d17d (diff)
downloadorg.eclipse.pdt-a5d27e1c64543c99a626a3c9b6159164144f5466.zip
org.eclipse.pdt-a5d27e1c64543c99a626a3c9b6159164144f5466.tar.gz
org.eclipse.pdt-a5d27e1c64543c99a626a3c9b6159164144f5466.tar.bz2
Bug 395448 - Namespace cotent-assist in strings shows up after '\' but
not on Ctrl+Space
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/codeassist/strategies/CompletionStrategyFactory.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/codeassist/strategies/CompletionStrategyFactory.java b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/codeassist/strategies/CompletionStrategyFactory.java
index 20cac2b..1571fdf 100644
--- a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/codeassist/strategies/CompletionStrategyFactory.java
+++ b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/codeassist/strategies/CompletionStrategyFactory.java
@@ -250,6 +250,9 @@ public class CompletionStrategyFactory implements ICompletionStrategyFactory {
|| contextClass == NamespaceDeclContext.class) {
return new ICompletionStrategy[] { new NamespacesStrategy(context) };
}
+ if (contextClass == QuotesContext.class) {
+ return new ICompletionStrategy[] { new NamespacesStrategy(context) };
+ }
if (contextClass == GotoStatementContext.class) {
return new ICompletionStrategy[] { new GotoStatementStrategy(
context) };