Code-Vervollständigung im Zend Studio for Eclipse

Beim Einsatz von Zend Studio for Eclipse, aktuell in der Version 5.5, kann es im Zusammenspiel mit dem Versionsverwaltungswerkzeug subversion (svn) zu Problemen mit der Code-Vervollständigung kommen.

Sämtliche Code-Assist-Funktionen (Autovervollständigung, Funktionsdeklarationen anzeigen, etc.) sind dann nicht mehr verfügbar. In einem Zend-Forumhabe ich folgende (komplizierte) Lösung zur Behebung des Problems gefunden:

  1. Make sure you already added a svn repository.
  2. Right click on PHP Explorer and click on New PHP Project.
  3. Give your project a name and choose custom Project Contents.
  4. Click finish, you should now have a new empty project.
  5. Use any external application to checkout the repository into the directory you created in step 2.
  6. Right click in PHP Explorer and click on Refresh. You should now see your directories.
  7. Now right click on your Project name in the PHP Explorer and click on TEAM->Share Project.
  8. Now select your SVN repository and finish.
  9. Restart Zend Studio.
  10. Your project will now build.
  11. Edit a file and save, the repository will now connect, you should now be set with code assistance working.
  12. Optional, tell Zend Studio for Eclipse to ignore .cache, .project and .settings under Window>Preferences>Team...

Insgesamt eine schwache Kür für eine kommerzielle, professionelle Entwicklunsgumgebung....

Kategorie: