This page is no longer maintained — Please continue to the home page at www.scala-lang.org

[netbeans] Scala Plugin

28 replies
Tomygun
Joined: 2008-11-27,
User offline. Last seen 3 years 48 weeks ago.
Hi everyone,

Over at the scala tools we were wondering with some people about the status of the Scala plugin for Netbeans.

We would like to have as much IDE support as we are used to when using java.

Rodrigo Cano suggested:

Improving the content assistance for example to see constructors, i.e. new java.io.File<ctrl+space> -> show constructors.

Other desirable features would be: Insert Code... -> Implement Method.., Insert Code... -> Override Method.., Insert Code... -> Delegate Method..



I agree with this, it would be a shame not to have better IDE support for Scala in Netbeans.

We all know Caoyuan has done an awesome job and we are really grateful, but he is just one person. It would be great if more people would step up and seriously work on it. Be it Scala community, Oracle, Netbeans people or whoever is up to the task.

I'm not kidding when I say I would pay for this. How many people are interested? Wouldn't it be possible to create a www.kickstarter.com project where everybody chips in some cash and gather enough to pay someone to work on it for 6 months?

Is anyone interested? Am I crazy?

Thanks
Tomás
Rodrigo Cano
Joined: 2009-03-22,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] Scala Plugin
+1

2010/11/4 Tomás Lázaro <tlazaro18@gmail.com>
Hi everyone,

Over at the scala tools we were wondering with some people about the status of the Scala plugin for Netbeans.

We would like to have as much IDE support as we are used to when using java.

Rodrigo Cano suggested:

Improving the content assistance for example to see constructors, i.e. new java.io.File<ctrl+space> -> show constructors.

Other desirable features would be: Insert Code... -> Implement Method.., Insert Code... -> Override Method.., Insert Code... -> Delegate Method..



I agree with this, it would be a shame not to have better IDE support for Scala in Netbeans.

We all know Caoyuan has done an awesome job and we are really grateful, but he is just one person. It would be great if more people would step up and seriously work on it. Be it Scala community, Oracle, Netbeans people or whoever is up to the task.

I'm not kidding when I say I would pay for this. How many people are interested? Wouldn't it be possible to create a www.kickstarter.com project where everybody chips in some cash and gather enough to pay someone to work on it for 6 months?

Is anyone interested? Am I crazy?

Thanks
Tomás

boris pezzatti
Joined: 2009-12-03,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] Scala Plugin
+1

On 11/04/2010 06:05 PM, Rodrigo Cano wrote:
AANLkTikbmDYbxbYePaXA-oxc3tpza6Vk6sCEN1p2gcO7 [at] mail [dot] gmail [dot] com" type="cite">+1

2010/11/4 Tomás Lázaro <tlazaro18 [at] gmail [dot] com" rel="nofollow">tlazaro18@gmail.com>
Hi everyone,

Over at the scala tools we were wondering with some people about the status of the Scala plugin for Netbeans.

We would like to have as much IDE support as we are used to when using java.

Rodrigo Cano suggested:

Improving the content assistance for example to see constructors, i.e. new java.io.File<ctrl+space> -> show constructors.

Other desirable features would be: Insert Code... -> Implement Method.., Insert Code... -> Override Method.., Insert Code... -> Delegate Method..



I agree with this, it would be a shame not to have better IDE support for Scala in Netbeans.

We all know Caoyuan has done an awesome job and we are really grateful, but he is just one person. It would be great if more people would step up and seriously work on it. Be it Scala community, Oracle, Netbeans people or whoever is up to the task.

I'm not kidding when I say I would pay for this. How many people are interested? Wouldn't it be possible to create a www.kickstarter.com project where everybody chips in some cash and gather enough to pay someone to work on it for 6 months?

Is anyone interested? Am I crazy?

Thanks
Tomás


--
P Please consider the environment before deciding to print this e-mail.
_________________________________________________________
Boris Pezzatti
Swiss Federal Research Institute WSL
Research unit Ecosystem Boundaries
Team Insubric Ecosystems
via Belsoggiorno 22
CH-6500 Bellinzona
Switzerland

phone direct ++41 91 821 52 32
phone ++41 91 821 52 30
fax ++41 91 821 52 39
boris.pezzatti@wsl.ch
http://www.wsl.ch

125 anni WSL, 75 anni SLF, 20 anni di sede a Bellinzona
Festeggiate il GIUBILEO con noi! per informazioni: www.wslf.ch
Rüdiger Klaehn
Joined: 2009-06-02,
User offline. Last seen 42 years 45 weeks ago.
[netbeans] Scala Plugin

Our company is phasing in scala for production use. So we would be
willing to pay for better scala IDE support if it increases our
productivity. I would also personally be willing to pay maybe 100€ for
better scala support in netbeans.

The priority should be to get the existing features to work reliably.
With my current setup most of the features (code completion,
highlighting of errors, watches in debug mode) are kind of flaky. They
work sometimes, but not always.

And also the performance leaves a lot to be desired: I am using a quad
core 64bit machine with 8GB of ram, and still the whole thing is
sometimes really slow. I tried tweaking the jvm options, but to no
avail.

I could of course use intelliJ idea. But I like netbeans a lot as a
java IDE, so I would prefer just to use a better scala plugin.

