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

Editor templates with the Eclipse plugin?

2 replies
Jeppe Nejsum Madsen
Joined: 2009-05-19,
User offline. Last seen 42 years 45 weeks ago.

Hi,

Is it possible to create editor templates with the Eclipse Plugin
(2.7.x)?

The Scala preference page doesn't mention anything, and the Java templates
doesn't seem available when editing a Scala file....

If no, has this changed in 2.8?

/Jeppe

david.bernard
Joined: 2009-01-08,
User offline. Last seen 1 year 27 weeks ago.
Re: Editor templates with the Eclipse plugin?

YaScalaDT 2.1 provide template support, but I didn't test if template
works when you're in the "regular" scala editor.

see : http://github.com/davidB/yascaladt-doc

On Thu, Mar 4, 2010 at 09:24, Jeppe Nejsum Madsen wrote:
> Hi,
>
> Is it possible to create editor templates with the Eclipse Plugin
> (2.7.x)?
>
> The Scala preference page doesn't mention anything, and the Java templates
> doesn't seem available when editing a Scala file....
>
> If no, has this changed in 2.8?
>
> /Jeppe
>
>

milessabin
Joined: 2008-08-11,
User offline. Last seen 33 weeks 3 days ago.
Re: Editor templates with the Eclipse plugin?

On Thu, Mar 4, 2010 at 8:24 AM, Jeppe Nejsum Madsen wrote:
> Is it possible to create editor templates with the Eclipse Plugin
> (2.7.x)?
>
> The Scala preference page doesn't mention anything, and the Java templates
> doesn't seem available when editing a Scala file....
>
> If no, has this changed in 2.8?

No, and not yet in 2.8 ... it'd be great if you could create an
enhancement ticket for this in Trac so that it doesn't get forgotten
about.

Cheers,

Miles

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