pulse00/Symfony-2-Eclipse-Plugin — Issue #72: No autocompletion after fresh install
Author: ramoka
Created: 2011-12-15 08:58:35+00:00
State: open

Hi,

with eclipse indigo (3.7.1) and the current symfony eclipse plugin (pdt installed from this plugin) i don't get autocompletion on a existent SF2 Project.
In eclipses .metadat/log file i saw the following:

!ENTRY com.dubture.symfony.twig 4 4 2011-12-15 09:30:01.760
!MESSAGE src/myproject/SolrSearchBundle/Controller [in myproject] does not exist
!STACK 1
org.eclipse.dltk.core.ModelException: src/myproject/SolrSearchBundle/Controller [in myproject] does not exist
at org.eclipse.dltk.internal.core.ModelElement.newNotPresentException(ModelElement.java:258)
at org.eclipse.dltk.internal.core.ProjectFragment.getUnderlyingResource(ProjectFragment.java:342)
at org.eclipse.dltk.internal.core.Openable.getUnderlyingResource(Openable.java:271)
at org.eclipse.dltk.internal.core.Openable.getUnderlyingResource(Openable.java:271)
at org.eclipse.dltk.internal.core.AbstractSourceModule.getUnderlyingResource(AbstractSourceModule.java:371)
at com.dubture.symfony.twig.codeassist.context.TranslationCompletionContext.isValid(TranslationCompletionContext.java:50)
at org.eclipse.php.internal.core.codeassist.contexts.CompletionContextResolver.resolve(CompletionContextResolver.java:115)
at org.eclipse.php.internal.core.codeassist.PHPCompletionEngine.complete(PHPCompletionEngine.java:99)
at org.eclipse.php.internal.core.codeassist.PHPCompletionEngine.complete(PHPCompletionEngine.java:66)
at org.eclipse.dltk.internal.core.Openable$CompletionThread.run(Openable.java:501)
at org.eclipse.dltk.internal.core.Openable$CompletionThread.run(Openable.java:482)
!SUBENTRY 1 org.eclipse.dltk.core 4 969 2011-12-15 09:30:01.761
!MESSAGE src/myproject/SolrSearchBundle/Controller [in myproject] does not exist

!ENTRY org.eclipse.ui 4 4 2011-12-15 09:31:46.118
!MESSAGE Invalid preference page path: HTML Syntax

!ENTRY org.eclipse.ui 4 4 2011-12-15 09:31:46.120
!MESSAGE Invalid preference page path: XML Syntax