From 0960bb1385a27362ce0cc7c6229a1b66ee18e0be Mon Sep 17 00:00:00 2001 From: Jarek Sacha Date: Sat, 31 May 2014 23:40:31 -0400 Subject: [PATCH] IDEA and NetBeans can now directly use SBT projects. --- README.md | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 895bc48..130d13a 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,10 @@ Simple example of a ScalaFX application using [Simple-Build-Tool](http://www.sca Content ------- -src/main/scala/hello/ScalaFXHelloWorld.scala - sample ScalaFX application. - -build.sbt - the main SBT configuration file. -project/build.properties - version of SBT to use. -project/plugins.sbt - plugins used for creation of IDEA and Eclipse projects. +* `src/main/scala/hello/ScalaFXHelloWorld.scala` - sample ScalaFX application. +* `build.sbt` - the main SBT configuration file. +* `project/build.properties` - version of SBT to use. +* `project/plugins.sbt` - plugins used for creation of IDEA and Eclipse projects. @@ -24,21 +23,28 @@ How to build and Run 3. Run the example: change o directory containing this example and use SBT to build and run the example: + ``` %> sbt run + ``` It will download needed dependencies, including Scala and ScalaFX, and run the example code. -Crete project for IDEA or Eclipse ---------------------------------- +Import into IDEA or NetBeans +---------------------------- + +Intellij IDEA and NetBeans with Scala plugins can directly import SBT projects. + + +Crete project for Eclipse +------------------------- If you want to create project that can be used with IntelliJ IDEA, inside this project directory, at command prompt type: %> sbt gen-idea - If you want to create project that can be used with Eclipse, inside this project directory, at command prompt type: