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

Code completion not working?

7 replies
Silvio Bierman
Joined: 2009-02-16,
User offline. Last seen 1 year 16 weeks ago.

Hi all,

After having stayed away from the bightly builds (as we where told) I
started using them again a couple of weeks ago. Most things are working fine
and the editor is steadily improving, thanks a lot to Miles for that.

However, the code completion has not worked for me all through these builds.
Either I get no proposals at all or I only get the general proposals from
AnyRef or so. I have tried clean installs etc. but to no avail. Even a
completely clean workspace made no difference.

I have not re-created my projects for quite some time though. Perhaps that
might help? Or is this just one of the things still under construction?

Cheers,

Silvio

Silvio Bierman
Joined: 2009-02-16,
User offline. Last seen 1 year 16 weeks ago.
Re: Code completion not working?

One thing I forgot to mention: I am using Eclipse 3.5.0 and have installed
both the nightly plugin and the weaving thingy.

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Code completion not working?

On Mon, Jul 27, 2009 at 10:46 PM, Silvio
Bierman wrote:
> After having stayed away from the bightly builds (as we where told) I
> started using them again a couple of weeks ago. Most things are working fine
> and the editor is steadily improving, thanks a lot to Miles for that.

I'm glad that you're getting on well with trunk even in it's current
state, but my general recommendation to stick with a release still
stands (unless you want to help out with development that is :-).

> However, the code completion has not worked for me all through these builds.
> Either I get no proposals at all or I only get the general proposals from
> AnyRef or so. I have tried clean installs etc. but to no avail. Even a
> completely clean workspace made no difference.

Yup, that's expected on trunk just at the moment ... it's still a work
in progress.

Cheers,

Miles

Silvio Bierman
Joined: 2009-02-16,
User offline. Last seen 1 year 16 weeks ago.
Re: Code completion not working?

Miles Sabin wrote:
>
>
> I'm glad that you're getting on well with trunk even in it's current
> state, but my general recommendation to stick with a release still
> stands (unless you want to help out with development that is :-).
>
>

I thought so since I did not see any encouragements to go at the nightly
builds. But since I am building some Scala toolsets to replace roughly
equivalent Java toolsets for future projects at my company I want to target
2.8 instead of 2.7. Currently I am the onely Scala user so I don't mind some
rough edges here and there. I also prefer to get a feel for what we can
expect for the 2.8 release since I am going to push our devs towards Scala
for production the coming weeks.

Being a server side coder and complete Eclipse know-nothing I am afraid I
would be of little help. I would be happy to share usefull Scala stuff later
on. For now I guess I can only help by testing the red hot stuff. I don't
mind doing a clean install now and then :-)

Miles Sabin wrote:
>
>
> Yup, that's expected on trunk just at the moment ... it's still a work
> in progress.
>
>

Makes sense to me. I seem to remember reading in one of your posts that a
2.8 release is coming soon. I will just tag along on the nightliy ones...

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Code completion not working?

On Mon, Jul 27, 2009 at 11:24 PM, Silvio
Bierman wrote:
> Being a server side coder and complete Eclipse know-nothing I am afraid I
> would be of little help. I would be happy to share usefull Scala stuff later
> on. For now I guess I can only help by testing the red hot stuff. I don't
> mind doing a clean install now and then :-)

That's really useful ... thanks.

> Makes sense to me. I seem to remember reading in one of your posts that a
> 2.8 release is coming soon. I will just tag along on the nightliy ones...

I hope have something more generally usable well in advance of the
2.8.0 release.

Cheers,

Miles

ijuma
Joined: 2008-08-20,
User offline. Last seen 22 weeks 2 days ago.
Re: Code completion not working?

Hi Silvio,

On Mon, 2009-07-27 at 23:29 +0100, Miles Sabin wrote:
> On Mon, Jul 27, 2009 at 11:24 PM, Silvio
> Bierman wrote:
> > Being a server side coder and complete Eclipse know-nothing I am afraid I
> > would be of little help. I would be happy to share usefull Scala stuff later
> > on. For now I guess I can only help by testing the red hot stuff. I don't
> > mind doing a clean install now and then :-)
>
> That's really useful ... thanks.
>
> > Makes sense to me. I seem to remember reading in one of your posts that a
> > 2.8 release is coming soon. I will just tag along on the nightliy ones...

To clarify, I think Miles said that the nightlies would be usable soon
(as his comment below indicates). A final release for Scala 2.8.0 is
still a few months away at best. Miles, please correct me if I am
misrepresenting what you said.

Ismael

> I hope have something more generally usable well in advance of the
> 2.8.0 release.
>
> Cheers,
>
>
> Miles
>

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Code completion not working?

On Mon, Jul 27, 2009 at 11:52 PM, Ismael Juma wrote:
> To clarify, I think Miles said that the nightlies would be usable soon
> (as his comment below indicates). A final release for Scala 2.8.0 is
> still a few months away at best. Miles, please correct me if I am
> misrepresenting what you said.

Exactly right ...

Cheers,

Miles

phkoester
Joined: 2009-08-23,
User offline. Last seen 42 years 45 weeks ago.
Re: Code completion not working?

> I'm glad that you're getting on well with trunk even in it's current
> state, but my general recommendation to stick with a release still
> stands (unless you want to help out with development that is :-).

I wouldn't mind using Scala IDE 2.7.5 final, Miles, but it wouldn't even
install in my Eclipse setup due to its JDT-Weaving dependency. I already
installed AJDT which comes with a different version of JDT weaving.

Trunk works for me, joint compilation works both in Eclipse and on the
command line with Maven, so I can get started to learn the language. But
it's not exactly a joy without automatic import organization and without
code completion ...

Hoping for the future
---Phil

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