On Thu, Nov 4, 2010 at 6:19 PM, boris pezzatti wrote:
> +1
>
> On 11/04/2010 06:05 PM, Rodrigo Cano wrote:
>
> +1
>
> 2010/11/4 Tomás Lázaro
>>
>> Hi everyone,
>>
>> Over at the scala tools we were wondering with some people about the
>> status of the Scala plugin for Netbeans.
>>
>> We would like to have as much IDE support as we are used to when using
>> java.
>>
>> Rodrigo Cano suggested:
>>
>> Improving the content assistance for example to see constructors, i.e. new
>> java.io.File -> show constructors.
>>
>> Other desirable features would be: Insert Code... -> Implement Method..,
>> Insert Code... -> Override Method.., Insert Code... -> Delegate Method..
>>
>>
>>
>> I agree with this, it would be a shame not to have better IDE support for
>> Scala in Netbeans.
>>
>> We all know Caoyuan has done an awesome job and we are really grateful,
>> but he is just one person. It would be great if more people would step up
>> and seriously work on it. Be it Scala community, Oracle, Netbeans people or
>> whoever is up to the task.
>>
>> I'm not kidding when I say I would pay for this. How many people are
>> interested? Wouldn't it be possible to create a www.kickstarter.com project
>> where everybody chips in some cash and gather enough to pay someone to work
>> on it for 6 months?
>>
>> Is anyone interested? Am I crazy?
>>
>> Thanks
>> Tomás
>
> --
> P Please consider the environment before deciding to print this e-mail.
> _________________________________________________________
> Boris Pezzatti
> Swiss Federal Research Institute WSL
> Research unit Ecosystem Boundaries
> Team Insubric Ecosystems
> via Belsoggiorno 22
> CH-6500 Bellinzona
> Switzerland
>
> phone direct ++41 91 821 52 32
> phone ++41 91 821 52 30
> fax ++41 91 821 52 39
> boris.pezzatti@wsl.ch
> http://www.wsl.ch
>
> 125 anni WSL, 75 anni SLF, 20 anni di sede a Bellinzona
> Festeggiate il GIUBILEO con noi! per informazioni: www.wslf.ch
>

Rodrigo Cano
Joined: 2009-03-22,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] Scala Plugin
Our company is also very interested in a better plugin for NetBeans specifically, so would
also pay for its development.

On Thu, Nov 4, 2010 at 4:57 PM, Rüdiger Klaehn <rklaehn@googlemail.com> wrote:
Our company is phasing in scala for production use. So we would be
willing to pay for better scala IDE support if it increases our
productivity. I would also personally be willing to pay maybe 100€ for
better scala support in netbeans.

The priority should be to get the existing features to work reliably.
With my current setup most of the features (code completion,
highlighting of errors, watches in debug mode) are kind of flaky. They
work sometimes, but not always.

And also the performance leaves a lot to be desired: I am using a quad
core 64bit machine with 8GB of ram, and still the whole thing is
sometimes really slow. I tried tweaking the jvm options, but to no
avail.

I could of course use intelliJ idea. But I like netbeans a lot as a
java IDE, so I would prefer just to use a better scala plugin.

On Thu, Nov 4, 2010 at 6:19 PM, boris pezzatti <boris.pezzatti@wsl.ch> wrote:
> +1
>
> On 11/04/2010 06:05 PM, Rodrigo Cano wrote:
>
> +1
>
> 2010/11/4 Tomás Lázaro <tlazaro18@gmail.com>
>>
>> Hi everyone,
>>
>> Over at the scala tools we were wondering with some people about the
>> status of the Scala plugin for Netbeans.
>>
>> We would like to have as much IDE support as we are used to when using
>> java.
>>
>> Rodrigo Cano suggested:
>>
>> Improving the content assistance for example to see constructors, i.e. new
>> java.io.File<ctrl+space> -> show constructors.
>>
>> Other desirable features would be: Insert Code... -> Implement Method..,
>> Insert Code... -> Override Method.., Insert Code... -> Delegate Method..
>>
>>
>>
>> I agree with this, it would be a shame not to have better IDE support for
>> Scala in Netbeans.
>>
>> We all know Caoyuan has done an awesome job and we are really grateful,
>> but he is just one person. It would be great if more people would step up
>> and seriously work on it. Be it Scala community, Oracle, Netbeans people or
>> whoever is up to the task.
>>
>> I'm not kidding when I say I would pay for this. How many people are
>> interested? Wouldn't it be possible to create a www.kickstarter.com project
>> where everybody chips in some cash and gather enough to pay someone to work
>> on it for 6 months?
>>
>> Is anyone interested? Am I crazy?
>>
>> Thanks
>> Tomás
>
> --
> P Please consider the environment before deciding to print this e-mail.
> _________________________________________________________
> Boris Pezzatti
> Swiss Federal Research Institute WSL
> Research unit Ecosystem Boundaries
> Team Insubric Ecosystems
> via Belsoggiorno 22
> CH-6500 Bellinzona
> Switzerland
>
> phone direct ++41 91 821 52 32
> phone ++41 91 821 52 30
> fax ++41 91 821 52 39
> boris.pezzatti@wsl.ch
> http://www.wsl.ch
>
> 125 anni WSL, 75 anni SLF, 20 anni di sede a Bellinzona
> Festeggiate il GIUBILEO con noi! per informazioni: www.wslf.ch
>

Michael Thaler
Joined: 2009-06-11,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] Scala Plugin
p, li { white-space: pre-wrap; }

Hi,

> I'm not kidding when I say I would pay for this. How many people are

> interested? Wouldn't it be possible to create a www.kickstarter.com project

> where everybody chips in some cash and gather enough to pay someone to work

> on it for 6 months?

>

> Is anyone interested? Am I crazy?

The Krita project (A KDE painting application which aims to create an Open-Source natural media painting application) started a fund raiser to pay a student to work on Krita: http://krita.org/component/content/article/8-press-releases/20-krita22-l.... It worked very well for Krita, they got about 4500 Euros, which was enough to have a student work on Krita full time for three months.

Netbeans is my preferred IDE for Java and I would also like to see good Scala support in Netbeans. I would be willing to pay 100 Euros to see that happen.

Regards,

Michael

