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 144910 - Show tasks for main projects not relevant for Ruby and other project types that don't use main projects
Summary: Show tasks for main projects not relevant for Ruby and other project types th...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Action Items (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Stanislav Aubrecht
URL: http://wiki.netbeans.org/MainProjectC...
Keywords: UI
Depends on:
Blocks:
 
Reported: 2008-08-23 01:41 UTC by Chris Kutler
Modified: 2008-09-04 14:44 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 Chris Kutler 2008-08-23 01:41:39 UTC
Main projects has been turned off for Ruby. Instead we have the concept of Current Project.

In 6.5 Beta, I cannot show the tasks for my current project. 
When I click the Show Tasks for the Main Project button, the 
task list goes blank.

So, my only choices are for the current file in the source editor or all opened projects. 
I would like to see all the todos for my current project.

I realize that the work around is to make the Ruby project main, but that goes against
the reasoning that there doesn't need to be a main project with Ruby. Also, Once
I set a project as main, when I switch to a different project, all actions go
against the main project, so I have to now start remembering to set the main
project whenever I switch.
Comment 1 Stanislav Aubrecht 2008-09-01 14:41:45 UTC
there's this plugin that might help a bit: http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=3210

otherwise, what does HIE think about extending/modifying the list of scanning scopes?
Comment 2 jrojcek 2008-09-02 09:35:44 UTC
If there's no Main Project set, which is now a supported scenario, the Main Project button should change to Current Project button. The tooltip should 
change accordingly.

The task list should also give better indication what is the scope it works on. E.g. if the window is empty, it should say something like "<No tasks in all open 
projects>" or "<No tasks in JavaApplication project>", so that it is clear what's the project it works on. Also, if there's some tasks, the mini status line inside 
the task list window could indicate the scope, e.g. "Error: 2  Todo: 3  in all open projects", where the scope could be in gray color so that the error and todo 
number is visible better.
Comment 3 Stanislav Aubrecht 2008-09-04 14:44:17 UTC
fixed - 'main project' scope now switches to 'current project' if no main project is set

c39779969efb