Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Snippets / Templates?(snippets, templates or code completion availble for Eclipse PDT?)
icon5.gif  Snippets / Templates? [message #882493] Wed, 06 June 2012 11:09 Go to next message
Elric Best is currently offline Elric Best
Messages: 2
Registered: May 2012
Location: toronto, ontario
Junior Member
I'm using Eclipse for PHP Developers Version: 3.0.2

I'm having challenges using any sort of code finishing tool. I've seen snippets and templates in eclipse examples, but:
1. snippets are not available
2. templates in eclipse are not available
3. templates in PHP are available, but no option to add a new one.

I would love to have a left menu to drag and drop code snippets. Or auto recognizing code snippets.... Is there any way to have this in the Eclipse PHP studio? or zend studio?


Thanks.
Re: Snippets / Templates? [message #884670 is a reply to message #882493] Mon, 11 June 2012 11:21 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2251
Registered: July 2009
Senior Member
On 6/6/2012 11:09 AM, Elric Best wrote:
> I'm using Eclipse for PHP Developers Version: 3.0.2
>
> I'm having challenges using any sort of code finishing tool. I've seen
> snippets and templates in eclipse examples, but:
> 1. snippets are not available
> 2. templates in eclipse are not available
> 3. templates in PHP are available, but no option to add a new one.
>
> I would love to have a left menu to drag and drop code snippets. Or auto
> recognizing code snippets.... Is there any way to have this in the
> Eclipse PHP studio? or zend studio?

What do you mean by "code finishing tool"? What is "Eclipse PHP
studio"? Where are you looking that these things aren't available or
not presenting a way to add a new one?

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Snippets / Templates? [message #890241 is a reply to message #884670] Thu, 21 June 2012 11:03 Go to previous messageGo to next message
Rik Bartolini is currently offline Rik Bartolini
Messages: 15
Registered: July 2010
Location: Italy
Junior Member
I have the same problem: Everything OK with Elios, while Eclipse 3.0.2 64 bit on Ubuntu 10.04 has no code completion and I don't find a way to enable it.
It is also disappeared the menu Validators on Preferences.

It even don't do code completion for a class in the same file I istantiate it.

I downloaded from here:
www.zend.com/en/community/pdt/downloads
(logo Zend on the splash screen).
I downloaded the former version, Helios, from the PDT site (doin the same identical job: dowload of the all-in-one version).

Maybe there is something to add to have validation? Something no more included in the all-in-one?

Kind regards
Rik
Re: Snippets / Templates? [message #900233 is a reply to message #890241] Sun, 05 August 2012 19:38 Go to previous message
Elric Best is currently offline Elric Best
Messages: 2
Registered: May 2012
Location: toronto, ontario
Junior Member

Thank you for the help and reply. I finally discovered how to add these features.


For anyone who stumbles upon this, I hope this additional information can help:


Eclipse PDT (aka Zend PHP Studio) used to be in the downloads page (http://www.eclipse.org/downloads/), but i believe has since been removed.

The free version can be downloaded from http://www.eclipse.org/pdt/downloads/. This is primarily a pay software using the Eclipse platform.

If you want to use the free version with templates and snippets, download the Eclipse EE java version, then install PHP features as plugins. This should give you the free features of PHP studio, as well as, the advanced Eclipse features. However, if you plan on using the pay PDT version, it is recommended you use the download Zend Studio at Zend.

PS, if you want a great PHP IDE plugin, Aptana is also a great, free option.
Previous Topic:Eclipse hangs when editing PHP files
Next Topic:Source Lookup, Linked Resources And Xdebug
Goto Forum:
  


Current Time: Sat Aug 30 02:27:18 EDT 2014

Powered by FUDForum. Page generated in 0.05570 seconds