Jefferson Andrade
Joined: 2010-04-09,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] Scala Plugin
I think the idea is great.

I would be willing to contribute too.

Jefferson Andrade.



On Thu, Nov 4, 2010 at 5:21 PM, Michael Thaler <michael.thaler@physik.tu-muenchen.de> wrote:

Hi,

> I'm not kidding when I say I would pay for this. How many people are

> interested? Wouldn't it be possible to create a www.kickstarter.com project

> where everybody chips in some cash and gather enough to pay someone to work

> on it for 6 months?

>

> Is anyone interested? Am I crazy?

The Krita project (A KDE painting application which aims to create an Open-Source natural media painting application) started a fund raiser to pay a student to work on Krita: http://krita.org/component/content/article/8-press-releases/20-krita22-lukas-opportunity. It worked very well for Krita, they got about 4500 Euros, which was enough to have a student work on Krita full time for three months.

Netbeans is my preferred IDE for Java and I would also like to see good Scala support in Netbeans. I would be willing to pay 100 Euros to see that happen.

Regards,

Michael




--
"You question the worthiness of my Code? I should kill you where you stand!"

miroznak
Joined: 2010-11-05,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] Scala Plugin
Think it could be interesting for me, as a developer. I have no experience in coding for Netbeans Platform, but I would get this experience.
May be you, guys, can give me a small task to check what I can do.

Mike Selivanov

04.11.2010 20:05, Rodrigo Cano пишет:
AANLkTikbmDYbxbYePaXA-oxc3tpza6Vk6sCEN1p2gcO7 [at] mail [dot] gmail [dot] com" type="cite">+1

2010/11/4 Tomás Lázaro <tlazaro18 [at] gmail [dot] com" rel="nofollow">tlazaro18@gmail.com>
Hi everyone,

Over at the scala tools we were wondering with some people about the status of the Scala plugin for Netbeans.

We would like to have as much IDE support as we are used to when using java.

Rodrigo Cano suggested:

Improving the content assistance for example to see constructors, i.e. new java.io.File<ctrl+space> -> show constructors.

Other desirable features would be: Insert Code... -> Implement Method.., Insert Code... -> Override Method.., Insert Code... -> Delegate Method..



I agree with this, it would be a shame not to have better IDE support for Scala in Netbeans.

We all know Caoyuan has done an awesome job and we are really grateful, but he is just one person. It would be great if more people would step up and seriously work on it. Be it Scala community, Oracle, Netbeans people or whoever is up to the task.

I'm not kidding when I say I would pay for this. How many people are interested? Wouldn't it be possible to create a www.kickstarter.com project where everybody chips in some cash and gather enough to pay someone to work on it for 6 months?

Is anyone interested? Am I crazy?

Thanks
Tomás


Rodrigo Cano
Joined: 2009-03-22,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] Scala Plugin
Probably the best place to start is the Caoyuan's code, but I have no idea about where the code could be.

On Fri, Nov 5, 2010 at 9:28 AM, miroznak <miroznak@yandex.ru> wrote:
Think it could be interesting for me, as a developer. I have no experience in coding for Netbeans Platform, but I would get this experience.
May be you, guys, can give me a small task to check what I can do.

Mike Selivanov

04.11.2010 20:05, Rodrigo Cano пишет:
+1

2010/11/4 Tomás Lázaro <tlazaro18@gmail.com>
Hi everyone,

Over at the scala tools we were wondering with some people about the status of the Scala plugin for Netbeans.

We would like to have as much IDE support as we are used to when using java.

Rodrigo Cano suggested:

Improving the content assistance for example to see constructors, i.e. new java.io.File<ctrl+space> -> show constructors.

Other desirable features would be: Insert Code... -> Implement Method.., Insert Code... -> Override Method.., Insert Code... -> Delegate Method..



I agree with this, it would be a shame not to have better IDE support for Scala in Netbeans.

We all know Caoyuan has done an awesome job and we are really grateful, but he is just one person. It would be great if more people would step up and seriously work on it. Be it Scala community, Oracle, Netbeans people or whoever is up to the task.

I'm not kidding when I say I would pay for this. How many people are interested? Wouldn't it be possible to create a www.kickstarter.com project where everybody chips in some cash and gather enough to pay someone to work on it for 6 months?

Is anyone interested? Am I crazy?

Thanks
Tomás



Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] Scala Plugin

That's great idea.

The source code could be found at:
http://hg.netbeans.org/main/contrib

All scala-plugin related sub-projects are those directories named as
scala.*, but the scala.editing is deprecated.

To begin, you have to hg clone http://hg.netbeans.org/main, then under
"main", hg clone http://hg.netbeans.org/main/contrib (whole)

-Caoyuan

On Fri, Nov 5, 2010 at 9:20 PM, Rodrigo Cano wrote:
> Probably the best place to start is the Caoyuan's code, but I have no idea
> about where the code could be.
>
> On Fri, Nov 5, 2010 at 9:28 AM, miroznak wrote:
>>
>> Think it could be interesting for me, as a developer. I have no experience
>> in coding for Netbeans Platform, but I would get this experience.
>> May be you, guys, can give me a small task to check what I can do.
>>
>> Mike Selivanov
>>
>> 04.11.2010 20:05, Rodrigo Cano пишет:
>>
>> +1
>>
>> 2010/11/4 Tomás Lázaro
>>>
>>> Hi everyone,
>>>
>>> Over at the scala tools we were wondering with some people about the
>>> status of the Scala plugin for Netbeans.
>>>
>>> We would like to have as much IDE support as we are used to when using
>>> java.
>>>
>>> Rodrigo Cano suggested:
>>>
>>> Improving the content assistance for example to see constructors, i.e.
>>> new java.io.File -> show constructors.
>>>
>>> Other desirable features would be: Insert Code... -> Implement Method..,
>>> Insert Code... -> Override Method.., Insert Code... -> Delegate Method..
>>>
>>>
>>>
>>> I agree with this, it would be a shame not to have better IDE support for
>>> Scala in Netbeans.
>>>
>>> We all know Caoyuan has done an awesome job and we are really grateful,
>>> but he is just one person. It would be great if more people would step up
>>> and seriously work on it. Be it Scala community, Oracle, Netbeans people or
>>> whoever is up to the task.
>>>
>>> I'm not kidding when I say I would pay for this. How many people are
>>> interested? Wouldn't it be possible to create a www.kickstarter.com project
>>> where everybody chips in some cash and gather enough to pay someone to work
>>> on it for 6 months?
>>>
>>> Is anyone interested? Am I crazy?
>>>
>>> Thanks
>>> Tomás
>>
>
>

