aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzzhongwei2012-11-26 01:13:20 (EST)
committerzzhongwei2012-11-26 01:13:20 (EST)
commit0ba0f9d1432e1722ef7f2a86a3167cc971aac79e (patch)
tree153a62c6bf41d861b5020696ee3ec559427ce187
parent2d25e46f3ef4881c2ca5d62917bb16edcb0daee3 (diff)
downloadorg.eclipse.pdt-0ba0f9d1432e1722ef7f2a86a3167cc971aac79e.zip
org.eclipse.pdt-0ba0f9d1432e1722ef7f2a86a3167cc971aac79e.tar.gz
org.eclipse.pdt-0ba0f9d1432e1722ef7f2a86a3167cc971aac79e.tar.bz2
395039: [Regression] No CA for trait methods
https://bugs.eclipse.org/bugs/show_bug.cgi?id=395039
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/codeassist/strategies/CompletionStrategyFactory.java4
1 files changed, 3 insertions, 1 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 625bca1..20cac2b 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
@@ -213,7 +213,9 @@ public class CompletionStrategyFactory implements ICompletionStrategyFactory {
return new ICompletionStrategy[] { new InUseTraitKeywordStrategy(
context) };
} else {
- return new ICompletionStrategy[] {};
+ return new ICompletionStrategy[] {
+ new ClassFieldsStrategy(context),
+ new ClassMethodsStrategy(context) };
}
} else {
return new ICompletionStrategy[] {