|
Subject: Re: Netbeans plugin Newsgroups: gmane.comp.lang.scala Date: 2006-11-03 18:41:28 GMT (2 years, 34 weeks, 6 days, 17 hours and 11 minutes ago)
Robert Hicks wrote:
> Is there any effort into creating a Netbeans plugin for Scala? I know of
> the eclipse one but I am on the "other" side. : )
Hi Robert,
I do not have satisfactory answer for you, however I worked on something
two months ago but it is in a very beginning phase. I've just spent few
whiles on it. I did not have any big plan, just want to learn both,
Scala and more about NetBeans APIs. I currently have just:
- ant-based project type support (utilizing <scalac>) I.e. project
should be usable also outside of NetBeans just as NB's java project
types. Currently I have basic XSL templates from which build.xml and
nbproject/build-impl.xml are generated.
- basic GUI support
- simple project logical view (in Project Tab)
- wizard for creating new Scala project
- wizard for creating new Scala class
- basic actions: (project|class) compilation, building, cleaning
- everything else what works with all project-types/files :)
As I said it's a very basic. I was on vacation for one month and
currently I have a lot of others must-have things to do. But I would
like to continue on it soon. Also I'm quite a beginner with Scala, just
interested in it after reading few papers...
...so yes, the main problem is the lack of editor-support (syntax
highlighting, code-completion, editor-hints, ...). In trunk (NB 6.0)
there is a new Lexer API(*) which could ease the start a lot. I was
learning it on simple Jasmin(**) plugin but still have a long way to go
and not enough time. By accidence yesterday I talked in a pub ;) with
the author of the Lexer API about Scala and maybe that he could join the
effort which would be great (would like to talk to him on Monday again).
Anyway if you (or anybody) would like to join let me know. I'm able to
work on the project infrastructure and various things in whole NetBeans.
I just need to learn Editor and relative APIs (or find someone).
In the (far?) future I would like to integrate Scala support into
NetBeans APISupport (support for NetBeans modules development) so it
would be possible to develop comfortably the plugin in the Scala itself
(which should be possible also now - just a tweak in the Ant build
script?, but not so comfortable).
But that is all just ideas and nights are short and not all weekends are
"free" ;)
m.
*
http://www.netbeans.org/download/dev/javadoc/org-netbeans-modules-lexer/overview-summary.html
** http://jasmin.sourceforge.net/
*** http://apisupport.netbeans.org/
|
|
|