anli
Joined: 2008-08-19,
User offline. Last seen 1 day 1 hour ago.
Re: [netbeans] Scala Plugin

On Friday, November 05, 2010 16:30:33 Caoyuan wrote:
> That's great idea.

Caoyuan, hi! Happy to see you somewhere here :-) Have you any own
plans/intentions wrt your plugin further development?

Andrew

anli
Joined: 2008-08-19,
User offline. Last seen 1 day 1 hour ago.
Re: [netbeans] Scala Plugin

On Friday, November 05, 2010 16:20:41 Rodrigo Cano wrote:
> Probably the best place to start is the Caoyuan's code, but I have no idea
> about where the code could be.

NB's /contrib contains few scala-related folders.
[scala-tools] is a more appropriate mailing list to discuss, I think.

Andrew

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] Scala Plugin

On Fri, Nov 5, 2010 at 9:37 PM, Andrew Gaydenko wrote:
> On Friday, November 05, 2010 16:30:33 Caoyuan wrote:
>> That's great idea.
>
> Caoyuan, hi! Happy to see you somewhere here :-) Have you any own
> plans/intentions wrt your plugin further development?

Not yet, just keep compatible with current NetBeans and Scala until I
have time, maybe next year :-(

-Caoyuan

>
>
> Andrew
>

Tomygun
Joined: 2008-11-27,
User offline. Last seen 3 years 48 weeks ago.
Re: [netbeans] Scala Plugin
Hi,

I have been thinking since yesterday about this whole thing. I'm currently in a position where I was planning on quitting my job as a C++ developer (since several months, with heads up to my boss) by the end of the year. I was planning on some freelance projects, some web apps, Lift or something like that.

As I wrote to Caoyuan:

I'm interested in further developing the Scala Netbeans Plugins. I'm not sure if I'm up to the task but I have worked on some Netbeans Platform projects at work and at least created and editor for a simple DSL we use. I'm a Scala enthusiast and a Netbeans fan, I would really like to have IDE tools similar to the ones I'm used to in Java with Netbeans.


I actually forgot to mention that I created the JavaCC plugin, it wasn't that hard but at least I have basic experience integrating a language into Netbeans using the modern Parsing API. http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=20277

As Michael Thaler said:
It worked very well for Krita, they got about 4500 Euros, which was enough to have a student work on Krita full time for three months.

I would be willing to work at least 3 months full time starting January 1st for a a total of 3000 euros and maybe even afterwards part time for a reasonable amount. I'm in the southern hemisphere so it would be a "Summer of Code" :)

The aim of the project would be to improve as well as document and explain the code base to enable more people to collaborate. It would be great to develop tools in the same way as the http://scala-refactoring.org/ library. I would like to make a blog/diary detailing the whole process.

Further details about scope and goals should be discussed but if you think it would be a good idea I'm up for the challenge and would gladly tackle it. Unless off course someone else is really willing to commit to it and is better qualified.

Cheers,
Tomás

On Fri, Nov 5, 2010 at 12:02 PM, Caoyuan <dcaoyuan@gmail.com> wrote:
On Fri, Nov 5, 2010 at 9:37 PM, Andrew Gaydenko <a@gaydenko.com> wrote:
> On Friday, November 05, 2010 16:30:33 Caoyuan wrote:
>> That's great idea.
>
> Caoyuan, hi! Happy to see you somewhere here :-) Have you any own
> plans/intentions wrt your plugin further development?

Not yet, just keep compatible with current NetBeans and Scala until I
have time, maybe next year :-(

-Caoyuan

>
>
> Andrew
>

Rüdiger Klaehn
Joined: 2009-06-02,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] Scala Plugin

This is probably not very fun work. And probably not something you can
use as a topic for a PhD thesis. But before implementing new features
one would have to make the existing features faster and more stable.

I would be perfectly happy with a plugin that does the basics quickly
and unintrusively:

- Syntax highlighting
- Code completion
- Error highlighting
- Debugging including watch expressions written in scala

Currently the code completion support is so slow that it does not
really add much value. Watch expressions in popups sometimes work, and
entering watch expressions requires you to use java syntax. The error
highlighting often shows errors that do not really exist.

It is probably not possible to define objective success criteria, so
the money would have to go on a trust basis to somebody who has shown
that he is somewhat familiar with the code base.

