[scala-tools] IDEA Scala plugin

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

[scala-tools] IDEA Scala plugin

by sanity :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've been playing with the Scala plugin (and the Scala "power pack", a secondary plugin) in IDEA's new free community edition IDE.  I've got to say that it is impressive, rock solid so far as I can tell, with completion that works, and some neat refactoring tools too.

Not to discourage those working on the NetBeans and Eclipse plugins - I'm still most comfortable in Eclipse, and really can't wait for the Eclipse plugin to be robust, and have features comparable to those available for Eclipse's Java users.

But, if you need a solid featureful IDE plugin *today* in a free IDE, you need to try IDEA community edition.

Ian.

--
Ian Clarke
CEO, Uprizer Labs
Email: ian@...
Ph: +1 512 422 3588

Re: [scala-tools] IDEA Scala plugin

by Cay Horstmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I can't even get it to install. I downloaded the Community Edition
from jetbrains.org, then the Scala plugin, and I am told that the
plugin is "incompatible". Is there a trick to it?

Thanks,

Cay

On Tue, Oct 27, 2009 at 3:50 PM, Ian Clarke <ian.clarke@...> wrote:

> I've been playing with the Scala plugin (and the Scala "power pack", a
> secondary plugin) in IDEA's new free community edition IDE.  I've got to say
> that it is impressive, rock solid so far as I can tell, with completion that
> works, and some neat refactoring tools too.
> Not to discourage those working on the NetBeans and Eclipse plugins - I'm
> still most comfortable in Eclipse, and really can't wait for the Eclipse
> plugin to be robust, and have features comparable to those available for
> Eclipse's Java users.
> But, if you need a solid featureful IDE plugin *today* in a free IDE, you
> need to try IDEA community edition.
> Ian.
>
> --
> Ian Clarke
> CEO, Uprizer Labs
> Email: ian@...
> Ph: +1 512 422 3588
>

Re: [scala-tools] IDEA Scala plugin

by L Jantzen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Download 3.0.75 from here: http://plugins.intellij.net/plugin/?id=1347

Cay Horstmann wrote:
I can't even get it to install. I downloaded the Community Edition
from jetbrains.org, then the Scala plugin, and I am told that the
plugin is "incompatible". Is there a trick to it?

Re: [scala-tools] IDEA Scala plugin

by Nils Kilden-Pedersen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Where/how does one specify which URL for IDEA to use for plugins?

On Thu, Oct 29, 2009 at 8:56 AM, L Jantzen <ljantzen@...> wrote:

Download 3.0.75 from here: http://plugins.intellij.net/plugin/?id=1347


Cay Horstmann wrote:
>
> I can't even get it to install. I downloaded the Community Edition
> from jetbrains.org, then the Scala plugin, and I am told that the
> plugin is "incompatible". Is there a trick to it?
>

--
View this message in context: http://www.nabble.com/-scala-tools--IDEA-Scala-plugin-tp26086506p26113513.html
Sent from the Scala - Tools mailing list archive at Nabble.com.



Re: [scala-tools] IDEA Scala plugin

by Cay Horstmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No luck--that's the one that it downloaded, and manually installing
made no difference. It is labeled "incompatible". I realize the
community edition is a beta, so one must expect issues such as this
one, but I am wondering why it works for you guys.

On Thu, Oct 29, 2009 at 6:56 AM, L Jantzen <ljantzen@...> wrote:

>
> Download 3.0.75 from here: http://plugins.intellij.net/plugin/?id=1347
>
>
> Cay Horstmann wrote:
>>
>> I can't even get it to install. I downloaded the Community Edition
>> from jetbrains.org, then the Scala plugin, and I am told that the
>> plugin is "incompatible". Is there a trick to it?
>>
>
> --
> View this message in context: http://www.nabble.com/-scala-tools--IDEA-Scala-plugin-tp26086506p26113513.html
> Sent from the Scala - Tools mailing list archive at Nabble.com.
>
>

Re: [scala-tools] IDEA Scala plugin

by Felipe Rodrigues 02 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just hit the "update plugin" on the available plugins list and it brought the 3.0.75. But only on Maia.

=)

Felipe

Nils Kilden-Pedersen wrote:
Where/how does one specify which URL for IDEA to use for plugins?

On Thu, Oct 29, 2009 at 8:56 AM, L Jantzen <ljantzen@...> wrote:

Download 3.0.75 from here: http://plugins.intellij.net/plugin/?id=1347


Cay Horstmann wrote:
>
> I can't even get it to install. I downloaded the Community Edition
> from jetbrains.org, then the Scala plugin, and I am told that the
> plugin is "incompatible". Is there a trick to it?
>

