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.
Summary: | Save open files as part of project group, not individual projects | ||
---|---|---|---|
Product: | projects | Reporter: | Jesse Glick <jglick> |
Component: | Generic Projects UI | Assignee: | Milos Kleint <mkleint> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | kawazu428, lesar, matthies |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 151920 | ||
Bug Blocks: | 44319, 168556 |
Description
Jesse Glick
2009-07-14 19:26:41 UTC
*** Bug 197273 has been marked as a duplicate of this bug. *** Bug #91031 is also related. *** Bug 223235 has been marked as a duplicate of this bug. *** Bluefish editor can only do projects which open all files; and this is wasteful of memory. I think remembering all open files would be handy, but I think it should be an option. Myself, I rarely have more than a handful of files in a project open at a time, and it is no problem to reopen them manually. http://hg.netbeans.org/core-main/rev/d78effba779b done by changing the private project aux configuration format to include group information and store multiple lists there. It was the easiest/safest thing to do in current codebase. No attempt is made to retrieve the old list in old format. Integrated into 'main-golden', will be available in build *201301220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d78effba779b User: Milos Kleint <mkleint@netbeans.org> Log: #168578 remember opened files in project per group, not globally. This change was active on 7.3 build 201302132200 ?? I use a script to open NB7: ... PRG="/home/user/netbeans-7.3/bin/netbeans" ... exec $PRG --userdir "$DIR" --open-group $GROUP ... this not work well now? same problem on last group project file not closed. (In reply to comment #7) > This change was active on 7.3 build 201302132200 ?? > I use a script to open NB7: > ... > PRG="/home/user/netbeans-7.3/bin/netbeans" > ... > exec $PRG --userdir "$DIR" --open-group $GROUP > ... > this not work well now? > same problem on last group project file not closed. can you verify that the problem only occurs with --open-group cmd line switch? That code path is fairly specific and most likely was not tested extensively. thanks (In reply to comment #8) > (In reply to comment #7) > > This change was active on 7.3 build 201302132200 ?? > > I use a script to open NB7: > > ... > > PRG="/home/user/netbeans-7.3/bin/netbeans" > > ... > > exec $PRG --userdir "$DIR" --open-group $GROUP > > ... > > this not work well now? > > same problem on last group project file not closed. > > can you verify that the problem only occurs with --open-group cmd line switch? > That code path is fairly specific and most likely was not tested extensively. > > thanks yes. If I open NB7 and then switch from a group to other group all work fine. If I use the script above NB7 strart up whith the right group name active but the file open was the last time file opened before close NB7. In hoter word if I have 2 groups Hissue1 and Hissue2, if I work on Hissue1 end then close NB7 when I next day open NB7 by the script above using --open-group Hissue2 then NB7 open with Hissue2 group active but the file open in editor is the last files open on Hissue1 Best regards |