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.
Similarly as for HTML5 project, we should be able to simply open PHP project which contains composer.json file.
Due to discovered problems of ProjectConvertors (mainly classpath), let's be careful with this issue...
Done. Láďo, please verify that CC works also in vendor directory (similarly to node_modules folder for HTML5 projects). Also please note that new PHP project with existing sources cannot be now created if composer.json exists in it - we depend on issue #250232 (for both PHP and HTML5 projects - maybe report issues for that?). Tome, have a look at the patch, how similar it is to ProjectConvertor for HTML5 project. Thanks! http://hg.netbeans.org/web-main/rev/ea80a3f3dd57
The patch seems good to me.
Integrated into 'main-silver', will be available in build *201502070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ea80a3f3dd57 User: Tomas Mysik <tmysik@netbeans.org> Log: #248854 - Add project converter for composer.json
Minor imporvement of source folder detection. http://hg.netbeans.org/web-main/rev/ae4c0227ac3f
Integrated into 'main-silver', will be available in build *201502100301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ae4c0227ac3f User: Tomas Mysik <tmysik@netbeans.org> Log: #248854 cont'd - Add project converter for composer.json Improve detection of source folder.
Seems fine to me, if project name is in composer.json, it is respected by IDE. Not sure what else to try. The only issue I've found is issue #250347 Product Version: NetBeans IDE Dev (Build web-main-1915-on-20150210) Updates: Updates available Java: 1.7.0_67; Java HotSpot(TM) Client VM 24.65-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01 System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Sorry, I missed the code completion part... It works fine as well (both in vendor dirs from "project sources" and in "project sources" from vendor dirs)
Manage folder that contain composer.json as a project folder is really a messed. http://stackoverflow.com/questions/38583857/how-to-stop-netbeans-open-folder-project-that-contain-composer-json How to stop Netbeans open folder contain composer.json as a project folder?
(In reply to vee from comment #9) > How to stop Netbeans open folder contain composer.json as a project folder? There is no way to do that but please try the dev version of NetBeans [1], all the problems should be solved there we hope. If not, please submit a new report with exact steps to reproduce. Thanks. [1] http://bits.netbeans.org/download/trunk/nightly/latest/
The license header problem gone. But I can still open folder that contain just composer.json as a project folder. It doesn't have nbproject folder so it should not becomes project folder until there is an option and enabled it or until user create new project at that sub folder.
(In reply to vee from comment #11) > The license header problem gone. Great to hear. > But I can still open folder that contain just composer.json as a project > folder. And this is the point of this support ;) Thanks.