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

Eclipse plugin and raw strings autocomplete

3 replies
Niels Hoogeveen
Joined: 2010-02-08,
User offline. Last seen 42 years 45 weeks ago.

I am not sure if this is already a known issue.

When using """raw strings""" in Eclipse pluging for 2.8, the text editor
incorrectly autocompletes by adding an extra double-quote, a plus and
opening the next line with a double quote.

Example:

val rawString = """This is an example of a raw string"""

When pressing enter behind "string" results in:

val rawString = """This is an example of a raw string" +
""""

This is only correct behaviour for normal strings:

val normalString = "This is an example of a normal string"

When pressing enter behing string results in:

val normalString = "This is an example of a normal string" +
""

For normal strings autocompletion is a nice improvement over 2.7, for raw
strings OTH. this behaviour is annoying, making editing much more difficult.

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Eclipse plugin and raw strings autocomplete

On Sun, Feb 21, 2010 at 2:58 PM, Niels Hoogeveen
wrote:
> I am not sure if this is already a known issue.

I think that's a new one ... a ticket in Trac would be helpful and
ensure that it doesn't get forgotten about.

Cheers,

Miles

Niels Hoogeveen
Joined: 2010-02-08,
User offline. Last seen 42 years 45 weeks ago.
Re: Eclipse plugin and raw strings autocomplete

Ticket #3087

Miles Sabin wrote:
>
> On Sun, Feb 21, 2010 at 2:58 PM, Niels Hoogeveen
> wrote:
>> I am not sure if this is already a known issue.
>
> I think that's a new one ... a ticket in Trac would be helpful and
> ensure that it doesn't get forgotten about.
>
> Cheers,
>
>
> Miles
>

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Eclipse plugin and raw strings autocomplete

On Sun, Feb 21, 2010 at 3:40 PM, Niels Hoogeveen
wrote:
> Ticket #3087

Thanks ...

Cheers,

Miles

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