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 215492 - Project Group should remember opened package/folder structure on the projects tab
Summary: Project Group should remember opened package/folder structure on the projects...
Status: REOPENED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
: 155184 (view as bug list)
Depends on: 91031
Blocks:
  Show dependency tree
 
Reported: 2012-07-13 06:01 UTC by iikku
Modified: 2014-09-25 19:20 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iikku 2012-07-13 06:01:24 UTC
The state of the ide is not completely retained when switching between project groups. I might've opened certain java packages to the ctrl+1 projects window, but after a project group switch, the package tree is closed down to the root level.
Comment 1 Martin Kozeny 2013-11-05 09:33:55 UTC
Not sure if it would be helpful for most users, b/c when entering a project group, you usually do not remember, what was previously expanded. Moreover files, that you've opened before switching to another group remain open after switching back, so you can easily access them in tree view using e.g. right click + Select in Projects. Closing as WONT FIX for now, feel free to reopen if you have more arguments. Thanks.
Comment 2 nbouteille 2013-12-28 14:40:39 UTC
Hi,

I would definitely also love to see this feature come through.

I used to love Netbeans when I was doing Java EE, I've totally switched for Drupal 4 years ago. I recently discovered how Netbeans can be awesome with Drupal development — Drupal API in auto-complete, SVN and GIT versioning, Scss integration etc... — I am very pleased to have many reasons to use Netbeans again.

Working with Drupal, I always work inside multiple folders like /sites/default/modules + /sites/default/themes + /sites/default/themes/templates or /sass and I like to have them open when I work since I can only see 6 or 7 files' tabs open at the same time and I don't like scrolling horizontally between tabs... I prefer using the project tree to access non-visible files even if already open.

I always work on multiple projects at the same time so to make sure I don't edit the wrong settings.php file or template.php file that have all the same name on all my projects I create one Project Group per project. Several times a day I switch between projects thus between project groups.

It is already very useful to automatically retrieve lastly open files but it is very frustrating to see the project tree has collapsed in the mean time and to have to open it again and again...

I am surprised no more people have asked for this yet, I think it would be a very useful feature and I believe it should be pretty easy to implement compared to other feature requests.

Please think about it ;)

Thanks !
Nick
Comment 3 Milos Kleint 2013-12-30 05:53:31 UTC
(In reply to nbouteille from comment #2)
> Hi,

> I always work on multiple projects at the same time so to make sure I don't
> edit the wrong settings.php file or template.php file that have all the same
> name on all my projects I create one Project Group per project. Several
> times a day I switch between projects thus between project groups.


if you are using project groups for this reason only, It's likely you are using it as a workaround only for some other deficiency elsewhere.

please note that in 8.0 (dev builds and upcoming beta) if a file is selected and it's project root is not visible, you have the option (on project's view popup menu when no node is selected) to enable that the project owning the file will be always shown. I believe that handles your usecase better than project group per project.
Comment 4 slurp 2014-08-22 10:47:39 UTC
*** Bug 155184 has been marked as a duplicate of this bug. ***
Comment 5 glarson 2014-09-25 19:20:00 UTC
There is one group type that automatically includes all projects within a particular folder.  At least for that group type, it would be nice (and simple) to switch the current folder when selecting the group.  That wouldn't require saving any additional information.

Other group types that can get their projects from various places would have to remember the last folder/project that you opened in order to assign a 'current' folder.