- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
'Scripts'
Mon, 2009-06-22, 14:52
In following an example early in the O'Reilly Labs "Programming Scala", I
noticed that it seems like Scala supports a script-like ability to put code
outside of any object; not sure if that's just translating into an
application (object with main()) or what the mechanism is, but scala's fine
with it, and the Scala Eclipse plugin doesn't seem to be; is this by design?
Is there a way around it?
By way of example:
http://www.quicksnapper.com/geoffrey.wiseman/image/scala-eclipse-plugin-...
Tue, 2009-06-23, 08:17
#2
Re: 'Scripts'
You can use scripts in IntelliJ IDEA Scala plugin. And simply run it from
context menu.
Geoffrey Wiseman wrote:
>
> In following an example early in the O'Reilly Labs "Programming Scala", I
> noticed that it seems like Scala supports a script-like ability to put
> code outside of any object; not sure if that's just translating into an
> application (object with main()) or what the mechanism is, but scala's
> fine with it, and the Scala Eclipse plugin doesn't seem to be; is this by
> design? Is there a way around it?
>
> By way of example:
> http://www.quicksnapper.com/geoffrey.wiseman/image/scala-eclipse-plugin-...
>
>
You can use scripts in IntelliJ IDEA Scala plugin. And simply run it from
context menu.
Geoffrey Wiseman wrote:
>
> In following an example early in the O'Reilly Labs "Programming Scala", I
> noticed that it seems like Scala supports a script-like ability to put
> code outside of any object; not sure if that's just translating into an
> application (object with main()) or what the mechanism is, but scala's
> fine with it, and the Scala Eclipse plugin doesn't seem to be; is this by
> design? Is there a way around it?
>
> By way of example:
> http://www.quicksnapper.com/geoffrey.wiseman/image/scala-eclipse-plugin-...
>
>