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

View: New views
3 Messages — Rating Filter:   Alert me  

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

by dcaoyuan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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-scala-6.8v1.1.0m2.zip/download

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-scala-6.8v1.1.0m2.zip/download
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

Re: [scala-tools] [ANN][netbeans] Scala plugin for NetBeans 6.8 m2 and Scala 2.8.0 snapshot is available as beta

by Bugzilla from gethemant@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <dcaoyuan@...> 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-scala-6.8v1.1.0m2.zip/download
>
> 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-scala-6.8v1.1.0m2.zip/download
> 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
>



--
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.

http://gnufied.org

Re: [scala-tools] [ANN][netbeans] Scala plugin for NetBeans 6.8 m2 and Scala 2.8.0 snapshot is available as beta

by dcaoyuan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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 <dcaoyuan@gmail.com> 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-scala-6.8v1.1.0m2.zip/download
>
> 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-scala-6.8v1.1.0m2.zip/download
> 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
>



--
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.

http://gnufied.org
Right click on source, choose "Reset Scala Parser"