On Fri, Nov 5, 2010 at 12:28 PM, miroznak wrote:
> Think it could be interesting for me, as a developer. I have no experience
> in coding for Netbeans Platform, but I would get this experience.
> May be you, guys, can give me a small task to check what I can do.
>
> Mike Selivanov
>
> 04.11.2010 20:05, Rodrigo Cano пишет:
>
> +1
>
> 2010/11/4 Tomás Lázaro
>>
>> Hi everyone,
>>
>> Over at the scala tools we were wondering with some people about the
>> status of the Scala plugin for Netbeans.
>>
>> We would like to have as much IDE support as we are used to when using
>> java.
>>
>> Rodrigo Cano suggested:
>>
>> Improving the content assistance for example to see constructors, i.e. new
>> java.io.File -> show constructors.
>>
>> Other desirable features would be: Insert Code... -> Implement Method..,
>> Insert Code... -> Override Method.., Insert Code... -> Delegate Method..
>>
>>
>>
>> I agree with this, it would be a shame not to have better IDE support for
>> Scala in Netbeans.
>>
>> We all know Caoyuan has done an awesome job and we are really grateful,
>> but he is just one person. It would be great if more people would step up
>> and seriously work on it. Be it Scala community, Oracle, Netbeans people or
>> whoever is up to the task.
>>
>> I'm not kidding when I say I would pay for this. How many people are
>> interested? Wouldn't it be possible to create a www.kickstarter.com project
>> where everybody chips in some cash and gather enough to pay someone to work
>> on it for 6 months?
>>
>> Is anyone interested? Am I crazy?
>>
>> Thanks
>> Tomás
>
>

Tomygun
Joined: 2008-11-27,
User offline. Last seen 3 years 48 weeks ago.
Re: [netbeans] Scala Plugin
I totally agree with you, improving current features should be the first goal.

I understand your point, I would not trust myself so fast either if I were in your position without further proof of skills to complete the task at hand.

There is one thing I disagree though, "This is probably not very fun work.". I actually think it would be really cool, I began reading the "Dragon Book" just for fun and I'm really into languages and compilers and always wanted to dig deeper professionally instead of using my spare time. I'm actually not worried about the PhD thesis either, although that would be a nice perk.

Nevertheless I will still go through Caoyuan's code and cooperate if possible.

On Fri, Nov 5, 2010 at 1:34 PM, Rüdiger Klaehn <rklaehn@googlemail.com> wrote:
This is probably not very fun work. And probably not something you can
use as a topic for a PhD thesis. But before implementing new features
one would have to make the existing features faster and more stable.

I would be perfectly happy with a plugin that does the basics quickly
and unintrusively:

- Syntax highlighting
- Code completion
- Error highlighting
- Debugging including watch expressions written in scala

Currently the code completion support is so slow that it does not
really add much value. Watch expressions in popups sometimes work, and
entering watch expressions requires you to use java syntax. The error
highlighting often shows errors that do not really exist.

It is probably not possible to define objective success criteria, so
the money would have to go on a trust basis to somebody who has shown
that he is somewhat familiar with the code base.

On Fri, Nov 5, 2010 at 12:28 PM, miroznak <miroznak@yandex.ru> wrote:
> Think it could be interesting for me, as a developer. I have no experience
> in coding for Netbeans Platform, but I would get this experience.
> May be you, guys, can give me a small task to check what I can do.
>
> Mike Selivanov
>
> 04.11.2010 20:05, Rodrigo Cano пишет:
>
> +1
>
> 2010/11/4 Tomás Lázaro <tlazaro18@gmail.com>
>>
>> Hi everyone,
>>
>> Over at the scala tools we were wondering with some people about the
>> status of the Scala plugin for Netbeans.
>>
>> We would like to have as much IDE support as we are used to when using
>> java.
>>
>> Rodrigo Cano suggested:
>>
>> Improving the content assistance for example to see constructors, i.e. new
>> java.io.File<ctrl+space> -> show constructors.
>>
>> Other desirable features would be: Insert Code... -> Implement Method..,
>> Insert Code... -> Override Method.., Insert Code... -> Delegate Method..
>>
>>
>>
>> I agree with this, it would be a shame not to have better IDE support for
>> Scala in Netbeans.
>>
>> We all know Caoyuan has done an awesome job and we are really grateful,
>> but he is just one person. It would be great if more people would step up
>> and seriously work on it. Be it Scala community, Oracle, Netbeans people or
>> whoever is up to the task.
>>
>> I'm not kidding when I say I would pay for this. How many people are
>> interested? Wouldn't it be possible to create a www.kickstarter.com project
>> where everybody chips in some cash and gather enough to pay someone to work
>> on it for 6 months?
>>
>> Is anyone interested? Am I crazy?
>>
>> Thanks
>> Tomás
>
>

Lalit Pant
Joined: 2009-01-05,
User offline. Last seen 2 years 7 weeks ago.
Re: [netbeans] Scala Plugin
> The aim of the project would be to improve as well as document and explain the code base to enable more
> people to collaborate.

That sounds great. I'm willing to contribute - both money, to begin with, and (coding) time, as the project rolls along.

- Lalit

::
Lalit Pant
Lead Developer, Kojo
http://www.kogics.net/sf:kojo

From: Tomás Lázaro <tlazaro18@gmail.com>
To: scala-user@listes.epfl.ch
Sent: Fri, November 5, 2010 8:52:18 PM
Subject: Re: [scala-user] [netbeans] Scala Plugin

Hi,

I have been thinking since yesterday about this whole thing. I'm currently in a position where I was planning on quitting my job as a C++ developer (since several months, with heads up to my boss) by the end of the year. I was planning on some freelance projects, some web apps, Lift or something like that.

As I wrote to Caoyuan:

I'm interested in further developing the Scala Netbeans Plugins. I'm not sure if I'm up to the task but I have worked on some Netbeans Platform projects at work and at least created and editor for a simple DSL we use. I'm a Scala enthusiast and a Netbeans fan, I would really like to have IDE tools similar to the ones I'm used to in Java with Netbeans.


I actually forgot to mention that I created the JavaCC plugin, it wasn't that hard but at least I have basic experience integrating a language into Netbeans using the modern Parsing API. http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=20277

As Michael Thaler said:
It worked very well for Krita, they got about 4500 Euros, which was enough to have a student work on Krita full time for three months.

