IntelliScala plugin released

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

IntelliScala plugin released

by Eugene Vigdorchik (JetBrains) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello All,

We've released the plugin for Scala version 0.1. You can find it in the plugin repository available directly in IntelliJ.
The feature highlights are as follows: syntax highlighting, formatting, parsing errors highlighting, folding, surround with, file
structure outline, keyword completion, goto class, compilation (with no dependent files calculation yet), debugging, cross-language
resolve of types/find usages/rename of classes and traits.
Hope you find this plugin useful.

Enjoy,
Scala plugin development team


Re: IntelliScala plugin released

by Warren Henning :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 3/1/07, Eugene Vigdorchik <ven@...> wrote:
> We've released the plugin for Scala version 0.1. You can find it in the plugin repository available directly in IntelliJ.

JetBrains earns mega karma points for doing this. Extremely cool.

I'm not an IntelliJ IDEA user, but this might force me to download a
demo and see what all the fuss is about.

Warren

Re: IntelliScala plugin released

by Henrik Huttunen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello!

> Hope you find this plugin useful.
Haven't tried it yet, and what else can I say than 'I've always wanted
this!'.
IntelliJ and Eclipse were the most important reasons I had to stick with
Java. Eventually I got tired of Java, and have been using Scala since.
Luckily interactive interpreter helps in developing, but there's much
potential left for a Scala IDE, and you are doing a wonderful thing for
the future of Scala.

So thank you!

- Henrik

--
Scalad - a salad of Scala abstractions:
http://users.utu.fi/hvkhut/scalad/scalad.htm


Re: IntelliScala plugin released

by Burak Emir-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Eugene,

great news! Just a couple of questions: Does your syntax highlighting support XML expressions? And embedded Scala expressions within XML expressions? And XML expressions within Scala expressions with ... ok I should stop here :)

This is a feature I would deem important but that so far did not have high priority for our Scala-Eclipse plugin development team ;-)...

It would be helpful if your core team communicated any troubles/wishlists related to Scala debugging, I suspect there is probably quite some overlap with problems and solutions for debugging in Eclipse? IMHO our build and regression test system for Scala makes it impractical to use an IDE for my own (compiler+library) development (although the compiler is written in Scala!), but debugging is so important to me that it may justify an overhaul of the build process.

What is your stance on Scala compiler releases? Is it easy to upgrade to a newer version of the compiler/distribution without having to update the plugin (even if it's a hack)? Or does the plugin have to evolve lock-step with Scala releases?

Thanks + keep up the good work. Cheers,
Burak
 
On 3/1/07, Eugene Vigdorchik <ven@...> wrote:
Hello All,

We've released the plugin for Scala version 0.1. You can find it in the plugin repository available directly in IntelliJ.
The feature highlights are as follows: syntax highlighting, formatting, parsing errors highlighting, folding, surround with, file
structure outline, keyword completion, goto class, compilation (with no dependent files calculation yet), debugging, cross-language
resolve of types/find usages/rename of classes and traits.
Hope you find this plugin useful.

Enjoy,
Scala plugin development team




--
Burak Emir
Research Assistant / PhD Candidate
Programming Methods Group
EPFL, 1015 Lausanne, Switzerland
http://lamp.epfl.ch/~emir

Re: IntelliScala plugin released

by tmorris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nice one Eugene. Are you soliciting feedback?
Also, what does it mean to "setup Scala SDK"? I've clicked every button
I can think of to attempt to do this and searched for documentation, to
no avail.

Tony Morris
http://tmorris.net/



Eugene Vigdorchik wrote:

> Hello All,
>
> We've released the plugin for Scala version 0.1. You can find it in the plugin repository available directly in IntelliJ.
> The feature highlights are as follows: syntax highlighting, formatting, parsing errors highlighting, folding, surround with, file
> structure outline, keyword completion, goto class, compilation (with no dependent files calculation yet), debugging, cross-language
> resolve of types/find usages/rename of classes and traits.
> Hope you find this plugin useful.
>
> Enjoy,
> Scala plugin development team
>
>


signature.asc (198 bytes) Download Attachment

Re: IntelliScala plugin released

by Ryan Daum :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eugene Vigdorchik <ven <at> jetbrains.com> writes:

>
> Hello All,
>
> We've released the plugin for Scala version 0.1. You can find it in the plugin
repository available

>
> Enjoy,
> Scala plugin development team

Excellent work!  I'm playing with this right now; it's too bad it doesn't work
for IntelliJ 6, because build #6733 of Selena has some unfortunate
instabilities.  But this plugin is great.  

One question: the project view shows me call my classes, not my source files;
which in most cases is fine, but not really for case classes.  Imagine a source
tree with hundreds of case classes used for an AST or some other treewalker; the
directory tree in the project view becomes very difficult to navigate.  Is it
possible that perhaps case classes should be placed as items hierarchically
underneath their parent class?

Also... is the Scala plugin written in Scala?

Ryan


RE: IntelliScala plugin released

by Eugene Vigdorchik (JetBrains) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Burak,
 
Thank you for good words on our work! No, we do not support XML literals yet, though doing it would not be too hard provided the support for injecting other languages
IntelliJ already offers.
Indeed debugging integration is not so smooth I wanted it to be mainly because of the name mangling Scala uses. But recently Julian explained the code generation scheme to me, so it should be now pretty straightforward to extend IDEA core debugging API and implement it from Scala side.
The language evolution is going to be the most pain for us: since we are not going to rely on scalac for getting type system (own implementation of AST/type system is needed for advanced code manipulation features), we'll have to update accordingly when the language changes. So, yes, we'll need to update stepwise, and the more massive language changes you will introduce, the more time it will take us to gain on.
 
Eugene.
Hi Eugene,

great news! Just a couple of questions: Does your syntax highlighting support XML expressions? And embedded Scala expressions within XML expressions? And XML expressions within Scala expressions with ... ok I should stop here :) 
  
