This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Auto Complete Woes

4 replies
lmorroni
Joined: 2009-05-07,
User offline. Last seen 42 years 45 weeks ago.

Hi,
Can someone tell me if there are outstanding issues with the auto complete
in the scala eclipse plugin? I have tried anything and everything to get it
working but to no avail. The JavaDoc highlights work but never code
completion. I'll be happy to share more specific details of my setup if
that helps but in general, I have tried this on OS X and on Windows. I have
used the latest stable plugin, I have used the nightly plugin. I have ran
eclipse under 1.5 and 1.6. I have wiped my workspace completely and
restarted from scratch using the standard tutorial as a
guide(http://www.scala-lang.org/node/94). I have removed all plugins from
eclipse and restarted with just the scala plugin. I'm really frustrated and
just hoping that someone can shed some light. I found one person on irc
that said they had it working on their linux machine but they couldn't
really help us with our situation.
Thanks,
Larry

daniel
Joined: 2008-08-20,
User offline. Last seen 44 weeks 15 hours ago.
Re: Auto Complete Woes
Does content assist work if you force it using Ctrl+Space?  For example:

Console.<ctrl+space>

In other words, is the problem with the content assist or the auto-activation?  At least for me, the former is working while the latter is not.

Daniel

On Thu, May 7, 2009 at 10:17 AM, lmorroni <larry@morroni.com> wrote:

Hi,
Can someone tell me if there are outstanding issues with the auto complete
in the scala eclipse plugin?  I have tried anything and everything to get it
working but to no avail.  The JavaDoc highlights work but never code
completion.  I'll be happy to share more specific details of my setup if
that helps but in general, I have tried this on OS X and on Windows.  I have
used the latest stable plugin, I have used the nightly plugin.  I have ran
eclipse under 1.5 and 1.6.  I have wiped my workspace completely and
restarted from scratch using the standard tutorial as a
guide(http://www.scala-lang.org/node/94).  I have removed all plugins from
eclipse and restarted with just the scala plugin.  I'm really frustrated and
just hoping that someone can shed some light.  I found one person on irc
that said they had it working on their linux machine but they couldn't
really help us with our situation.
Thanks,
Larry
--
View this message in context: http://www.nabble.com/Auto-Complete-Woes-tp23428530p23428530.html
Sent from the Scala - Tools mailing list archive at Nabble.com.


lmorroni
Joined: 2009-05-07,
User offline. Last seen 42 years 45 weeks ago.
Re: Auto Complete Woes

Yes that works on both the Mac and the Windows machine. I didn't understand
the diff between auto activation and content assist. This will work for
now. I saw the patch entered for getting auto activation working. I guess
it has not made it into the nightly build yet. Thanks for your help.
Larry

Daniel Spiewak wrote:
>
> Does content assist work if you force it using Ctrl+Space? For example:
>
> Console.
>
> In other words, is the problem with the content assist or the
> auto-activation? At least for me, the former is working while the latter
> is
> not.
>
> Daniel
>
> On Thu, May 7, 2009 at 10:17 AM, lmorroni wrote:
>
>>
>> Hi,
>> Can someone tell me if there are outstanding issues with the auto
>> complete
>> in the scala eclipse plugin? I have tried anything and everything to get
>> it
>> working but to no avail. The JavaDoc highlights work but never code
>> completion. I'll be happy to share more specific details of my setup if
>> that helps but in general, I have tried this on OS X and on Windows. I
>> have
>> used the latest stable plugin, I have used the nightly plugin. I have
>> ran
>> eclipse under 1.5 and 1.6. I have wiped my workspace completely and
>> restarted from scratch using the standard tutorial as a
>> guide(http://www.scala-lang.org/node/94). I have removed all plugins
>> from
>> eclipse and restarted with just the scala plugin. I'm really frustrated
>> and
>> just hoping that someone can shed some light. I found one person on irc
>> that said they had it working on their linux machine but they couldn't
>> really help us with our situation.
>> Thanks,
>> Larry
>> --
>> View this message in context:
>> http://www.nabble.com/Auto-Complete-Woes-tp23428530p23428530.html
>> Sent from the Scala - Tools mailing list archive at Nabble.com.
>>
>>
>
>

Édson Rocha
Joined: 2009-03-16,
User offline. Last seen 1 year 47 weeks ago.
Re: Auto Complete Woes
Out of curiosity,

When I type:

val c: Com<ctrl+space>

It shows me "classes" in scala root packages only (Comparable and Compiler) or someone else in packages already imported.

For example:
import scala.swing._
...
val c: Com<ctrl+space>

It shows me ComboBox, Comparable, Compiler, Component.

Is this expected behavior?

Thanks.

P.S.:
Eclipse IDE 3.4.1
Scala Plugin 2.7.4.final
Java 1.6.0_10
openSUSE 11.0 32bit Linux 2.6.25.5-1.1-pae

On Thu, May 7, 2009 at 12:20, Daniel Spiewak <djspiewak@gmail.com> wrote:
Does content assist work if you force it using Ctrl+Space?  For example:

Console.<ctrl+space>

In other words, is the problem with the content assist or the auto-activation?  At least for me, the former is working while the latter is not.

Daniel

On Thu, May 7, 2009 at 10:17 AM, lmorroni <larry@morroni.com> wrote:

Hi,
Can someone tell me if there are outstanding issues with the auto complete
in the scala eclipse plugin?  I have tried anything and everything to get it
working but to no avail.  The JavaDoc highlights work but never code
completion.  I'll be happy to share more specific details of my setup if
that helps but in general, I have tried this on OS X and on Windows.  I have
used the latest stable plugin, I have used the nightly plugin.  I have ran
eclipse under 1.5 and 1.6.  I have wiped my workspace completely and
restarted from scratch using the standard tutorial as a
guide(http://www.scala-lang.org/node/94).  I have removed all plugins from
eclipse and restarted with just the scala plugin.  I'm really frustrated and
just hoping that someone can shed some light.  I found one person on irc
that said they had it working on their linux machine but they couldn't
really help us with our situation.
Thanks,
Larry
--
View this message in context: http://www.nabble.com/Auto-Complete-Woes-tp23428530p23428530.html
Sent from the Scala - Tools mailing list archive at Nabble.com.





--
Édson Rocha Patrício
www.verde.com.br
milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Auto Complete Woes

On Thu, May 7, 2009 at 5:25 PM, lmorroni wrote:
> Yes that works on both the Mac and the Windows machine.  I didn't understand
> the diff between auto activation and content assist.  This will work for
> now.  I saw the patch entered for getting  auto activation working.  I guess
> it has not made it into the nightly build yet.  Thanks for your help.

Not yet, but don't worry, it's not been forgotten about.

Cheers,

Miles

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland