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 269377

Summary: Netbeans has started to recognize subfolders with composer.json as separate projects, causing issues
Product: php Reporter: Sarke
Component: ProjectAssignee: Tomas Mysik <tmysik>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot of issues

Description Sarke 2016-12-16 21:56:13 UTC
In 8.2 this started and it's recognizing subfolders with as separate PHP projects.  This detection is incorrect.
Comment 1 Sarke 2016-12-16 21:58:00 UTC
I assume this is because those subfolders have the same name, but this grouping is very incorrect.

Also annoyingly, when I go to open a new project Netbeans starts in the subfolder of this project, and not in my projects folder like before.

Please disable, or provide an option to disable, this detection of subprojects based on composer.json.
Comment 2 Sarke 2016-12-16 22:01:12 UTC
With the open "multirow tabs" and "one project per row selected" this causes issues as well.

Files from different projects will be group together as being from the same projects.
Comment 3 Sarke 2016-12-17 01:19:35 UTC
Created attachment 163272 [details]
Screenshot of issues

I have TWO projects open, but the tabs group them together, and the tab dropdown lists FOUR different projects (none of which are the correct top-level project).
Comment 4 Tomas Mysik 2017-01-02 09:35:17 UTC
The basic feature works as designed; however, it does not mean that there are no issues related to it (as can be seen on the image you have attached) - please, report each individual issue as a new report, with exact steps to reproduce.

Thanks.