diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2016-10-04 12:58:10 +0200 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2016-10-06 16:39:39 +0200 |
commit | 4fa7c71af100d45bce37c2cce0890c1d8365dbc4 (patch) | |
tree | 18bfbe1a5bd3561c1094d10fd283f25c83cc2a37 /docs/contributing/inellij-idea.md | |
parent | eaa7f1730aa9da0aa7e4b2c4e86fbcc3acf26131 (diff) | |
download | dotty-4fa7c71af100d45bce37c2cce0890c1d8365dbc4.tar.gz dotty-4fa7c71af100d45bce37c2cce0890c1d8365dbc4.tar.bz2 dotty-4fa7c71af100d45bce37c2cce0890c1d8365dbc4.zip |
Move wiki into docs dir
Diffstat (limited to 'docs/contributing/inellij-idea.md')
-rw-r--r-- | docs/contributing/inellij-idea.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/docs/contributing/inellij-idea.md b/docs/contributing/inellij-idea.md new file mode 100644 index 000000000..7e79e8327 --- /dev/null +++ b/docs/contributing/inellij-idea.md @@ -0,0 +1,32 @@ +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 |