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

[ANN][netbeans] Scala plugin for NetBeans 6.8 m2 and Scala 2.8.0 snapshot is available as beta

2 replies
Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.

As NetBeans 6.8 m2 released, I packed a downloadable binary at:
https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0m2/nb-...

Which works with Scala 2.8.0.r18993 or above.

** Please do not install Scala plugin via Update Center for NetBeans
6.8 m2, it's not compatible. Use the above link to download and
install **

[New & Noteworthy]

* Much more responsive when typing and for code-completion
* More refactoring: find usages, rename across opened projects
* Breakpoint works everywhere (almost)
* Better supporting for mixed Java/Scala project in both direction
(Java is visible in Scala and vice versa)
* Better integration with NetBeans maven plugin
* Better code completion even for implicit methods (in most cases)
* Better indentation and formatter for unfinished line after 'if',
'else', '=', 'for', 'while', 'do' etc
* Better syntax highlighting for val/var, lazy val, implicit call,
byname param, abstract method etc
* Mark of implemented/overridden methods, click on mark will jump to
super definition
* Go to type ("Ctrl+O")
* Select parts of code, press '{', '[', '(', '"', '`' will add/replace
surrounding pair, press '~' will remove them. Specially, press '/'
will block-comment it
* Reset Scala interactive parser when necessary, for instance:
dependent libs changed (Right click on source, choose "Reset Scala
Parser" in pop-up menu)
* Output highlighted code to html ([File] -> [Print to HTML...])
* Some basic hints, for instance: fixing import, unused imports
* Code template now works, check or add your own via
[Options/Preferences] -> [Editor] -> [Code Templates] -> [Scala]

[Install with NetBeans 6.8 M2]

1. Download and install the latest Scala-2.8.0 snapshot runtime via Scala's home
2. Set $SCALA_HOME environment variable to point to the installed
Scala runtime path. Add $SCALA_HOME/bin to PATH environment variable.
Note for Mac OS user, $SCALA_HOME environment variable may not be
visible for Applications/NetBeans, see MacOSXEnvForApp
3. Get the NetBeans 6.8 M2 from: http://bits.netbeans.org/netbeans/6.8/m2/
4. Get the Scala plugins binary from:
https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0m2/nb-...
5. Unzip Scala plugin binary to somewhere
6. Open NetBeans, go to "Tools" -> "Plugins", click on "Downloaded"
tab title, click on "Add Plugins..." button, choose the directory
where the Scala plugins are unzipped, select all listed *.nbm files,
following the instructions.

[Tips]

If you encounter "... Could not connect to compilation daemon.", try
to run "fsc -reset" under a command/terminal window.

[More info]

http://wiki.netbeans.org/Scala68v1

--Caoyuan

gnufied
Joined: 2008-08-19,
User offline. Last seen 3 years 18 weeks ago.
Re: [ANN][netbeans] Scala plugin for NetBeans 6.8 m2 and Scala

When I add a jar to my project, do I still have to restart the IDE in
order to get auto-completion work on classes/interfaces referenced
from the jar?

On Fri, Oct 9, 2009 at 2:47 PM, Caoyuan wrote:
> As NetBeans 6.8 m2 released, I packed a downloadable binary at:
> https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0m2/nb-...
>
> Which works with Scala 2.8.0.r18993 or above.
>
> ** Please do not install Scala plugin via Update Center for NetBeans
> 6.8 m2, it's not compatible. Use the above link to download and
> install **
>
> [New & Noteworthy]
>
> * Much more responsive when typing and for code-completion
> * More refactoring: find usages, rename across opened projects
> * Breakpoint works everywhere (almost)
> * Better supporting for mixed Java/Scala project in both direction
> (Java is visible in Scala and vice versa)
> * Better integration with NetBeans maven plugin
> * Better code completion even for implicit methods (in most cases)
> * Better indentation and formatter for unfinished line after 'if',
> 'else', '=', 'for', 'while', 'do' etc
> * Better syntax highlighting for val/var, lazy val, implicit call,
> byname param, abstract method etc
> * Mark of implemented/overridden methods, click on mark will jump to
> super definition
> * Go to type ("Ctrl+O")
> * Select parts of code, press '{', '[', '(', '"', '`' will add/replace
> surrounding pair, press '~' will remove them. Specially, press '/'
> will block-comment it
> * Reset Scala interactive parser when necessary, for instance:
> dependent libs changed (Right click on source, choose "Reset Scala
> Parser" in pop-up menu)
> * Output highlighted code to html ([File] -> [Print to HTML...])
> * Some basic hints, for instance: fixing import, unused imports
> * Code template now works, check or add your own via
> [Options/Preferences] -> [Editor] -> [Code Templates] -> [Scala]
>
>
> [Install with NetBeans 6.8 M2]
>
> 1. Download and install the latest Scala-2.8.0 snapshot runtime via Scala's home
> 2. Set $SCALA_HOME environment variable to point to the installed
> Scala runtime path. Add $SCALA_HOME/bin to PATH environment variable.
> Note for Mac OS user, $SCALA_HOME environment variable may not be
> visible for Applications/NetBeans, see MacOSXEnvForApp
> 3. Get the NetBeans 6.8 M2 from: http://bits.netbeans.org/netbeans/6.8/m2/
> 4. Get the Scala plugins binary from:
> https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0m2/nb-...
> 5. Unzip Scala plugin binary to somewhere
> 6. Open NetBeans, go to "Tools" -> "Plugins", click on "Downloaded"
> tab title, click on "Add Plugins..." button, choose the directory
> where the Scala plugins are unzipped, select all listed *.nbm files,
> following the instructions.
>
> [Tips]
>
> If you encounter "... Could not connect to compilation daemon.", try
> to run "fsc -reset" under a command/terminal window.
>
> [More info]
>
> http://wiki.netbeans.org/Scala68v1
>
>
> --Caoyuan
>

Caoyuan
Joined: 2009-01-18,
User offline. Last seen 42 years 45 weeks ago.
Re: [ANN][netbeans] Scala plugin for NetBeans 6.8 m2 and Scala

hemant-6 wrote:
>
> When I add a jar to my project, do I still have to restart the IDE in
> order to get auto-completion work on classes/interfaces referenced
> from the jar?
>
>
>
> On Fri, Oct 9, 2009 at 2:47 PM, Caoyuan wrote:
>> As NetBeans 6.8 m2 released, I packed a downloadable binary at:
>> https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0m2/nb-...
>>
>> Which works with Scala 2.8.0.r18993 or above.
>>
>> ** Please do not install Scala plugin via Update Center for NetBeans
>> 6.8 m2, it's not compatible. Use the above link to download and
>> install **
>>
>> [New & Noteworthy]
>>
>> * Much more responsive when typing and for code-completion
>> * More refactoring: find usages, rename across opened projects
>> * Breakpoint works everywhere (almost)
>> * Better supporting for mixed Java/Scala project in both direction
>> (Java is visible in Scala and vice versa)
>> * Better integration with NetBeans maven plugin
>> * Better code completion even for implicit methods (in most cases)
>> * Better indentation and formatter for unfinished line after 'if',
>> 'else', '=', 'for', 'while', 'do' etc
>> * Better syntax highlighting for val/var, lazy val, implicit call,
>> byname param, abstract method etc
>> * Mark of implemented/overridden methods, click on mark will jump to
>> super definition
>> * Go to type ("Ctrl+O")
>> * Select parts of code, press '{', '[', '(', '"', '`' will add/replace
>> surrounding pair, press '~' will remove them. Specially, press '/'
>> will block-comment it
>> * Reset Scala interactive parser when necessary, for instance:
>> dependent libs changed (Right click on source, choose "Reset Scala
>> Parser" in pop-up menu)
>> * Output highlighted code to html ([File] -> [Print to HTML...])
>> * Some basic hints, for instance: fixing import, unused imports
>> * Code template now works, check or add your own via
>> [Options/Preferences] -> [Editor] -> [Code Templates] -> [Scala]
>>
>>
>> [Install with NetBeans 6.8 M2]
>>
>> 1. Download and install the latest Scala-2.8.0 snapshot runtime via
>> Scala's home
>> 2. Set $SCALA_HOME environment variable to point to the installed
>> Scala runtime path. Add $SCALA_HOME/bin to PATH environment variable.
>> Note for Mac OS user, $SCALA_HOME environment variable may not be
>> visible for Applications/NetBeans, see MacOSXEnvForApp
>> 3. Get the NetBeans 6.8 M2 from:
>> http://bits.netbeans.org/netbeans/6.8/m2/
>> 4. Get the Scala plugins binary from:
>> https://sourceforge.net/projects/erlybird/files/nb-scala/6.8v1.1.0m2/nb-...
>> 5. Unzip Scala plugin binary to somewhere
>> 6. Open NetBeans, go to "Tools" -> "Plugins", click on "Downloaded"
>> tab title, click on "Add Plugins..." button, choose the directory
>> where the Scala plugins are unzipped, select all listed *.nbm files,
>> following the instructions.
>>
>> [Tips]
>>
>> If you encounter "... Could not connect to compilation daemon.", try
>> to run "fsc -reset" under a command/terminal window.
>>
>> [More info]
>>
>> http://wiki.netbeans.org/Scala68v1
>>
>>
>> --Caoyuan
>>
>
>
>

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