Skip to main content



      Home
Home » Newcomers » Newcomers » small problem with completion
small problem with completion [message #222144] Wed, 18 July 2007 09:12 Go to next message
Eclipse UserFriend
Originally posted by: charles.prevot.ago.fr

Hello,
whenever I hit ctrl+space to display the code completion box, every
proposition is displayed twice. For example, if my class Foo has only
one method called bar(), the completion list will display:
bar() Foo-Foo
bar() Foo-Foo

Not a very important bug but quite annoying... Does someone has any idea
where it could come from ?
Re: small problem with completion [message #222187 is a reply to message #222144] Wed, 18 July 2007 09:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Charles Prevot wrote:
> Hello,
> whenever I hit ctrl+space to display the code completion box, every
> proposition is displayed twice. For example, if my class Foo has only
> one method called bar(), the completion list will display:
> bar() Foo-Foo
> bar() Foo-Foo
>
> Not a very important bug but quite annoying... Does someone has any idea
> where it could come from ?

Whatever project or JAR that contains those classes in on the build path
twice. Check the Java Build Path of the project you're working in and
eliminate any duplications.

Hope this helps,
Eric
Re: small problem with completion [message #222250 is a reply to message #222187] Wed, 18 July 2007 11:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: charles.prevot.ago.fr

Eric Rizzo a écrit :
> Charles Prevot wrote:
>> Hello,
>> whenever I hit ctrl+space to display the code completion box, every
>> proposition is displayed twice. For example, if my class Foo has only
>> one method called bar(), the completion list will display:
>> bar() Foo-Foo
>> bar() Foo-Foo
>>
>> Not a very important bug but quite annoying... Does someone has any
>> idea where it could come from ?
>
> Whatever project or JAR that contains those classes in on the build path
> twice. Check the Java Build Path of the project you're working in and
> eliminate any duplications.
>
> Hope this helps,
> Eric

thanks for the tip but my problem was the CLASSPATH environment variable
that was defined in Windows. I removed it and now everything works fine.
Re: small problem with completion [message #222272 is a reply to message #222144] Wed, 18 July 2007 12:08 Go to previous messageGo to next message
Eclipse UserFriend
Charles Prevot wrote:

> Hello,
> whenever I hit ctrl+space to display the code completion box, every
> proposition is displayed twice.

Most likely this is caused by Mylin (aka Mylar). Go and reset the
Advanced Content Assist preferences.

Dani

> For example, if my class Foo has only one method called bar(), the
> completion list will display:
> bar() Foo-Foo
> bar() Foo-Foo
>
> Not a very important bug but quite annoying... Does someone has any
> idea where it could come from ?
Re: small problem with completion [message #222279 is a reply to message #222272] Wed, 18 July 2007 12:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: charles.prevot.ago.fr

Daniel Megert a écrit :
> Charles Prevot wrote:
>
>> Hello,
>> whenever I hit ctrl+space to display the code completion box, every
>> proposition is displayed twice.
>
> Most likely this is caused by Mylin (aka Mylar). Go and reset the
> Advanced Content Assist preferences.
>
> Dani
>
>> For example, if my class Foo has only one method called bar(), the
>> completion list will display:
>> bar() Foo-Foo
>> bar() Foo-Foo
>>
>> Not a very important bug but quite annoying... Does someone has any
>> idea where it could come from ?

Thanks it worked great. Actually the reset didn't work, so I just
unchecked everything that was not mylin.
Re: small problem with completion [message #222286 is a reply to message #222250] Wed, 18 July 2007 12:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: charles.prevot.ago.fr

Charles Prevot a écrit :
> Eric Rizzo a écrit :
>> Charles Prevot wrote:
>>> Hello,
>>> whenever I hit ctrl+space to display the code completion box, every
>>> proposition is displayed twice. For example, if my class Foo has only
>>> one method called bar(), the completion list will display:
>>> bar() Foo-Foo
>>> bar() Foo-Foo
>>>
>>> Not a very important bug but quite annoying... Does someone has any
>>> idea where it could come from ?
>>
>> Whatever project or JAR that contains those classes in on the build
>> path twice. Check the Java Build Path of the project you're working in
>> and eliminate any duplications.
>>
>> Hope this helps,
>> Eric
>
> thanks for the tip but my problem was the CLASSPATH environment variable
> that was defined in Windows. I removed it and now everything works fine.

In fact it worked only at the startup of eclipse. the problem comes from
mylin (see other msg in thread).
Re: small problem with completion [message #222866 is a reply to message #222286] Thu, 19 July 2007 20:58 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Charles Prevot wrote:
> Charles Prevot a écrit :
>> Eric Rizzo a écrit :
>>> Charles Prevot wrote:
>>>> Hello,
>>>> whenever I hit ctrl+space to display the code completion box, every
>>>> proposition is displayed twice. For example, if my class Foo has
>>>> only one method called bar(), the completion list will display:
>>>> bar() Foo-Foo
>>>> bar() Foo-Foo
>>>>
>>>> Not a very important bug but quite annoying... Does someone has any
>>>> idea where it could come from ?
>>>
>>> Whatever project or JAR that contains those classes in on the build
>>> path twice. Check the Java Build Path of the project you're working
>>> in and eliminate any duplications.
>>>
>>> Hope this helps,
>>> Eric
>>
>> thanks for the tip but my problem was the CLASSPATH environment
>> variable that was defined in Windows. I removed it and now everything
>> works fine.
>
> In fact it worked only at the startup of eclipse. the problem comes from
> mylin (see other msg in thread).

FYI, Eclipse does not use the system CLASSPATH variable at all, so that
was never part of your problem.

Eric
Previous Topic:Help: eclipse break my code one line into sevral lines !!!
Next Topic:./eclipse
Goto Forum:
  


Current Time: Sun May 11 22:24:02 EDT 2025

Powered by FUDForum. Page generated in 0.16171 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top