I would be willing to work at least 3 months full time starting January 1st for a a total of 3000 euros and maybe even afterwards part time for a reasonable amount. I'm in the southern hemisphere so it would be a "Summer of Code" :)

The aim of the project would be to improve as well as document and explain the code base to enable more people to collaborate. It would be great to develop tools in the same way as the http://scala-refactoring.org/ library. I would like to make a blog/diary detailing the whole process.

Further details about scope and goals should be discussed but if you think it would be a good idea I'm up for the challenge and would gladly tackle it. Unless off course someone else is really willing to commit to it and is better qualified.

Cheers,
Tomás

On Fri, Nov 5, 2010 at 12:02 PM, Caoyuan <dcaoyuan [at] gmail [dot] com" target="_blank" href="mailto:dcaoyuan@gmail.com" rel="nofollow">dcaoyuan@gmail.com> wrote:
On Fri, Nov 5, 2010 at 9:37 PM, Andrew Gaydenko <a [at] gaydenko [dot] com" target="_blank" href="mailto:a@gaydenko.com" rel="nofollow">a@gaydenko.com> wrote:
> On Friday, November 05, 2010 16:30:33 Caoyuan wrote:
>> That's great idea.
>
> Caoyuan, hi! Happy to see you somewhere here :-) Have you any own
> plans/intentions wrt your plugin further development?

Not yet, just keep compatible with current NetBeans and Scala until I
have time, maybe next year :-(

-Caoyuan

>
>
> Andrew
>


miroznak
Joined: 2010-11-05,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] Scala Plugin

Thanks, I'll think about what I can do.

05.11.2010 18:34, Rüdiger Klaehn пишет:
> This is probably not very fun work. And probably not something you can
> use as a topic for a PhD thesis. But before implementing new features
> one would have to make the existing features faster and more stable.
>
> I would be perfectly happy with a plugin that does the basics quickly
> and unintrusively:
>
> - Syntax highlighting
> - Code completion
> - Error highlighting
> - Debugging including watch expressions written in scala
>
> Currently the code completion support is so slow that it does not
> really add much value. Watch expressions in popups sometimes work, and
> entering watch expressions requires you to use java syntax. The error
> highlighting often shows errors that do not really exist.
>
> It is probably not possible to define objective success criteria, so
> the money would have to go on a trust basis to somebody who has shown
> that he is somewhat familiar with the code base.
>
> On Fri, Nov 5, 2010 at 12:28 PM, miroznak wrote:
>> Think it could be interesting for me, as a developer. I have no experience
>> in coding for Netbeans Platform, but I would get this experience.
>> May be you, guys, can give me a small task to check what I can do.
>>
>> Mike Selivanov
>>
>> 04.11.2010 20:05, Rodrigo Cano пишет:
>>
>> +1
>>
>> 2010/11/4 Tomás Lázaro
>>> Hi everyone,
>>>
>>> Over at the scala tools we were wondering with some people about the
>>> status of the Scala plugin for Netbeans.
>>>
>>> We would like to have as much IDE support as we are used to when using
>>> java.
>>>
>>> Rodrigo Cano suggested:
>>>
>>> Improving the content assistance for example to see constructors, i.e. new
>>> java.io.File -> show constructors.
>>>
>>> Other desirable features would be: Insert Code... -> Implement Method..,
>>> Insert Code... -> Override Method.., Insert Code... -> Delegate Method..
>>>
>>>
>>>
>>> I agree with this, it would be a shame not to have better IDE support for
>>> Scala in Netbeans.
>>>
>>> We all know Caoyuan has done an awesome job and we are really grateful,
>>> but he is just one person. It would be great if more people would step up
>>> and seriously work on it. Be it Scala community, Oracle, Netbeans people or
>>> whoever is up to the task.
>>>
>>> I'm not kidding when I say I would pay for this. How many people are
>>> interested? Wouldn't it be possible to create a www.kickstarter.com project
>>> where everybody chips in some cash and gather enough to pay someone to work
>>> on it for 6 months?
>>>
>>> Is anyone interested? Am I crazy?
>>>
>>> Thanks
>>> Tomás
>>
>

anli
Joined: 2008-08-19,
User offline. Last seen 1 day 1 hour ago.
Re: [netbeans] Scala Plugin

On Friday, November 05, 2010 20:50:13 miroznak wrote:
> Thanks, I'll think about what I can do.

> 05.11.2010 18:34, Rüdiger Klaehn пишет:
...
> > I would be perfectly happy with a plugin that does the basics quickly
> > and unintrusively:
> >
> > - Syntax highlighting
> > - Code completion
> > - Error highlighting
> > - Debugging including watch expressions written in scala

I think, common infrastructure support isn't less important rather code-
centric sugar. I mean, say, SBT integration. In fact, in spite of some minor
bugs (for exampe, occasional false error highlighting), current Scala plugin
state is sufficient for me in most cases. OTOH, good multiproject support is
valuable for Scala. Current ant-base and maven-base ones do work, but don't
"do as little as possible" - I mean recompiling only needed scala files in
multiproject environment. As far as a Scala compiler, being complicated, is
rather hungry wrt CPU, SBT integration would make faster edit-build-test
development iterations.

At any case I'm sure "SBT-integraion-first" policy will save plugin
development time be in use during next steps in this development :-)

Andrew

Tomygun
Joined: 2008-11-27,
User offline. Last seen 3 years 48 weeks ago.
Re: [netbeans] Scala Plugin
I've been doing some research of what is already out there and would be helpful:

- Caoyuan's code
- ENSIME - the server part, not the actual emacs plugin
- Scala refactor lib
- Eclipse Scala support
- SBT

SBT perhaps would be useful in order to know which changes affects which files as that is already solved by it and make incremental compiles, saving parsing time as well as breaking/fixing other sources files upon modifications.

