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

Eclipse Plugin Scala editor autoindent inserting strange stuff?

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

Hello all,

When I type

def foo(x : Int)
{

the editor shows this:

def foo(x : Int)
{
RandomAccessSeq( , )
}

so it not just inserts the closing brace (which is fine) but it also inserts
something I rarely need :-)

This is still in the current nightly build and has been in the nightly
builds for the last six days or so.

Silvio

Ricky Clarkson
Joined: 2008-12-19,
User offline. Last seen 3 years 2 weeks ago.
Re: Eclipse Plugin Scala editor autoindent inserting strange s

Fixed two hours ago. http://lampsvn.epfl.ch/trac/scala/ticket/1770

I guess you'll benefit from tonight's nightly build then.

2009/3/6 Silvio Bierman :
>
> Hello all,
>
> When I type
>
> def foo(x : Int)
> {
>
>
> the editor shows this:
>
> def foo(x : Int)
> {
> RandomAccessSeq( ,  )
> }
>
> so it not just inserts the closing brace (which is fine) but it also inserts
> something I rarely need :-)
>
> This is still in the current nightly build and has been in the nightly
> builds for the last six days or so.
>
> Silvio
>
> --
> View this message in context: http://www.nabble.com/Eclipse-Plugin-Scala-editor-autoindent-inserting-s...
> Sent from the Scala - Tools mailing list archive at Nabble.com.
>
>

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Eclipse Plugin Scala editor autoindent inserting strange s

On Fri, Mar 6, 2009 at 11:37 AM, Silvio Bierman
wrote:
> the editor shows this:
>
> def foo(x : Int)
> {
> RandomAccessSeq( ,  )
> }
>
> so it not just inserts the closing brace (which is fine) but it also inserts
> something I rarely need :-)
>
> This is still in the current nightly build and has been in the nightly
> builds for the last six days or so.

Yes, sorry about that ... as Ricky said, fixed now and should be in
the next nightly.

The hold up was that there were some much nastier regressions on the
trunk which needed seeing to first.

Cheers,

Miles

Silvio Bierman
Joined: 2009-02-16,
User offline. Last seen 1 year 16 weeks ago.
Re: Eclipse Plugin Scala editor autoindent inserting strange s

Thanks a lot.

Silvio

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