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 221531 - git branches complement
Summary: git branches complement
Status: REOPENED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Task Dashboard (show other bugs)
Version: 7.3
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-06 08:38 UTC by vgrigory
Modified: 2012-11-07 10:39 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 vgrigory 2012-11-06 08:38:53 UTC
Hello,

as a user I would like to be able to somehow recover list of opened files related to a particular git branch.

As you know with git switching between branches is a usual thing, so would be great if IDE would assist, support that.


Best,
Vahagn.
Comment 1 Tomas Mysik 2012-11-06 09:40:46 UTC
Not PHP specific...
Comment 2 vgrigory 2012-11-06 10:28:50 UTC
ok, then IDE, window group
Comment 3 Ondrej Vrabec 2012-11-07 08:29:34 UTC
> as a user I would like to be able to somehow recover list of opened files
> related to a particular git branch.
Sorry, i do not understand the request. Please be more descriptive. When you checkout a branch then *all* files from the repository are on the branch, so *every* open file coming from the repository would be included in the list.
Comment 4 vgrigory 2012-11-07 08:33:58 UTC
sure will be, what I'm talking is usability.

E.g. I was working on SD-2231 and had 3 files open related to it, 

then SD-4563 came which has higher priority to I'm switching to it and opening files related to it. After fix I'm going back to SD-2231 branch. At this point it would be great to have files related to it opened automatically somehow... (really don't know about feasibility, but as a feature it would be useful)


Thanks,
if anything is unclear so far, would be glad to clearify.
Comment 5 Ondrej Vrabec 2012-11-07 10:06:48 UTC
I have no idea how git is supposed to realize what files should be opened when a certain branch is checked out. This however seems to be more a task-related issue. See http://wiki.netbeans.org/TaskDrivenNetBeans
Comment 6 vgrigory 2012-11-07 10:39:13 UTC
(In reply to comment #5)
> I have no idea how git is supposed to realize what files should be opened when
> a certain branch is checked out. This however seems to be more a task-related
> issue. See http://wiki.netbeans.org/TaskDrivenNetBeans


in Netbeans Git menu, there is Switch branch option. So theoretically (I'm not an IDE developer) it should be possible to track which files are opened, related to which branch. So my suggestion might be (maybe there is more room for enhancement) to create (automatically) dynamic window groups related to used git branches.


Thanks