Netbeans is my IDE of choice at the moment. Therefore I created some Code-Templates and Keyboard-Shortcut-Settings for the work with Symfony and Symfony2.
You can preview the current available commands and templates in the cheat-sheet.
Download for Symfony2
Netbeans-Settings-File (V.3.0, 2011-04-14)
CheatSheet (V.3.0, 2011-04-14)
Download for Symfony 1.x
Netbeans-Settings-File (V.2.0, 2010-04-19)
Cheat-Sheet (V.2.0, 2010-04-19)
Installation
For installing the Settingsfile just open the Netbeans Options-Dialog (Tools->Options)and click “Import”
Glen said on 20. April 2010
Great idea ! Thanks.
There is just an error on your “foreach” code template (endif).
Daniel said on 20. April 2010
I don’t see the “Tools>Options” on Netbeans 6.8 Mac
Timo Haberkern said on 20. April 2010
@Daniel: You can find it under Netbeans->Settings
Karol said on 19. August 2010
Thanks for the settings file, this sure will come in handy
!
George Multurn said on 3. January 2011
The long waited Doctrine code completion support for IDE’s (including Netbeans) is not a dream by now! See this plugin: http://www.symfony-project.org/plugins/sfDoctrineTableGetterPlugin
I know it is not the correct place to comment however the audience of this blog perhaps will be happy to hear this news.
Kenneth said on 8. November 2011
Hey it’s very useful thanks!!
But i have a problem using the code templates because its don’t appear and i don’t know why. Please help me. i’m ready have imported netbeans settings file and i can see all of them in the netbeans code templates but i can’t use.
Juan said on 9. November 2011
I’ am in the same situation than Kenneth.
I’ve tried all install Options->Import->Browse->All->OK->Restart IDE
But I don’t get autocompletion with the code templates!
My netBeans is 7.0.1.
Thanks.
Kazimieras said on 30. November 2011
I got that same problem as Kenneth and Juan… Still no solution ?
Wassel said on 20. February 2012
how can i use Doctrine in netbeans! by default propel is used!!!?
Monomachus said on 9. March 2012
In NetBeans 7.1.1 the code templates feature was fixed… I’ve created a NetBeans plugin using your and my code templates, you can find more details and download the plugin from here:
http://plugins.netbeans.org/plugin/42128/udevi-symfony2-code-templates