Any thoughts on this?

On Fri, Nov 5, 2010 at 4:14 PM, Andrew Gaydenko <a@gaydenko.com> wrote:
On Friday, November 05, 2010 20:50:13 miroznak wrote:
> Thanks, I'll think about what I can do.

> 05.11.2010 18:34, Rüdiger Klaehn пишет:
...
> > I would be perfectly happy with a plugin that does the basics quickly
> > and unintrusively:
> >
> > - Syntax highlighting
> > - Code completion
> > - Error highlighting
> > - Debugging including watch expressions written in scala

I think, common infrastructure support isn't less important rather code-
centric sugar. I mean, say, SBT integration. In fact, in spite of some minor
bugs (for exampe, occasional false error highlighting), current Scala plugin
state is sufficient for me in most cases. OTOH, good multiproject support is
valuable for Scala. Current ant-base and maven-base ones do work, but don't
"do as little as possible" - I mean recompiling only needed scala files in
multiproject environment. As far as a Scala compiler, being complicated, is
rather hungry wrt CPU, SBT integration would make faster edit-build-test
development iterations.

At any case I'm sure "SBT-integraion-first" policy will save plugin
development time be in use during next steps in this development :-)


Andrew

Rodrigo Cano
Joined: 2009-03-22,
User offline. Last seen 42 years 45 weeks ago.
Re: [netbeans] Scala Plugin
I thing the fastest solution is to grab Caoyuan's code and make it more stable, but OTOH I thing that integrating with the server part of ENSIME will prove a better option in the long term.
Also, as Gaydenko said SBT integration would make faster edit-build-test development iterations.


2010/11/5 Tomás Lázaro <tlazaro18@gmail.com>
I've been doing some research of what is already out there and would be helpful:

- Caoyuan's code
- ENSIME - the server part, not the actual emacs plugin
- Scala refactor lib
- Eclipse Scala support
- SBT

SBT perhaps would be useful in order to know which changes affects which files as that is already solved by it and make incremental compiles, saving parsing time as well as breaking/fixing other sources files upon modifications.

Any thoughts on this?

On Fri, Nov 5, 2010 at 4:14 PM, Andrew Gaydenko <a@gaydenko.com> wrote:
On Friday, November 05, 2010 20:50:13 miroznak wrote:
> Thanks, I'll think about what I can do.

> 05.11.2010 18:34, Rüdiger Klaehn пишет:
...
> > I would be perfectly happy with a plugin that does the basics quickly
> > and unintrusively:
> >
> > - Syntax highlighting
> > - Code completion
> > - Error highlighting
> > - Debugging including watch expressions written in scala

I think, common infrastructure support isn't less important rather code-
centric sugar. I mean, say, SBT integration. In fact, in spite of some minor
bugs (for exampe, occasional false error highlighting), current Scala plugin
state is sufficient for me in most cases. OTOH, good multiproject support is
valuable for Scala. Current ant-base and maven-base ones do work, but don't
"do as little as possible" - I mean recompiling only needed scala files in
multiproject environment. As far as a Scala compiler, being complicated, is
rather hungry wrt CPU, SBT integration would make faster edit-build-test
development iterations.

At any case I'm sure "SBT-integraion-first" policy will save plugin
development time be in use during next steps in this development :-)


Andrew


pchapin
Joined: 2009-01-18,
User offline. Last seen 3 years 12 weeks ago.
Re: [netbeans] Scala Plugin

On 2010-11-05 12:12, Tomás Lázaro wrote:

> I totally agree with you, improving current features should be the first
> goal.

For what it's worth I'm another NetBeans/Scala user who would love to
see the Scala plug-in continue to evolve. I think Caoyuan has done a
great job with it, but I understand that it's difficult for one person,
part time, to give a project like that the attention it probably needs.

I'd love to say that I could help contribute but aside from a small
monetary donation (which I could do) I don't have time right now to
really help with coding or testing or whatever. That said, if a
community does grow around the development of the NetBeans Scala
plug-in, I would love to at least follow it. Should there be a separate
mailing list, wiki, or web site for this purpose? Is there one already?

Peter

anli
Joined: 2008-08-19,
User offline. Last seen 1 day 1 hour ago.
Re: Re: [netbeans] Scala Plugin

On Saturday, November 06, 2010 01:13:25 Peter C. Chapin wrote:
> Should there be a separate
> mailing list, wiki, or web site for this purpose? Is there one already?

It's scala-tools mailing list. Just add [netbeans] as subject prefix.

Andrew

Tomygun
Joined: 2008-11-27,
User offline. Last seen 3 years 48 weeks ago.
Re: Re: [netbeans] Scala Plugin
Regarding technical aspects of the Scala Plugin the place would certainly be the scala-tools list, nevertheless I started the topic on this list so that the users would receive it.

On Fri, Nov 5, 2010 at 8:22 PM, Andrew Gaydenko <a@gaydenko.com> wrote:
On Saturday, November 06, 2010 01:13:25 Peter C. Chapin wrote:
> Should there be a separate
> mailing list, wiki, or web site for this purpose? Is there one already?

It's scala-tools mailing list. Just add [netbeans] as subject prefix.


Andrew

Tomygun
Joined: 2008-11-27,
User offline. Last seen 3 years 48 weeks ago.
Re: Re: [netbeans] Scala Plugin
Downloaded the 2GB of Netbeans code... setting up ENSIME on Emacs.

I have been studying and thinking about all the alternatives and stuff needed to pull off the "Ensime on Netbeans"

I hope to get the actual coding started this weekend. I will let you know how it goes.

2010/11/7 Tomás Lázaro <tlazaro18@gmail.com>
Regarding technical aspects of the Scala Plugin the place would certainly be the scala-tools list, nevertheless I started the topic on this list so that the users would receive it.

