- Common Informations
- Where to start?
- Community
- Snapshot Builds
- Build Instructions
- Project Details
This is a plugin of the Netbeans Platform for the scala language. It targets version 2.9.x. In case of a maven scala project, no local installation of scala is needed. It enables syntax checking, syntax highlighting, auto-completion, pretty formatter, occurrences mark, brace matching, indentation, code folding, function navigator, go to declaration, project management and a shell console. It's is specially useful if you are maven user.
The project central point is https://github.com/dcaoyuan/nbscala. There are some over places, where the project was hosted before, but they are abandoned now.
Well, till now this is mostly a one man project. Some patches were supplied by different people. But I'm still convinced, that it will gather a community soon. For questions and bug reports use the issue tracker. If interested in joining the project you can write me directly or send patches/pull requests.
Snapshot builds can be found here http://sourceforge.net/projects/erlybird. I'm using sourceforge because of their supply of higher bandwidth.
Make sure you don't have an old version installed. (Check your netbeans installation if there exists a directory 'nbscala'. If yes delete it) Download the latest release at sourceforge. Extract all files into a directory. Start Netbeans. Select Tools -> Plugins -> Downloaded -> Add Plugins ... . Select all extracted files. Accept the licence and the installation of unsigned plugins.
- Java 1.6 (Java 1.7 not supported yet)
- Maven 2.x/3.x
- NetBeans 7.1
Make a new copy of your installed NetBeans (which will be used to run 'mvn nbm:run-ide' goal), check if there is a directory 'nbscala' under this copy, if yes, delete it. Then set 'nb.installation' property in your maven settings.xml (.m2/settings.xml) to point to this copy:
<profiles>
<profile>
<id>netbeans</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<nb.installation>${user.home}/myapps/netbeans-71</nb.installation>
</properties>
</profile>
</profiles>
cd nbscala
mvn clean install
cd nbscala
mvn nbm:autoupdate
the nbms and update site can be found at nbscala/target/netbeans_site
cd nbscala
mvn nbm:cluster
To run:
mvn nbm:run-ide
To debug:
mvn nbm:run-ide -Pdebug-ide
The Project targets version 2.9.x of the scala release.