It would be helpful if your core team communicated any troubles/wishlists related to Scala debugging, I suspect there is probably quite some overlap with problems and solutions for debugging in Eclipse? IMHO our build and regression test system for Scala makes it impractical to use an IDE for my own (compiler+library) development (although the compiler is written in Scala!), but debugging is so important to me that it may justify an overhaul of the build process.

What is your stance on Scala compiler releases? Is it easy to upgrade to a newer version of the compiler/distribution without having to update the plugin (even if it's a hack)? Or does the plugin have to evolve lock-step with Scala releases?

Thanks + keep up the good work. Cheers,
Burak
 
On 3/1/07, Eugene Vigdorchik <ven@...> wrote:
Hello All,

We've released the plugin for Scala version 0.1. You can find it in the plugin repository available directly in IntelliJ.
The feature highlights are as follows: syntax highlighting, formatting, parsing errors highlighting, folding, surround with, file
structure outline, keyword completion, goto class, compilation (with no dependent files calculation yet), debugging, cross-language
resolve of types/find usages/rename of classes and traits.
Hope you find this plugin useful.

Enjoy,
Scala plugin development team




--
Burak Emir
Research Assistant / PhD Candidate
Programming Methods Group
EPFL, 1015 Lausanne, Switzerland
http://lamp.epfl.ch/~emir

RE: IntelliScala plugin released

by Eugene Vigdorchik (JetBrains) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Tony,

You should add scala sdk in project roots tab in Settings just like you add ordinary java sdk. Also note that the plugin supports
mixed scala+java projects (even with a fusion of languages in one module, actually this is how scala plugin itself is structured),
so you'll need to set up java sdk aggregated by Scala one.

Eugene.

> Nice one Eugene. Are you soliciting feedback?
> Also, what does it mean to "setup Scala SDK"? I've clicked
> every button I can think of to attempt to do this and
> searched for documentation, to no avail.
>
> Tony Morris
> http://tmorris.net/


RE: IntelliScala plugin released

by Eugene Vigdorchik (JetBrains) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Ryan,

Yes, we should think of a more moderate way to display classes in project view, say, display a node for a file itself when there are
more than 5 toplevel classes in it.
Meanwhile you can use speedsearch to quickly find desired class.

> One question: the project view shows me call my classes, not
> my source files; which in most cases is fine, but not really
> for case classes.  Imagine a source tree with hundreds of
> case classes used for an AST or some other treewalker; the
> directory tree in the project view becomes very difficult to
> navigate.  Is it possible that perhaps case classes should be
> placed as items hierarchically underneath their parent class?
>
> Also... is the Scala plugin written in Scala?

Yes, in a mix of Scala and Java.

>
> Ryan
>

Regards,
Eugene.


Re: IntelliScala plugin released

by Chris Kent :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Great news, I've been looking forward to this since it was first announced. I'm a massive fan of IDEA and wasn't enjoying switching to Eclipse for Scala development.

The editing and highlighting is working fine and I'm probably being dumb but I can't figure out a way to run or debug Scala code. There's no Scala configuration in the list in the run / debug dialog so I've tried using a Java configuration. But the run dialog complains that there's no main method in the class (I've tried objects with main methods and objects that extend Application, both of which work in Eclipse). When I run it the only thing in the console is a ClassNotFoundException. Anyone have any suggestions?

I also can't see any class files in the output directory and there are no messages in the message window to say that something has failed. Compilation completes instantly and the status bar has a message that says "Compilation completed successfully". I don't know if it makes a difference but I'm using Java 1.4.2 because when you're setting up a Scala project it ignores the Java JDK you select and always uses the first one in the list.

Anyway, enough of the problems. It's looking good so far and I can't wait until version 0.2.
Chris

Eugene Vigdorchik-2 wrote:
Hello All,

We've released the plugin for Scala version 0.1. You can find it in the plugin repository available directly in IntelliJ.
The feature highlights are as follows: syntax highlighting, formatting, parsing errors highlighting, folding, surround with, file
structure outline, keyword completion, goto class, compilation (with no dependent files calculation yet), debugging, cross-language
resolve of types/find usages/rename of classes and traits.
Hope you find this plugin useful.

Enjoy,
Scala plugin development team