This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 199825 - Add comprehensive support for Symfony2
Summary: Add comprehensive support for Symfony2
Status: RESOLVED DUPLICATE of bug 197729
Alias: None
Product: php
Classification: Unclassified
Component: Symfony (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: Tomas Mysik
Depends on:
Reported: 2011-07-01 14:32 UTC by omega
Modified: 2011-08-05 05:08 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description omega 2011-07-01 14:32:28 UTC
The Symfony2 framework is in it's RC stages and it's overall application structure should be stable enough to start building tools around it.

There are lots of things that could go a long way to making a Symfony2 developer's life easier when using netbeans (not that it isn't already! ;)   )

Here's a list of some things that I came up with for a Netbeans' Symfony2 support:

o Symfony2 offers a really useful method to concretely determine what bundles and directories IDEs should bother making itself aware of: Examining the return value of the AppKernel::registerBundles() method by running it (SSH-server side or with a local PHP interpreter) will give you everything you need to be aware of.
   o Enumerate tasks not based on a static list, but by scanning included bundles for the tasks they define.  Due to Symfony2's design, you should be able to pick up on the default ones as well!  Add these tasks off the root entry in the project view.
   o Support for running Symfony2 console tasks remotely if the project files are from an SSH server.

o When using project view, don't display the filesystem.  Instead, work with the output of AppKernel::registerBundles() and maybe inspect the /src dir for sources and abstract them according to bundle structure standards. That means you could make sub-entries like: Controllers, Services, Resources, Configuration, Public, Tests as well as it's init script.

o As a continuation of the previous point, create all the different project tree node types and add context-menus to them according to what belongs inside of each one.  For example, right clicking on a bundle and highlighting "New" might show me options like "New Controller", "New Service", "New Route" (instead of the default list of "PHP file", "PHP class", etc).

This is fairly comprehensive, but I think NetBeans is best positioned to offer this functionality.  I've tried to describe a lot of things I can see Symfony2 developers wishing they had.

At the very least, this feature request can serve to document some requirements should the decision be made in the future to add full Symfony2 support.

Comment 1 Tomas Mysik 2011-07-04 07:48:39 UTC
Symfony2 will be evaluated soon, it's on our TODO list.

Thanks for reporting.
Comment 2 fariel 2011-08-04 22:13:08 UTC

*** This bug has been marked as a duplicate of bug 197729 ***