Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313195 - Open type dialog may show that a working set is in used
Summary: Open type dialog may show that a working set is in used
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 13:13 EDT by Frederic Fusier CLA
Modified: 2010-05-17 14:15 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Fusier CLA 2010-05-17 13:13:11 EDT
Using 3.6RC1.

During the test day, I was using Eclipse in an unusual way, hence I set a working set in every places I can. E.g. I had set a working set in the Open type dialog reduced to the only project I had in my workspace: org.eclipse.jdt.core.

After having made many tests in my workspace with this unusual configuration, I imported the org.eclipse.jdt.ui plugin as binary projects and tried to open the RefreshAction type... and I was not able to see it. Immediately I suspected a problem in JDT/Core for the search all type name operation and try to import the plugin as source folders and several other unsuccessful tries... :-(

Until I remember that my Open type dialog was using a working set and then realize that the type I was trying to open didn't belong to it... :-S

Hence, I think that for users with a so little mind that I have, it could be interesting to have an visual reminder in the Open Type dialog saying that a working set is currently in used. Then, before blaming JDT/Core and opening a bug against this (wonderful) component, they should verify first that the working set currently in used is supposed to include the type they are looking for...
Comment 1 Deepak Azad CLA 2010-05-17 13:51:49 EDT
It already does that - see the dialog title, it should be 'Open Type - {Working Set Name}' ;-)

(To be honest even I didnt notice this rightaway)
Comment 2 Deepak Azad CLA 2010-05-17 13:53:52 EDT
(In reply to comment #1)
> It already does that - see the dialog title, it should be 'Open Type - {Working
> Set Name}' ;-)
and the same goes for Open Resource dialog.
Comment 3 Frederic Fusier CLA 2010-05-17 14:15:07 EDT
Oh, ok, but IMHO this is not enough visible...

Anyway, there's a way to show that a working set is in used. I'll be aware for the next time...
Thanks