This Question is Answered

2 "helpful" answers available (2 pts)
24 Replies Last post: May 7, 2008 1:28 PM by Peter Morelli  
Colin Fleming Apprentice 558 posts since
Dec 30, 2004
Currently Being Moderated

Apr 17, 2007 3:29 AM

Working with the Scala plugin source

Hi all,

 

I'm not sure if this should be here or in plugins. I downloaded the source code to the Scala plugin, I'm getting interested in Scala and a language plugin I'm working on seems like it might be a good project to learn with. I'm having trouble setting up the plugin project, the plugin requires the IntelliJ JDK but the Scala files require the Scala JDK. Is there something obvious I'm missing with setting this up?

 

Cheers,

Colin

Eugene Vigdorchik Master 3,735 posts since
Feb 26, 2003
Currently Being Moderated
Apr 17, 2007 6:56 PM in response to: Colin Fleming
Re: Working with the Scala plugin source

Scala SDK encapsulates Java sdk or IDEA sdk. Just add the latter, and you'll be done.

Eugene Vigdorchik Master 3,735 posts since
Feb 26, 2003
Currently Being Moderated
Apr 17, 2007 9:45 PM in response to: Colin Fleming
Re: Working with the Scala plugin source

We are working on this plugin in the background, the mainstream activities of Scala plugin developers are now related to developing Groovy plugin. Still the work on resolve is slow but gradually progressing.

Benjamin Cox Newbie 1 posts since
Sep 19, 2003
Currently Being Moderated
Jun 14, 2007 2:09 AM in response to: Colin Fleming
Re: Working with the Scala plugin source

I haven't been able to get to the point of compiling Scala files - it says the Scala SDK is required.  Using the IDEA SDK that came with 7.0m1 didn't work either.

 

When I hit compile it says:

 

"  Cannot compile scala files.

  Please set up Scala sdk"

 

When I try to add the IDEA sdk as a Scala SDK, it says:

 

"  The directory selected is not a valid home for Scala SDK"

 

Sounds like there's another step I'm missing somewhere?

 

Thanks,

 

  Ben

Eugene Vigdorchik Master 3,735 posts since
Feb 26, 2003
Currently Being Moderated
Jun 16, 2007 9:14 PM in response to: Benjamin Cox
Re: Working with the Scala plugin source

Download scala and point to this directory when setting up Scala SDK.

Eugene Vigdorchik Master 3,735 posts since
Feb 26, 2003
Currently Being Moderated
Jun 18, 2007 11:52 PM in response to: Colin Fleming
Re: Working with the Scala plugin source

There is currently no active work on Scala plugin. Taking into account the rapid changes that Scala language undergoes (e.g existential types), it does not seem feasible and worth trying to follow EPFL guys. Though it is much fun, it has really little business value.

Eugene Vigdorchik Master 3,735 posts since
Feb 26, 2003
Currently Being Moderated
Jun 19, 2007 6:15 PM in response to: Colin Fleming
Re: Working with the Scala plugin source

Don't get me wrong, I'm also excited with Scala. But it is too research oriented and we just cannot be on par with its inventors when it comes to implementing support IDEA-style, that requires much more work than compiler that is itself I believe a piece of art.

Peter Morelli Novice 185 posts since
Aug 25, 2002
Currently Being Moderated
Aug 3, 2007 11:36 PM in response to: Eugene Vigdorchik
Re: Working with the Scala plugin source

too bad. scala is very interesting.

Ryan Daum Newbie 1 posts since
May 5, 2006
Currently Being Moderated
Sep 10, 2007 8:20 AM in response to: Eugene Vigdorchik
Re: Working with the Scala plugin source

This is very sad, I had very high hopes for the Scala plugin for IDEA. 

 

Personally, I would pay for it, as I'm sure others out there would, too.

 

Also, there's no necessity for it to support existential types right away.. syntax hilighting, indent, navigation, and simple refactoring would be sufficient to start!

Alex Zuzin Newbie 1 posts since
Feb 24, 2008
Currently Being Moderated
Feb 24, 2008 9:00 PM in response to: Eugene Vigdorchik
Re: Working with the Scala plugin source

Trying to compile the current state in IntelliJ 7.0.2, the project seems to be missing com.intellij.openapi.roots.impl.libraries.ProjectLibraryTable and several other classes from the OpenAPI. Is it that I'm missing something?

 

Two unrelated questions:

a) have you considered open sourcing the Scala plug-in so the community can continue on it?

b) is there an example of a Module-level plug-in of a reasonable level of complexity (Rails or Grails, eg) that can get one on a LiftWeb plug-in?

Eugene Vigdorchik Master 3,735 posts since
Feb 26, 2003
Currently Being Moderated
Feb 24, 2008 10:48 PM in response to: Alex Zuzin
Re: Working with the Scala plugin source

Trying to compile the current state in IntelliJ

7.0.2, the project seems to be missing

