Bug 66975 - [content assist] Improve experience with code assist in external Java files
Summary: [content assist] Improve experience with code assist in external Java files
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux-GTK
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-14 11:27 EDT by Michael Valenta CLA
Modified: 2007-06-22 10:01 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Valenta CLA 2004-06-14 11:27:46 EDT
I tried to use code completion (CTRL-Space) is a java file in a simple project.
I was presented with a dialog stating that the compilation unit was not on the
build path of a Java project. Here are some observarions on this handling.

1) When I pressed OK of the error dialog, there was a beep. I could maybe
understand if the beep happened as the dialog opened but it makes no sense to
beep when the user presses OK.

2) It would be less intrusive to just pop up a tooltip that stated the error.

3) It would be super helpful if there was an option presented to the user to
convert the project to a Java project (especially since I'm not even sure how
the user would convert the project).
Comment 1 Michael Valenta CLA 2004-06-14 11:34:37 EDT
Also, I selected the name of the class in the java file in my simple project and
chose "Show in Package Explorer" from the context menu. I was presented with a
dialog that stated that a filter was hidding the item. I selected to remove the
filter but the item still wasn't revealed. Repeating the operation didn't result
in another filter prompt but the item is never revealed. Other opeations on the
selected class name give the "Not on the build path" error.
Comment 2 Martin Aeschlimann CLA 2006-06-14 11:21:07 EDT
I fixed the show in issue from comment 1.

Still an issue:
- code assist shows 2 warning dialogs first and then still open the content assist window
Comment 3 Dani Megert CLA 2006-06-14 11:28:43 EDT
Not currently planned.
Comment 4 Dani Megert CLA 2007-06-22 09:59:36 EDT
Get rid of deprecated state.