--
View this message in context: http://www.nabble.com/-scala-tools--IDEA-Scala-plugin-tp26086506p26113513.html
Sent from the Scala - Tools mailing list archive at Nabble.com.


Felipe Rodrigues
http://www.fratech.net

Re: [scala-tools] IDEA Scala plugin

by Cay Horstmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, it brought it in for me too. And then labeled it as "incompatible".

Is "Maia" different from the community edition? The original
recommender said it works with the community edition.

On Thu, Oct 29, 2009 at 10:24 AM, Felipe Rodrigues
<felipero.maillist@...> wrote:

> I just hit the "update plugin" on the available plugins list and it brought
> the 3.0.75. But only on Maia.
>
> =)
>
> Felipe
>
> Nils Kilden-Pedersen wrote:
>
> Where/how does one specify which URL for IDEA to use for plugins?
>
> On Thu, Oct 29, 2009 at 8:56 AM, L Jantzen <ljantzen@...> wrote:
>>
>> Download 3.0.75 from here: http://plugins.intellij.net/plugin/?id=1347
>>
>>
>> Cay Horstmann wrote:
>> >
>> > I can't even get it to install. I downloaded the Community Edition
>> > from jetbrains.org, then the Scala plugin, and I am told that the
>> > plugin is "incompatible". Is there a trick to it?
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/-scala-tools--IDEA-Scala-plugin-tp26086506p26113513.html
>> Sent from the Scala - Tools mailing list archive at Nabble.com.
>>
>
>

Re: [scala-tools] IDEA Scala plugin

by Rafael de F. Ferreira :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I had the same problem with the 3.0.75 plugin. The nightly from '16
Oct 2009' seems to work fine with the community edition, though:

http://www.jetbrains.net/confluence/display/SCA/Scala+Plugin+Nightly+Builds

--
Rafael de F. Ferreira.
http://www.rafaelferreira.net/



On Thu, Oct 29, 2009 at 9:04 PM, Cay Horstmann <cay.horstmann@...> wrote:

> Well, it brought it in for me too. And then labeled it as "incompatible".
>
> Is "Maia" different from the community edition? The original
> recommender said it works with the community edition.
>
> On Thu, Oct 29, 2009 at 10:24 AM, Felipe Rodrigues
> <felipero.maillist@...> wrote:
>> I just hit the "update plugin" on the available plugins list and it brought
>> the 3.0.75. But only on Maia.
>>
>> =)
>>
>> Felipe
>>
>> Nils Kilden-Pedersen wrote:
>>
>> Where/how does one specify which URL for IDEA to use for plugins?
>>
>> On Thu, Oct 29, 2009 at 8:56 AM, L Jantzen <ljantzen@...> wrote:
>>>
>>> Download 3.0.75 from here: http://plugins.intellij.net/plugin/?id=1347
>>>
>>>
>>> Cay Horstmann wrote:
>>> >
>>> > I can't even get it to install. I downloaded the Community Edition
>>> > from jetbrains.org, then the Scala plugin, and I am told that the
>>> > plugin is "incompatible". Is there a trick to it?
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/-scala-tools--IDEA-Scala-plugin-tp26086506p26113513.html
>>> Sent from the Scala - Tools mailing list archive at Nabble.com.
>>>
>>
>>
>

Re: [scala-tools] IDEA Scala plugin

by Silvio Bierman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How does one specify where IDEA should get a plugin? I just seem to get a fixed list in the plugin manager. Downloaded and unzipped a plugin but do not know how to point IDEA at it.

Tried the Scala plugin in IDEA btw. Was not very impressed with it. It is quite rigid in its indenting behaviour. If you dislike opening braces at the end of code lines and prefer to put them on the next line this plugin is a nightmare.
The code completion works but is quite slow. It tends to append () pairs after calls to methods without parameter lists which makes code completion quite a pain to use.

I have to say that I never cared much for IDEA before so I may be to much Eclipsified...


Re: [scala-tools] IDEA Scala plugin

by L Jantzen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I did as follows (on ubuntu ):

1) cloned the git repo for the community edition: git clone git://git.jetbrains.org/idea/community.git idea
2) ant build
3) cd out/artifacts/
4) tar  xvzf idea-IC-90.SNAPSHOT.tar.gz
5) cd idea-IC-90.SNAPSHOT/bin
6) ./idea.sh
7) open plugin manager
8) download scala plugin
9) restart idea
10) open scala project
11) Profit

