So the intellisense works for my own variables, methods, etc. but doesn't work for php functions like in_array
... I'm just opening a single PHP file instead of creating a project. It works when I create a PHP project and create a php file inside that project. But doesn't work when opening individual php files.
VS.Php for VS2010 has intellisense for php functions when I just open a single php file. I'd like to emulate this functionality in Eclipse. Does anyone know how to make Eclipse PDT show php functions when opening a file?
Thanks.
Eclipse PHP Development Tools. About. The PHP IDE project delivers a PHP Integrated Development Environment framework for the Eclipse platform. This project encompasses the development components necessary to develop PHP-based Web Applications and facilitates extensibility.
The experience of developing PHP application with PDT can be extended with a large variety of plugins created by the Eclipse ecosystem. Below are open source projects and commercial products that are built on top of PDT or are integrated with PDT.
Eclipse PHP Development Tools 1 About. The PHP IDE project delivers a PHP Integrated Development Environment framework for the Eclipse platform. 2 Features 3 Download. The essential starting point for PHP developers, including a PHP language support, a Git client, XML Editor and Mylyn, Terminal. 4 Extensions. ... 5 Contributing. ...
When dependencies are installed, the Composer tooling scans the “autoload” section of the project’s composer.json file and adds all declared namespaces to the project’s build path. The same is done recursively for all project’s dependencies. This way all autoloading classes are indexed and available to the PDT intellisense features.
Have you tryed netbeans for PHP? I've developed the past 2 years with netbeans+apache+php5+MySQL+MongoDB and used Netbeans all along on Ubuntu machines. The only thing it lacks at the moment is the code completion (intellisense) for the Mongo objects. Other then that it reads your code and complete PHP functions as well. And it's built on top of Eclipse (or at least derived from Eclipse). I think it's everything you're looking for.
Cheers
With Eclipse / Netbeans, you cannot have autocompletion on a single file without a project.
I use Notepad++ : in order to activate autocompletion go to "Settings" > "Preferences" > "Backup/Autocompletion" tab and check the option.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With