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 - Netbeans has started to recognize subfolders with composer.json as separate projects, causing issues
Summary: Netbeans has started to recognize subfolders with composer.json as separate p...
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: Dev
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-16 21:56 UTC by Sarke
Modified: 2017-01-02 09:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of issues (19.81 KB, image/png)
2016-12-17 01:19 UTC, Sarke
Details

Note You need to log in before you can comment on or make changes to this bug.
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.