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.
See issue 25677 for motivation. If the user repeatedly brings up the "New Project" wizard and has a particular directory s/he wants to locate the projects in, the user has to go and edit the directory every time, since we don't remember the user's previous selection. This goes beyond the project location panel. There are various file choosers used in the projects module, and many of them suffer from a similar problem. For example, "Open Project" doesn't start out in my previously used directory, everytime it goes back to the filesystem roots (which is annoying, since I have to drill from / 4-5 levels down to the directory where my projects are kept). In issue 25677 David suggested that we keep a global option for setting the preferred project location. Since NetBeans already has a too many global options, I suggest we in the first release only remember these settings within a single session. In other words, if you restart the IDE you get the default the first time again. This is consistent with how many other tools handle this (web browsers' "Save As" default directory for example.)
I've fixed this for the project wizard panel. I'm leaving the bug open for other areas. I took a look at the "Open Project" action which has annoyed me in the past; but it's using TopManager.NodeOperation.select() to select a file - and there's no API there for pre-selecting a node. I think this should be fixed by creating an improved file chooser to be used in various places - I believe Petr (or perhaps it was somebody else) filed an issue on the need for such a filechooser the other day.
This is important to solve as it is used on many places in the infrastructure and modules. Almost anywhere user need to select some objects (e.g. files or another entities in the project) and we should give modules some support soon otherwise module owners will have to revwrite a lot of code.
*** Issue 32287 has been marked as a duplicate of this issue. ***
Fixed for creating/opening projects and project groups. ProjectUtil's methods select(...), rememberLocation(...), and getRememberedLocation(...) added to serve other modules needs.
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as VERIFIED --->
---> CLOSED