I've created a PHP extension and I want add the functions provides by this extension in the auto-completion of eclipse.
But I don't understand how eclipse stores the description of the PHP functions.
On 2011-07-19 11:58, walter wrote:
> I've created a PHP extension and I want add the functions provides by this
> extension in the auto-completion of eclipse.
> But I don't understand how eclipse stores the description of the PHP functions.
It's simple,
Go to eclipse directory, search for directory
"*/*php_core*/Resources/languag/php*" You will find under them definition files.
You can easily add or modify something there.
Yes but the directory is not always the same, on my PDT installation is in ".\configuration\org.eclipse.osgi\bundles\217\1\.cp\Resources\language\php5".
And on a other computer I don't find the standard documentation/completion (ex standard.php).
I would like create an automatic installation, that install my extension and the completion in eclipse.
On 2011-07-20 11:12, walter wrote:
> Yes but the directory is not always the same, on my PDT installation is in
> ".\configuration\org.eclipse.osgi\bundles\217\1\.cp\Resources\language\php5".
> And on a other computer I don't find the standard documentation/completion (ex
> standard.php).
>
> I would like create an automatic installation, that install my extension and the
> completion in eclipse.
Yes, it depends on installation,
I don't know how to get it from Eclipse, but if it's external module then maybe
just use grep/find/whereis command?