Re: [scala-tools] IDEA Scala plugin

by Silvio Bierman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That sounds plausible (and quite impressive) for Linux but I am running this on Vista. I downloaded IDEA CE and installed it. The only way to get the Scala plugin is then to use the Plugin Manager that will search no more than some predefined list of plugin sources. It comes up with the 2.7.x variant of the Scala plugin but that is no good to me. I can (and have) download(ed) the current build which supports 2.8 but there is no way to tell Idea where to look for it. Seems like the only option is to wait until the standard repo upgrades.

I find it hard to believe that the PM can not be redirected like the Eclipse one can. Seems so very inflexible that there must be a trick.

Gr. Silvio

Re: [scala-tools] IDEA Scala plugin

by Ricky Clarkson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Look in Settings, under Updates.  You can add plugin hosts.  I've only
checked this on Maia, not on CE.

2009/10/30 Silvio Bierman <sbierman@...>:

>
> That sounds plausible (and quite impressive) for Linux but I am running this
> on Vista. I downloaded IDEA CE and installed it. The only way to get the
> Scala plugin is then to use the Plugin Manager that will search no more than
> some predefined list of plugin sources. It comes up with the 2.7.x variant
> of the Scala plugin but that is no good to me. I can (and have) download(ed)
> the current build which supports 2.8 but there is no way to tell Idea where
> to look for it. Seems like the only option is to wait until the standard
> repo upgrades.
>
> I find it hard to believe that the PM can not be redirected like the Eclipse
> one can. Seems so very inflexible that there must be a trick.
>
> Gr. Silvio
>
> --
> View this message in context: http://old.nabble.com/-scala-tools--IDEA-Scala-plugin-tp26086506p26128963.html
> Sent from the Scala - Tools mailing list archive at Nabble.com.
>
>



--
Ricky Clarkson
Java and Scala Programmer, AD Holdings
+44 1565 770804
Skype: ricky_clarkson
Google Talk: ricky.clarkson@...
Google Wave: ricky.clarkson@...

Re: [scala-tools] IDEA Scala plugin

by Ismael Juma :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-10-30 at 05:07 -0700, Silvio Bierman wrote:
> That sounds plausible (and quite impressive) for Linux but I am running this
> on Vista. I downloaded IDEA CE and installed it. The only way to get the
> Scala plugin is then to use the Plugin Manager that will search no more than
> some predefined list of plugin sources. It comes up with the 2.7.x variant
> of the Scala plugin but that is no good to me. I can (and have) download(ed)
> the current build which supports 2.8 but there is no way to tell Idea where
> to look for it.

You can just extract it in the plugins folder.

Best,
Ismael


Re: [scala-tools] IDEA Scala plugin

by Silvio Bierman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Ismael Juma wrote:
You can just extract it in the plugins folder.
Well, that worked great. IDEA listed it as available but not enabled. Just had to check the enabled flag and it works.

Thanks a lot.

Gr. Silvio

Re: [scala-tools] IDEA Scala plugin

by Silvio Bierman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, not exactly. It worked for the same version of the plugin but the current build remains disabled and is listed in red meaning that it is incompatible with the current version of IDEA.

Gr. Silvio

Re: [scala-tools] IDEA Scala plugin

by Ilya Sergey (JetBrains) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

I just want to remind, that excep plugin repository, actual Scala plugin versions may be downloaded from
http://www.jetbrains.net/confluence/display/SCA/Scala+Plugin+Nightly+Builds
where you may compare your IDEA version with the one supported by the last plugin build.
An here
http://www.jetbrains.net/confluence/display/SCA/How+to+build+Scala+plugin+for+IntelliJ+IDEA+from+scratch
we have some advices on how to build plugin and install it which is also applicable for nightly builds.

Cheers!
Ilya

2009/10/30 Silvio Bierman <sbierman@...>

Well, not exactly. It worked for the same version of the plugin but the
current build remains disabled and is listed in red meaning that it is
incompatible with the current version of IDEA.

Gr. Silvio

--
View this message in context: http://old.nabble.com/-scala-tools--IDEA-Scala-plugin-tp26086506p26129535.html
Sent from the Scala - Tools mailing list archive at Nabble.com.


!DSPAM:52,4aeae0f7182722090119686!



Re: [scala-tools] IDEA Scala plugin

by Silvio Bierman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Ilya Sergey (JetBrains) wrote:
Hi.

I just want to remind, that excep plugin repository, actual Scala plugin
versions may be downloaded from
http://www.jetbrains.net/confluence/display/SCA/Scala+Plugin+Nightly+Builds
where you may compare your IDEA version with the one supported by the last
plugin build.
That is where I got the plugin build but I do not see any information on which IDEA version is supported is supported by which build.

