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 41992 - Impossible to create a new file in a selected directory in All Files View
Summary: Impossible to create a new file in a selected directory in All Files View
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
: 42393 (view as bug list)
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-04-14 23:35 UTC by vbrabant
Modified: 2006-03-24 09:55 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vbrabant 2004-04-14 23:35:50 UTC
When I am in a All Files View, and navigate
through directories, I would like to have
possibilities, as before, to create a new file on
my disk.
When I Right-Click on that directory and select
NEW File, it oblige me to create a new file in a
project. Impossible to create it in the selected
directory.

IMHO, it's a DEFECT.
Comment 1 Jesse Glick 2004-04-15 01:03:03 UTC
The question is what to do about it... Jano has suggested just
removing this view entirely (which I think is dangerous), and the
current UI specs have no provision for creating files outside of projects.
Comment 2 Milan Kubec 2004-04-15 08:58:06 UTC
Removing the View and not allowing users to create stuff outside of
project is not good IMO. I personally use IDE to do really lot of
things in various directories with various files. After the view gets
removed youser will be able to create *only* java stuff in src folder.
I'm not saying it's bad, but users will need to use another tool to do
things, that were used to do inside IDE.
Comment 3 Jesse Glick 2004-04-15 20:36:12 UTC
Probably if there is a folder selection when you invoke File -> New
and it is not owned by any project, all templates should be displayed
and the folder-based target chooser should be used, rooted at the root
masterfs file object.

Also pay attention to the case that the user selects a folder in a
project which is not open and invokes File -> New; you need to show
that project in the project pulldown even though it is not open.
Comment 4 Jesse Glick 2004-04-23 18:22:46 UTC
*** Issue 42393 has been marked as a duplicate of this issue. ***
Comment 5 _ ttran 2004-05-02 01:20:23 UTC
P3 -> P2.  This should be resolved one way or another for D
Comment 6 Jesse Glick 2004-05-06 22:19:52 UTC
Alternative idea, probably much easier to deal with: if we have a
Favorites tab of whatever sort, we can override the folder context
menu to have two items, one to let you make a new dir, one to make a
new file; each should just show one text field with name, and make it.
Very simple.
Comment 7 Petr Hrebejk 2004-05-24 09:27:08 UTC
Simple dialogs for creating the files outside of project added.
Comment 8 vbrabant 2004-05-24 09:38:45 UTC
verified in NB200405182245