aboutsummaryrefslogtreecommitdiff
path: root/docs/contributing/intellij-idea.md
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-10-06 18:11:11 +0200
committerGitHub <noreply@github.com>2016-10-06 18:11:11 +0200
commit10ff9494165210b22eb80e989fc10c3ebf393bae (patch)
treeca9fa2f142b8e06d681d65eaf5afa5b44c7d98fc /docs/contributing/intellij-idea.md
parenteaa7f1730aa9da0aa7e4b2c4e86fbcc3acf26131 (diff)
parent237ddc31ab0281f9f2cddf598fc5f9af50f91f06 (diff)
downloaddotty-10ff9494165210b22eb80e989fc10c3ebf393bae.tar.gz
dotty-10ff9494165210b22eb80e989fc10c3ebf393bae.tar.bz2
dotty-10ff9494165210b22eb80e989fc10c3ebf393bae.zip
Merge pull request #1555 from felixmulder/topic/docs
Migrate wiki to docs dir
Diffstat (limited to 'docs/contributing/intellij-idea.md')
-rw-r--r--docs/contributing/intellij-idea.md36
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/contributing/intellij-idea.md b/docs/contributing/intellij-idea.md
new file mode 100644
index 000000000..dda04f515
--- /dev/null
+++ b/docs/contributing/intellij-idea.md
@@ -0,0 +1,36 @@
+---
+layout: default
+---
+
+Building Dotty with Intellij IDEA
+=================================
+Dotty compiler support is available in the [Scala plugin nightly] starting
+from 2.2.39. You need to install [IDEA 2016.1] to try it.
+
+## To create a new project with Dotty
+
+1. Open New Project dialog and select `Scala` > `Dotty`
+2. Proceed as usual and don't forget to create or select Dotty SDK.
+
+## To compile an existing Scala project with Dotty
+
+1. Create a new Dotty SDK:
+ `Project Structure` > `Global libraries` > `New Global Library` > `Dotty SDK`
+2. Replace Scala SDK with Dotty SDK in:
+ `Project Structure` > `Modules` > `Dependencies`
+
+Java 1.8 should be used as the Project/Module SDK. You also need to enable the
+Scala Compile Server to use Dotty compiler.
+
+## Notes
+* Dotty support is experimental, many features including code highlighting and
+ worksheet are not ready yet.
+* You can download the latest version of Dotty without creating a new Dotty SDK
+ with the `Update snapshot` button in the Dotty SDK library settings.
+* Please report any problems to the [IntelliJ Scala issue tracker] or write
+ to the [IntelliJ Scala gitter]
+
+[Scala plugin nightly]: https://confluence.jetbrains.com/display/SCA/Scala+Plugin+Nightly
+[IDEA 2016.1]: https://www.jetbrains.com/idea/nextversion/
+[IntelliJ Scala issue tracker]: https://youtrack.jetbrains.com/issues/SCL
+[IntelliJ Scala gitter]: https://gitter.im/JetBrains/intellij-scala