NetBeans Plugins for Scala is now on github and java.net

229 views
Skip to first unread message

Caoyuan

unread,
Apr 12, 2011, 6:37:55 AM4/12/11
to scala-user
Hi,

I've moved project of NetBeans Plugins for Scala to github.com and
java.net:
https://github.com/dcaoyuan/nbscala
http://java.net/projects/nbscala

to build:

cd nbscala
mvn clean install nbm:autoupdate

Then you can find and install nbms at: nbscala/target/netbeans_site

The built version requires NetBeans 7.0 (rc1 or rc2)

Contributions are welcome.

-Caoyuan Deng

Tomás Lázaro

unread,
Apr 12, 2011, 10:38:28 AM4/12/11
to Caoyuan, scala-user
Thanks Caoyuan for continuing the support for this great plugin! I use Netbeans exclusively and I really rely on it.

Caoyuan

unread,
Apr 12, 2011, 11:12:23 AM4/12/11
to scala-user


On Apr 12, 10:38 pm, Tomás Lázaro <tlazar...@gmail.com> wrote:
> Thanks Caoyuan for continuing the support for this great plugin! I use
> Netbeans exclusively and I really rely on it.

BTW, after the code are tested on Scala-2.8.x and NetBeans 7.0, I'll
begin a branch for Scala-2.9.0

Rodrigo Cano

unread,
Apr 12, 2011, 2:32:57 PM4/12/11
to Caoyuan, scala-user
Excellent news!!.

Cheers.

Stefan Wachter

unread,
Apr 13, 2011, 3:04:53 AM4/13/11
to scala...@googlegroups.com
Hi Caoyuan

that is great news. I hope the Scala plugin for Netbeans will attract
more developers now. I switch between Idea, Eclipse, and Netbeans all
the time with Netbeans still being my favorite one.

Cheers

Stefan

Lex

unread,
Apr 13, 2011, 8:00:57 AM4/13/11
to Caoyuan, scala-user
Superior syntax highlighting when using Netbeans Scala plugin really
helps. Especially red color for vars and underlining on implicit
methods. There is just no way I can switch to anything else.

Thank you.

Bardenhorst, Volker Dr.

unread,
Apr 13, 2011, 8:56:28 AM4/13/11
to Lex, Caoyuan, scala-user
Hi

I had problems to compile the plugin. Is someone able and kind to offer a compiled?

Cheers

Paulo Siqueira

unread,
Apr 13, 2011, 3:39:56 PM4/13/11
to Bardenhorst, Volker Dr., Lex, Caoyuan, scala-user
A question: is the repository in github the same as the one in java.net? Or one of them is more up-to-date? I'm not used to git, so maybe this is a very noob question, but anyway...

[]s,

2011/4/13 Bardenhorst, Volker Dr. <Volker.Ba...@eon.com>



--
Paulo "JCranky" Siqueira
Visit my blog: http://www.jcranky.com/

Caoyuan

unread,
Apr 14, 2011, 12:28:11 AM4/14/11
to Paulo Siqueira, scala-user
Paulo,

The repository on java.net is the same as github, and they will be
maintained to be same always.

-Caoyuan

Caoyuan

unread,
Apr 14, 2011, 12:29:30 AM4/14/11
to Bardenhorst, Volker Dr., Lex, scala-user
On Wed, Apr 13, 2011 at 8:56 PM, Bardenhorst, Volker Dr.
<Volker.Ba...@eon.com> wrote:
> Hi
>
> I had problems to compile the plugin. Is someone able and kind to offer a compiled?

Will release one some where soon after more feedback.

-Caoyuan

Rodrigo Cano

unread,
Apr 14, 2011, 2:07:53 PM4/14/11
to Caoyuan, Bardenhorst, Volker Dr., Lex, scala-user
I was able to compile the plugin following the instructions at github. Had to do no special thing so it should just work.

Vasil Remeniuk

unread,
Apr 16, 2011, 1:57:49 PM4/16/11
to scala-user
Caoyuan,

Thank you very much for your efforts!

I know, this is the wrong thread, but... is it planned to add SBT
support in future?

--Vasil

On Apr 14, 9:07 pm, Rodrigo Cano <ioniv...@gmail.com> wrote:
> I was able to compile the plugin following the instructions at github. Had
> to do no special thing so it should just work.
>
>
>
>
>
>
>
> On Thu, Apr 14, 2011 at 1:29 AM, Caoyuan <dcaoy...@gmail.com> wrote:
> > On Wed, Apr 13, 2011 at 8:56 PM, Bardenhorst, Volker Dr.
> > <Volker.Bardenho...@eon.com> wrote:
> > > Hi
>
> > > I had problems to compile the plugin. Is someone able and kind to offer a
> > compiled?
>
> > Will release one some where soon after more feedback.
>
> > -Caoyuan
>
> > > Cheers
>
> > > -----Original Message-----
> > > From: scala...@googlegroups.com [mailto:scala...@googlegroups.com]
> > On Behalf Of Lex
> > > Sent: 13 April 2011 14:01
> > > To: Caoyuan
> > > Cc: scala-user
> > > Subject: Re: [scala-user] Re: NetBeans Plugins for Scala is now on github
> > and java.net
>
> > > Superior syntax highlighting when using Netbeans Scala plugin really
> > helps. Especially red color for vars and underlining on implicit methods.
> > There is just no way I can switch to anything else.
>
> > > Thank you.
>

