Bug 41004 - [content assist] import code assist should enable easier deep package traversal ( more like JBuilders)
Summary: [content assist] import code assist should enable easier deep package travers...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 33890 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-31 10:01 EDT by jay_schmidgall CLA
Modified: 2006-07-03 03:16 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 jay_schmidgall CLA 2003-07-31 10:01:02 EDT
In a nutshell, I'm hoping the code assist feature for imports can be made more
like how JBuilder does its code assist. Here's a walkthrough:

I type

  import java.

At this point, both Eclipse & JBuilder pop up code assist. However, JBuilder's
assist includes an asterisk; selecting this inserts it and we would end up with

  import java.*;

Alternatively, suppose we continue typing:

  import java.l

Eclipse's code assist filters down to three choices with the first, java.lang, 
selected; JBuilder's doesn't filter but does select the 'lang' package. Now, if 
I press Enter in Eclipse, code is inserted and we end up with

  import java.lang.*;

whereas if we press Enter in JBuilder, code is also inserted, giving us

  import java.lang.

but then code assist pops up again with a list containing an asterisk and the
package names or classes under java.lang, from which I can then select. With
Eclipse, I now must backspace over the ;* and hit Control-Space to bring up
code assist again

In a nutshell, it takes much fewer keystrokes to import a deep package in
JBuilder than it does in Eclipse. In Eclipse, for each package, I must either
continue typing the full package name, which lessens the benefit of code
assist, or select the package name, backspace twice, Control-Space, package
name, and so on. With JBuilder, it is a much smoother and more natural
selection process.
Comment 1 Dani Megert CLA 2006-06-30 08:35:58 EDT
*** Bug 33890 has been marked as a duplicate of this bug. ***