On Fri, Nov 5, 2010 at 8:22 PM, Andrew Gaydenko <a@gaydenko.com> wrote:
On Saturday, November 06, 2010 01:13:25 Peter C. Chapin wrote:
> Should there be a separate
> mailing list, wiki, or web site for this purpose? Is there one already?

It's scala-tools mailing list. Just add [netbeans] as subject prefix.


Andrew


Gary Pampara
Joined: 2010-09-12,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [netbeans] Scala Plugin

Any developments on this? I'm keen to help :)

2010/11/25 Tomás Lázaro :
> Downloaded the 2GB of Netbeans code... setting up ENSIME on Emacs.
>
> I have been studying and thinking about all the alternatives and stuff
> needed to pull off the "Ensime on Netbeans"
>
> I hope to get the actual coding started this weekend. I will let you know
> how it goes.
>
> 2010/11/7 Tomás Lázaro
>>
>> Regarding technical aspects of the Scala Plugin the place would certainly
>> be the scala-tools list, nevertheless I started the topic on this list so
>> that the users would receive it.
>>
>> On Fri, Nov 5, 2010 at 8:22 PM, Andrew Gaydenko wrote:
>>>
>>> On Saturday, November 06, 2010 01:13:25 Peter C. Chapin wrote:
>>> > Should there be a separate
>>> > mailing list, wiki, or web site for this purpose? Is there one already?
>>>
>>> It's scala-tools mailing list. Just add [netbeans] as subject prefix.
>>>
>>>
>>> Andrew
>>
>
>

Tomygun
Joined: 2008-11-27,
User offline. Last seen 3 years 48 weeks ago.
Re: Re: [netbeans] Scala Plugin
I lost a bit of momentum but I have been browsing through the Ensime and current Netbeans Plugin code. It's a lot of code :)

I was trying to include the TextMate Scala plugin's embeded Ensime server into Ensime's current code base.

In the end I didn't get that far, I spent a lot of time researching but didn't actually do anything. It's still in the back of mind, I want better IDE support for Scala in Netbeans.

2011/1/3 Gary Pampara <gpampara@gmail.com>
Any developments on this? I'm keen to help :)

2010/11/25 Tomás Lázaro <tlazaro18@gmail.com>:
> Downloaded the 2GB of Netbeans code... setting up ENSIME on Emacs.
>
> I have been studying and thinking about all the alternatives and stuff
> needed to pull off the "Ensime on Netbeans"
>
> I hope to get the actual coding started this weekend. I will let you know
> how it goes.
>
> 2010/11/7 Tomás Lázaro <tlazaro18@gmail.com>
>>
>> Regarding technical aspects of the Scala Plugin the place would certainly
>> be the scala-tools list, nevertheless I started the topic on this list so
>> that the users would receive it.
>>
>> On Fri, Nov 5, 2010 at 8:22 PM, Andrew Gaydenko <a@gaydenko.com> wrote:
>>>
>>> On Saturday, November 06, 2010 01:13:25 Peter C. Chapin wrote:
>>> > Should there be a separate
>>> > mailing list, wiki, or web site for this purpose? Is there one already?
>>>
>>> It's scala-tools mailing list. Just add [netbeans] as subject prefix.
>>>
>>>
>>> Andrew
>>
>
>

Shrivats
Joined: 2011-01-03,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [netbeans] Scala Plugin

On a slightly OT trail, I'm curious if anyone is actually got a working or is
working on getting something like this for (g)Vim and its sisters?

Regards,

Shrivats
On Mon, Jan 03, 2011 at 09:42:59AM -0200, Tomás Lázaro wrote:
> I lost a bit of momentum but I have been browsing through the Ensime and
> current Netbeans Plugin code. It's a lot of code :)
>
> I was trying to include the TextMate Scala plugin's embeded Ensime server
> into Ensime's current code base.
>
> In the end I didn't get that far, I spent a lot of time researching but
> didn't actually do anything. It's still in the back of mind, I want better
> IDE support for Scala in Netbeans.
>
> 2011/1/3 Gary Pampara
>
> > Any developments on this? I'm keen to help :)
> >
> > 2010/11/25 Tomás Lázaro :
> > > Downloaded the 2GB of Netbeans code... setting up ENSIME on Emacs.
> > >
> > > I have been studying and thinking about all the alternatives and stuff
> > > needed to pull off the "Ensime on Netbeans"
> > >
> > > I hope to get the actual coding started this weekend. I will let you know
> > > how it goes.
> > >
> > > 2010/11/7 Tomás Lázaro
> > >>
> > >> Regarding technical aspects of the Scala Plugin the place would
> > certainly
> > >> be the scala-tools list, nevertheless I started the topic on this list
> > so
> > >> that the users would receive it.
> > >>
> > >> On Fri, Nov 5, 2010 at 8:22 PM, Andrew Gaydenko wrote:
> > >>>
> > >>> On Saturday, November 06, 2010 01:13:25 Peter C. Chapin wrote:
> > >>> > Should there be a separate
> > >>> > mailing list, wiki, or web site for this purpose? Is there one
> > already?
> > >>>
> > >>> It's scala-tools mailing list. Just add [netbeans] as subject prefix.
> > >>>
> > >>>
> > >>> Andrew
> > >>
> > >
> > >
> >

Nazri Ramliy
Joined: 2011-01-04,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: [netbeans] Scala Plugin

2011/1/3 Shrivats :
> On a slightly OT trail, I'm curious if anyone is actually got a working or is
> working on getting something like this for (g)Vim and its sisters?

I've been using Mark Weber's ensime<->vim[1] integration for the last few weeks.

The completion and error highlighting works fine. Javadoc not yet.

nazri.

[1] https://github.com/MarcWeber/ensime

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland