Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Add prototype in the auto-completion system
Add prototype in the auto-completion system [message #698344] Tue, 19 July 2011 09:58 Go to next message
walter  is currently offline walter Friend
Messages: 2
Registered: July 2011
Junior Member
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.

Walter
Re: Add prototype in the auto-completion system [message #698793 is a reply to message #698344] Wed, 20 July 2011 08:23 Go to previous messageGo to next message
dominik is currently offline dominikFriend
Messages: 122
Registered: July 2009
Senior Member
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.

/dmc
Re: Add prototype in the auto-completion system [message #698812 is a reply to message #698793] Wed, 20 July 2011 09:12 Go to previous messageGo to next message
walter  is currently offline walter Friend
Messages: 2
Registered: July 2011
Junior Member
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.

Walter
Re: Add prototype in the auto-completion system [message #698832 is a reply to message #698812] Wed, 20 July 2011 10:43 Go to previous message
dominik is currently offline dominikFriend
Messages: 122
Registered: July 2009
Senior Member
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?

/dmc
Previous Topic:PHP development plug-in
Next Topic:Has PDT development stalled?
Goto Forum:
  


Current Time: Fri Apr 26 00:14:46 GMT 2024

Powered by FUDForum. Page generated in 0.03609 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top