Ilya Sergey (JetBrains) wrote:
An here
http://www.jetbrains.net/confluence/display/SCA/How+to+build+Scala+plugin+for+IntelliJ+IDEA+from+scratch
we have some advices on how to build plugin and install it which is also
applicable for nightly builds.
Yes, I found that page earlier. But I skipped the building part since I can download builds from the previous page and the build process there is not very practical for a Windows user. I do not know what git is and I do not have an Ant version hat I can run from the command line, only Ants embedded in IDEA and Eclipse.

But the part about unzipping in the plugin folder that is mentioned there is what is failing here. IDEA sees the plugin but lists it as an incompatible version.

Is IDEA CE not the latest IDEA version and is that why the plugin does not match? I knew that CE is lacking some functionality (which I don't need) but was under the impression that it is a recent version.

Gr. Silvio

Re: [scala-tools] IDEA Scala plugin

by Ilya Sergey (JetBrains) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If the plugin version you have now is grayed in IDEA I'd recommend you to check its version (Help -> About in IntelliJ menu). There you may see the build number. The last stable one is 90.122 and the right column on the nightly builds' page contains this information about a compatible IDEA version.

Cheers!
Ilya

2009/10/31 Silvio Bierman <sbierman@...>



Ilya Sergey (JetBrains) wrote:
>
> Hi.
>
> I just want to remind, that excep plugin repository, actual Scala plugin
> versions may be downloaded from
> http://www.jetbrains.net/confluence/display/SCA/Scala+Plugin+Nightly+Builds
> where you may compare your IDEA version with the one supported by the last
> plugin build.
>

That is where I got the plugin build but I do not see any information on
which IDEA version is supported is supported by which build.


Ilya Sergey (JetBrains) wrote:
>
> An here
> http://www.jetbrains.net/confluence/display/SCA/How+to+build+Scala+plugin+for+IntelliJ+IDEA+from+scratch
> we have some advices on how to build plugin and install it which is also
> applicable for nightly builds.
>

Yes, I found that page earlier. But I skipped the building part since I can
download builds from the previous page and the build process there is not
very practical for a Windows user. I do not know what git is and I do not
have an Ant version hat I can run from the command line, only Ants embedded
in IDEA and Eclipse.

But the part about unzipping in the plugin folder that is mentioned there is
what is failing here. IDEA sees the plugin but lists it as an incompatible
version.

Is IDEA CE not the latest IDEA version and is that why the plugin does not
match? I knew that CE is lacking some functionality (which I don't need) but
was under the impression that it is a recent version.

Gr. Silvio

--
View this message in context: http://old.nabble.com/-scala-tools--IDEA-Scala-plugin-tp26086506p26138932.html
Sent from the Scala - Tools mailing list archive at Nabble.com.


!DSPAM:52,4aeb8e60318475786344116!



[scala-tools] Problems with ScalaTest (Scala 2.8)

by phkoester :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Now that I finished reading ``Programming in Scala," I wanted to go
ahead and have a good look at ScalaTest. I'm using Eclipse with the
latest nightly of the Scala IDE, which uses Scala library 2.8.0.r19360.
The version of the ScalaTest Maven artifact is 1.0-for-scala-2.8.0-SNAPSHOT.

This is my test class, and it compiles fine:

class MyTest extends AssertionsForJUnit {
        @Test
        def testEqEqEq() {
                val buf = new StringBuilder("ScalaTest is ")
                buf.append("fun!")
                assert(buf.toString === "ScalaTest is funx!")
        }
}

Naturally, the `===' comparison fails here, and when it does so I get this:

java.lang.NoClassDefFoundError: scala/collection/VectorLike
        at org.scalatest.Assertions$Equalizer.$eq$eq$eq(Assertions.scala:247)
        . . .

I looked around in my Scala library, and indeed there is no
`scala.collection.VectorLike', not even in any other package.

So what gives?

---Ph.


Re: [scala-tools] Problems with ScalaTest (Scala 2.8)

by Ismael Juma :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 2009-11-01 at 20:08 +0100, Philip Köster wrote:
> I looked around in my Scala library, and indeed there is no
> `scala.collection.VectorLike', not even in any other package.
>
> So what gives?

You need to compile ScalaTest with trunk. The snapshot used to compile
the binary you used is too old for the library used by the Eclipse
plugin for Scala.

Best,
Ismael

< Prev | 1 - 2 | Next >