This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 256718

Summary: Scala Supprot & Integration via Sbt on Netbeans.
Product: contrib Reporter: raliclo
Component: ScalaAssignee: _ dcaoyuan <dcaoyuan>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 8.1   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:

Description raliclo 2015-11-21 02:33:06 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Mac OS X version 10.11.1 running on x86_64
Java; VM; Vendor = 1.8.0_66
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.66-b17

Reproducibility: Happens every time

STEPS:
1) Download  Plugin
http://plugins.netbeans.org/plugin/56855/nbscala-1-7-0-0
Install by Tools -> Plugin -> Downloaded. ,Select all plugins
This plugin add in a mudule to excute scala on netbeans.

2)
brew install scala
brew install scalaenv
brew install sbt 

3)
File -> New Project -> Scala -> New Scala sbt project

4) Codes:
def main(args: Array[String]): Unit = {
    println("Hello, world!")
    System.out.println("Hello");
  }
5) Press F6 to run


ACTUAL:
Hello, world!
Hello

EXPECTED:
  
It helps NetBeans to seamlessly integrate Java & Scala as an awesome IDE for Scala/Java developer.
Please consider enlist this plugin into a defalut bundle of NetBeans IDE
Comment 1 Jiri Kovalsky 2015-11-23 09:23:15 UTC
Reassigned to Scala. Can you please Caoyuan consider this RFE? Thanks!