*com.intellij.openapi.roots.impl.libraries.ProjectLi

braryTable* and several other classes from the

OpenAPI. Is it that I'm missing something?

We use closed api alot, so please add idea.jar to your idea sdk

 

Two unrelated questions:

a) have you considered open sourcing the Scala

plug-in so the community can continue on it?

It is open source, you may download the source from http://svn.jetbrains.org/idea/BRANCHES/scala/scala-stable, we also continue (actually rewriting now) to develop scala plugin for 8.0

b) is there an example of a Module-level plug-in of a

reasonable level of complexity (Rails or Grails, eg)

that can get one on a LiftWeb plug-in?

I'm not sure what you mean by module-level, but both ruby/rails and groovy/grails

plugins are open-source

 

Eugene.

Peter Morelli Novice 185 posts since
Aug 25, 2002
Currently Being Moderated
Mar 6, 2008 4:16 AM in response to: Eugene Vigdorchik
Re: Working with the Scala plugin source

great news. when's the first eap? ;o)

 

a blog post about it would be cool, maybe cross-posted to one of the scala blogs.

behlma  Newbie 10 posts since
Mar 13, 2008
Currently Being Moderated
Mar 13, 2008 3:00 PM in response to: Eugene Vigdorchik
Re: Working with the Scala plugin source

Scala! Scala! When's the EAP coming out? Keep us informed, please!

Peter Morelli Novice 185 posts since
Aug 25, 2002
Currently Being Moderated
Mar 22, 2008 1:45 AM in response to: behlma
Re: Working with the Scala plugin source

EAP is out, is the scala code in there?

Guest
Currently Being Moderated
Mar 22, 2008 11:57 AM in response to: Peter Morelli
Re: Working with the Scala plugin source

Hello Peter,

 

EAP is out, is the scala code in there?

 

No. The Scala plugin is still developed independently, and still is in a

too early stage to be released.

 

If you really want to check it out, it's at http://svn.jetbrains.org/idea/Trunk/scala

 

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

 

 

 

Peter Morelli Novice 185 posts since
Aug 25, 2002
Currently Being Moderated
Mar 24, 2008 7:09 PM in response to: Dmitry Jemerov
Re: Working with the Scala plugin source

ok, I might check it out, thx.

 

So, a few questions:

 

1. What version of scala are you targeting?

2. What's the timeframe?

3. Will it be in 8.0 as an officially supported language?

4. What features are you planning? Scala has a lot of language features, it'll be interesting to see how they integrate with the intellij tool set.

 

I guess 2-4 could be combined into a roadmap.

 

Thanks for doing this, I think scala will be increasingly popular.

 

Heh, you should get david pollack to do a lift plugin, too.

Guest
Currently Being Moderated
Mar 24, 2008 7:42 PM in response to: Peter Morelli
Re: Working with the Scala plugin source

Hello Peter,

 

We can't really tell much about this, sorry. The work is still pretty much

exploratory, and all the answers depend on what the exploration will lead

to. Given the very high complexity of the language, it's far from certain

that the Scala plugin will be full-featured and production quality by the

time of IDEA 8.0 release.

 

ok, I might check it out, thx.

 

So, a few questions:

 

1. What version of scala are you targeting?

 

2. What's the timeframe?

 

3. Will it be in 8.0 as an officially supported language?

 

4. What features are you planning? Scala has a lot of language

features, it'll be interesting to see how they integrate with the

intellij tool set.

 

I guess 2-4 could be combined into a roadmap.

 

Thanks for doing this, I think scala will be increasingly popular.

 

Heh, you should get david pollack to do a

lift plugin, too.

 

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

 

 

 

Peter Morelli Novice 185 posts since
Aug 25, 2002
Currently Being Moderated
Mar 25, 2008 3:09 AM in response to: Dmitry Jemerov
Re: Working with the Scala plugin source

ok, thanks for the update. Keep us posted.

 

Have you guys contacted the Scala maintainers? I'm sure they'd be happy to provide help...

Peter Morelli Novice 185 posts since
Aug 25, 2002
Currently Being Moderated
Apr 13, 2008 11:28 PM in response to: Dmitry Jemerov
Re: Working with the Scala plugin source

someone asking about the scala plugin for intellij on the scala tools list, some second hand back and forth there, you may want to directly comment.

 

http://www.nabble.com/IntelliJ-Support-for-Scala--td16540407.html

 

here's the link I found it in...

 

Netbeans working on scala:

 

http://blogtrader.net/page/dcaoyuan/entry/writing_ide_is_writing_parser

Peter Morelli Novice 185 posts since
Aug 25, 2002
Currently Being Moderated
May 7, 2008 1:28 PM in response to: Dmitry Jemerov
Re: Working with the Scala plugin source

good news on scala language stability, from its creator

 

http://www.nabble.com/-scalaRisks-of-using-Scala-in-a-large-applicationto17097144.html#a17097913

More Like This

  • Retrieving data ...