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 108203 - "Project" view should go away
Summary: "Project" view should go away
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
: 106909 108110 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-26 17:41 UTC by jamespb
Modified: 2007-08-31 23:18 UTC (History)
0 users

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 jamespb 2007-06-26 17:41:22 UTC
The "project" view is strange and should be removed, or at least fixed to conform to a standard RoR tree structure.  The
"files" view displays a far more normal RoR view.

This one came up on the ruby mailing list yesterday (someone else, not me, but I share the sentiment):

>> Have you tried the latest netbeans 6 beta? It's shaping up to be the best ror editor around.
...and the slowest, most bloated IMHO, not to mention it displays the
rails-convention dir structure (app/models, app/controllers etc) in
its own way... not very rails-y.
Comment 1 Jiri Kovalsky 2007-07-03 13:54:47 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 2 Torbjorn Norbye 2007-08-02 19:42:01 UTC
This is a bit tricky; I've seen several people who really like the "logical view" approach instead of the "file view" approach (even on the ruby mailing list thread 
you're referring to).

On the other hand, the logical view has two problems:
(1) Not familiar to people who already know and like the Rails file directory structure, and
(2) It's not flexible for extensions that add additional directories to the project; I have to keep tracking this with conditional logic (for example, somebody said 
"my rspecs aren't showing up", so I went and added a logical node for "RSpec" mapped to the "rspec" directory, etc. etc.)

So I'll need to do something about this for 6.0, even if it's more of an enhancement than a bug... Perhaps this really does deserve an option, even if semi-
hidden.
Comment 3 Torbjorn Norbye 2007-08-10 01:17:58 UTC
*** Issue 106909 has been marked as a duplicate of this issue. ***
Comment 4 Torbjorn Norbye 2007-08-10 01:19:40 UTC
*** Issue 108110 has been marked as a duplicate of this issue. ***
Comment 5 Torbjorn Norbye 2007-08-31 23:18:02 UTC
Fixed.

I've made two changes:

- First, in the options panel for Ruby, you can turn off the "logical" view of Rails projects. If you do this, then the
project navigator will show the traditional file view of the Rails application.

- Second, in the logical view, I've made the code go and look for "unknown" directories, and these are also added into
the view. This should take care of those cases were people had installed framework X, and were missing directory Y in
the project view.