Caoyuan

unread,
Apr 17, 2011, 3:22:08 AM4/17/11
to Vasil Remeniuk, scala-user
On Sun, Apr 17, 2011 at 1:57 AM, Vasil Remeniuk
<vasil.r...@gmail.com> wrote:
> Caoyuan,
>
> Thank you very much for your efforts!
>
> I know, this is the wrong thread, but... is it planned to add SBT
> support in future?
Hi,

I'd like to see sbt supporting is on NetBeans, but it will be best
that if someone would like to contribute, that's why I host it on
github.

-Caoyaun

joebowbeer

unread,
Apr 23, 2011, 7:10:36 PM4/23/11
to scala-user
Thanks Caoyuan!

I successfully built and installed the project in netbeans 7.0
(cloning from github and following directions in README.md).

Is there an update site available online anywhere?

Can you update the NetBeans wiki?

http://wiki.netbeans.org/Scala

FWIW, I added the information from your message to the discussion
page.

Joe


On Apr 12, 3:37 am, Caoyuan <dcaoy...@gmail.com> wrote:
> Hi,
>
> I've moved project ofNetBeansPlugins for Scala to github.com and
> java.net:https://github.com/dcaoyuan/nbscalahttp://java.net/projects/nbscala
>
> to build:
>
> cd nbscala
> mvn clean install nbm:autoupdate
>
> Then you can find and install nbms at: nbscala/target/netbeans_site
>
> The built version requiresNetBeans7.0 (rc1 or rc2)

Caoyuan

unread,
Apr 24, 2011, 4:35:44 AM4/24/11
to joebowbeer, scala-user
On Sun, Apr 24, 2011 at 7:10 AM, joebowbeer <joe.b...@gmail.com> wrote:
> Thanks Caoyuan!
>
> I successfully built and installed the project in netbeans 7.0
> (cloning from github and following directions in README.md).
>
> Is there an update site available online anywhere?

I'm still in looking for a host to CI build it and set the update site.

>
> Can you update the NetBeans wiki?
>
> http://wiki.netbeans.org/Scala

Will do, when I get time.

-Caoyuan

Jan Goyvaerts

unread,
Apr 24, 2011, 3:08:02 PM4/24/11
to Caoyuan, joebowbeer, scala-user
BTW, how's the plugin doing for Maven/Scala projects ? Is it as smooth as for Java ?

Paulo Siqueira

unread,
Apr 25, 2011, 9:03:21 AM4/25/11
to Jan Goyvaerts, Caoyuan, joebowbeer, scala-user
Its not perfect, but I would say it works well enough. I use it frequently, and from time to time I have to restart the IDE to make the plugin figure out some classpath change correctly.

[]s,

2011/4/24 Jan Goyvaerts <java.a...@gmail.com>

Caoyuan

unread,
Apr 25, 2011, 9:58:55 AM4/25/11
to Paulo Siqueira, Jan Goyvaerts, joebowbeer, scala-user
On Mon, Apr 25, 2011 at 9:03 PM, Paulo Siqueira
<paulo.s...@gmail.com> wrote:
> Its not perfect, but I would say it works well enough. I use it frequently,
> and from time to time I have to restart the IDE to make the plugin figure
> out some classpath change correctly.

You can try: right click on editor window, choose "Reset Scala
Parser", then switch to another source file, and switch back, it
should get the classpath change effect.

Jan Goyvaerts

unread,
Apr 25, 2011, 10:43:08 AM4/25/11
to Caoyuan, Paulo Siqueira, joebowbeer, scala-user
I'll have a try - what are the archetypes to use for Scala in fact ?

Tomás Lázaro

unread,
Jun 13, 2011, 7:44:09 PM6/13/11
to Caoyuan, scala-user
Hi Caoyuan,

We are working on a fork of the plugin  (https://github.com/rcano/nbscala). We want to add Code Generators (Alt+Insert). The idea is to be able to implement all the abstract methods and types and stuff like that we are used to in Java with a single command instead of writing everything. (Check all the Java options when pressing Alt+Insert to know what we mean I want to do)

We have a problem with the development process, we can't test the plugin without uninstalling the nbscala from our main editor. The IDE instance that runs with mvn:run-ide used the configuration we have in the main IDE instead of the plugin we are modifying.

How do you do the development process?

Thanks
Tomás
Reply all
Reply to author
Forward
0 new messages