[scala-tools] IntelliJ IDEA goes free + new Scala plugin

View: New views
8 Messages — Rating Filter:   Alert me  

[scala-tools] IntelliJ IDEA goes free + new Scala plugin

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

Reply to Author | View Threaded | Show Only this Message

Hi all.

Since today IntelliJ IDEA is available as an open-source IDE in the Community Edition at http://jetbrains.org. The actual build of Scala plugin is may be downloaded from the nigthly build page:
http://www.jetbrains.net/confluence/display/SCA/Scala+Plugin+Nightly+Builds
Keep in touch!

With best regards,
Ilya Sergey

Re: [scala-tools] IntelliJ IDEA goes free + new Scala plugin

by bearfeeder :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Awesome!

On Thu, Oct 15, 2009 at 9:13 AM, Ilya Sergey <ilya.sergey@...> wrote:
Hi all.

Since today IntelliJ IDEA is available as an open-source IDE in the Community Edition at http://jetbrains.org. The actual build of Scala plugin is may be downloaded from the nigthly build page:
http://www.jetbrains.net/confluence/display/SCA/Scala+Plugin+Nightly+Builds
Keep in touch!

With best regards,
Ilya Sergey



--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

Re: [scala-tools] IntelliJ IDEA goes free + new Scala plugin

by Miles Sabin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Oct 15, 2009 at 5:13 PM, Ilya Sergey <ilya.sergey@...> wrote:
> Since today IntelliJ IDEA is available as an open-source IDE in the
> Community Edition at http://jetbrains.org. The actual build of Scala plugin
> is may be downloaded from the nigthly build page:
> http://www.jetbrains.net/confluence/display/SCA/Scala+Plugin+Nightly+Builds
> Keep in touch!

Three open-source zero-cost Scala IDE's is better than two :-)

Cheers,


Miles

--
Miles Sabin
tel: +44 (0)7813 944 528
skype:  milessabin
http://www.chuusai.com/
http://twitter.com/milessabin

[scala-tools] Re: IntelliJ IDEA goes free + new Scala plugin

by Jesper Nordenberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ilya Sergey wrote:
 > Since today IntelliJ IDEA is available as an open-source IDE in the
 > Community Edition at http://jetbrains.org. The actual build of Scala
 > plugin is may be downloaded from the nigthly build page:
 >
http://www.jetbrains.net/confluence/display/SCA/Scala+Plugin+Nightly+Builds
 > Keep in touch!

Superb news. I've been a fan of IDEA since the first release, you've
always been one step ahead of the competition. Open sourcing the product
can only help accelerate the progress.

/Jesper Nordenberg


Re: [scala-tools] IntelliJ IDEA goes free + new Scala plugin

by Christos KK Loverdos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Excellent news!!!

FWIW, the moment I discovered IDEA, there was no other choice for me as far as Java development is concerned. This IDE is truly made for productivity. I have also been doing my Scala coding there almost exclusively lately. 

With all three IDE platforms now open-source, power is unleashed.


On Oct 15, 2009, at 19:13, Ilya Sergey wrote:

Hi all.

Since today IntelliJ IDEA is available as an open-source IDE in the Community Edition at http://jetbrains.org. The actual build of Scala plugin is may be downloaded from the nigthly build page:
http://www.jetbrains.net/confluence/display/SCA/Scala+Plugin+Nightly+Builds
Keep in touch!

With best regards,
Ilya Sergey

Just keep up the excellent work!

Christos

-- 
   __~O
  -\ <,       Christos KK Loverdos
(*)/ (*)      http://ckkloverdos.com







Parent Message unknown [scala-tools] Re: [scala-user] IntelliJ IDEA goes free + new Scala plugin

by Mohamed Bana-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i had to uswe

  /home/mbana/IDEA/idea-IC-90.94/config/plugins

it wasn't picking it up in

  $HOME/.IntelliJIdea90/config/plugins


thanks

Gordon Tyler wrote:

> Download zip, open it up, copy Scala folder to
> $HOME/.IntelliJIdea90/config/plugins
>
> Daniel Sobral wrote:
>> How do I get the nightly installed? Google is failing me...
>>
>> On Thu, Oct 15, 2009 at 1:13 PM, Ilya Sergey
>> <ilya.sergey@... <mailto:ilya.sergey@...>> wrote:
>>
>>     Hi all.
>>
>>     Since today IntelliJ IDEA is available as an open-source IDE in the
>>     Community Edition at http://jetbrains.org <http://jetbrains.org/>.
>>     The actual build of Scala plugin is may be downloaded from the
>>     nigthly build page:
>>    
>> http://www.jetbrains.net/confluence/display/SCA/Scala+Plugin+Nightly+Builds 
>>
>>     Keep in touch!
>>
>>     With best regards,
>>     Ilya Sergey
>>
>>
>>
>>
>> --
>> Daniel C. Sobral
>>
>> Something I learned in academia: there are three kinds of academic
>> reviews: review by name, review by reference and review by value.
>

Parent Message unknown [scala-tools] Re: [scala-user] IntelliJ IDEA goes free + new Scala plugin

by David Biesack :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Date: Fri, 16 Oct 2009 15:07:16 +1100
> From: Alan Kent <ALAN.J.KENT@...>
>
> David J. Biesack wrote:
> >> Download zip, open it up, copy Scala folder to $HOME/.IntelliJIdea90/config/plugins
> >>    
> >
> > It appears one must use this nightly
> >
> >   http://download.jetbrains.com/scala/scala-intellij-bin-0.3.20.zip
>
>
> Others have reported problems - I used the one above and got it to
> work.  [...]
>
> But I seriously suggest JetBrains put up a short instruction page pretty
> darn quickly.

agreed.

>  I get the editor up, try to do things.  I know the plugin
> is there (I can see all the classes in the navigation view), but I have
> not yet worked out how to run my code.  "Error in running Scala Console:
> Module is not specified".  (Where do I specify it?  No idea!)  

I was able to create a new Scala project with a main method
and run it as an Application - don't use Scala console; that
just brings up the Scala REPL.

> I have a
> Maven built project that I imported.  It took a few tries to work out
> how to get it in (little things like a typo in the directory name caused
> it silently to do nothing when hitting the "Next>" button - caused
> confusion until I noticed the typo).
>
> I was trying to see how it reported errors.  I introduced an error into
> the code, but get no error messages coming up.  Something I read
> indicated it does not do incremental compile, only when required (e.g.
> when running code).  As I cannot run the code, I am stuck then for now.  
> (I cannot see any error messages.)

I was not able to import an existing Scala project into IDEA
and get it to work. It found my source and detected a Scala
facet and I can edit Scala files with syntax highlighting, etc.
but the entire Scala library was unknown

  Cannot resolve symbol List
  Cannot resolve symbol Array

and so on. When I try to compile/make/rebuild my project I get

Information: 1 error
Error: Internal error (Plugin: org.intellij.scala): null

(see tb below)

This is a Maven project; the Project Structure appear to list the
scala-library.jar:2.7.6-final dependencies, but it just cannot resolve
any symbols. I also tried to add scala-library.jar explicitly
and the plugin just does not seem to find it. I'm new to IDEA,
so I don't know if I'm performing the right steps.

> Alan

here's the traceback I got on building:

[Plugin: org.intellij.scala]:  [Plugin: org.intellij.scala]
com.intellij.diagnostic.PluginException:  [Plugin: org.intellij.scala]
        at com.intellij.compiler.impl.CompileDriver.doCompile(CompileDriver.java:453)
        at com.intellij.compiler.impl.CompileDriver.access$700(CompileDriver.java:96)
        at com.intellij.compiler.impl.CompileDriver$6.run(CompileDriver.java:379)
        at com.intellij.compiler.progress.CompilerTask.run(CompilerTask.java:136)
        at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:412)
        at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:190)
        at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:214)
        at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:181)
        at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:327)
        at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:335)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
        at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:126)
Caused by: java.lang.AssertionError
        at org.jetbrains.plugins.scala.compiler.ScalacBackendCompiler.createStartupCommandImpl(ScalacBackendCompiler.java:322)
        at org.jetbrains.plugins.scala.compiler.ScalacBackendCompiler.access$000(ScalacBackendCompiler.java:49)
        at org.jetbrains.plugins.scala.compiler.ScalacBackendCompiler$2.run(ScalacBackendCompiler.java:207)
        at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:696)
        at org.jetbrains.plugins.scala.compiler.ScalacBackendCompiler.createStartupCommand(ScalacBackendCompiler.java:204)
        at com.intellij.compiler.impl.javaCompiler.ExternalCompiler.launchProcess(ExternalCompiler.java:50)
        at com.intellij.compiler.impl.javaCompiler.BackendCompilerWrapper.doCompile(BackendCompilerWrapper.java:500)
        at com.intellij.compiler.impl.javaCompiler.BackendCompilerWrapper.compileChunk(BackendCompilerWrapper.java:256)
        at com.intellij.compiler.impl.javaCompiler.BackendCompilerWrapper.compileModules(BackendCompilerWrapper.java:235)
        at com.intellij.compiler.impl.javaCompiler.BackendCompilerWrapper.compile(BackendCompilerWrapper.java:117)
        at org.jetbrains.plugins.scala.compiler.ScalaCompiler.compile(ScalaCompiler.java:96)
        at com.intellij.compiler.impl.CompileDriver.compileSources(CompileDriver.java:1423)
        at com.intellij.compiler.impl.CompileDriver.translate(CompileDriver.java:888)
        at com.intellij.compiler.impl.CompileDriver.doCompile(CompileDriver.java:672)
        at com.intellij.compiler.impl.CompileDriver.doCompile(CompileDriver.java:438)
        ... 16 more

--
David J. Biesack, SAS
SAS Campus Dr. Cary, NC 27513
www.sas.com    (919) 531-7771

Parent Message unknown [scala-tools] Re: [scala-user] IntelliJ IDEA goes free + new Scala plugin

by David Biesack :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> David J. Biesack wrote:
> I was not able to import an existing Scala project into IDEA
> and get it to work. It found my source and detected a Scala
> facet and I can edit Scala files with syntax highlighting, etc.
> but the entire Scala library was unknown
>
>   Cannot resolve symbol List
>   Cannot resolve symbol Array
>
> and so on.

I got this to work; it require several changes. Rather than use the
Project Structure > Modules > Dependencies:

1) In the Project Structure, select Libraries in the left panel and add a new library
   IDEA does not seem to allow adding just a jar, so I used Attach Jar Directories
   and selected my Scala lib c:\dev\scala\current\lib

2) in the Project Structure Facets , select Scala and change
   the Scala compiler and SDK library paths to my installed Scala
   I probably would not need this if step 1 used the scala-library.jar
   from the IDEA Scala plugin, but I want to use a specific version
   of Scala.

3) in Project Structure > Modules, I selected my module and in Sources
   added my Scala source subdirectory. I use Source\Java for Java source,
   Source\Scala for Scala source.

I was then able to rebuild my project (no compile errors; it took a while;
75 .scala files, 700+ classes) and run it as an Application, using my module's
classpath.

--
David J. Biesack, SAS
SAS Campus Dr. Cary, NC 27513
www.sas.com    (919) 531-7771