Code Assist Filtering [message #293118] |
Tue, 18 October 2005 11:13  |
Eclipse User |
|
|
|
Originally posted by: tmonaco.knowledgecc.com
Greetings,
Is it possible (if so, how?) to filter the code assist "suggestions" to
packages and classes that are already imported? I wouldn't mind typing
my own import statements if it meant I could have the code assist work
in this way. I realize that this would not work with auto-import turned on.
My problem is, I have several jars in my buildpath which contain several
classes called Map, or something like Map*, which when I want to use a
java.util.Map, I need to scroll all the way through them to get to
it--even though none of the other Map's are members of imported packages.
Another example is com.mysql.jdbc.Connection vs. java.sql.Connection.
Code assist keeps trying to stick in the mysql one.
Thanks,
-Tom
|
|
|
|
Re: Code Assist Filtering [message #293187 is a reply to message #293156] |
Wed, 19 October 2005 14:55  |
Eclipse User |
|
|
|
Originally posted by: tmonaco.knowledgecc.com
That was one of the first things I tried. The problem with it is that
I'd need to exclude EVERY package by hand and then sift through and
uncheck it to keep it in sync with my imports.
I was kinda hoping there would be a plugin or a patch out there to get
this behavior.
Thanks,
-Tom
Daniel Megert wrote:
> Tom Monaco wrote:
>
>> Greetings,
>>
>> Is it possible (if so, how?) to filter the code assist "suggestions"
>> to packages and classes that are already imported?
>
> Window > Preferences > Java > Appearance > Type Filters
>
> HTH
> Dani
>
>> I wouldn't mind typing my own import statements if it meant I could
>> have the code assist work in this way. I realize that this would not
>> work with auto-import turned on.
>>
>> My problem is, I have several jars in my buildpath which contain
>> several classes called Map, or something like Map*, which when I want
>> to use a java.util.Map, I need to scroll all the way through them to
>> get to it--even though none of the other Map's are members of imported
>> packages.
>>
>> Another example is com.mysql.jdbc.Connection vs. java.sql.Connection.
>> Code assist keeps trying to stick in the mysql one.
>>
>> Thanks,
>> -Tom
|
|
|
Powered by
FUDForum. Page generated in 0.03864 seconds