diff --git a/docs/docs/contributing/tools/eclipse.md b/docs/docs/contributing/tools/eclipse.md index 50cdff8f1314..9445d9dd2948 100644 --- a/docs/docs/contributing/tools/eclipse.md +++ b/docs/docs/contributing/tools/eclipse.md @@ -36,12 +36,12 @@ Import to Eclipse First step is to import dotty to Eclipse. This is done by selecting `File > Import` from the menu and selecting _Existing Projects into Workplace_. -![](../../images/eclipse/eclipse-import.png "Import Dotty to Eclipse") +![](../../../images/eclipse/eclipse-import.png "Import Dotty to Eclipse") On the next window, select the bare minimum configuration to run Dotty. You will need the compiler, library and the interfaces. -![](../../images/eclipse/eclipse-select.png "Import Dotty Projects") +![](../../../images/eclipse/eclipse-select.png "Import Dotty Projects") Running/Debugging @@ -55,7 +55,7 @@ specify three `Bootstrap Entries` which are the compiler, interfaces and the lib Additionally you need to specify the scala-asm library as an external jar dependency. This can be found on your local `~/.ivy2/cache/` directory. -![](../../images/eclipse/eclipse-runconfiguration.png "Import Dotty Projects") +![](../../../images/eclipse/eclipse-runconfiguration.png "Import Dotty Projects") The compiler can be run and debugged using the same configuration. diff --git a/docs/docs/contributing/tools/intellij-idea.md b/docs/docs/contributing/tools/intellij-idea.md index 4a6074544947..56845066130d 100644 --- a/docs/docs/contributing/tools/intellij-idea.md +++ b/docs/docs/contributing/tools/intellij-idea.md @@ -13,19 +13,19 @@ you can now proceed with importing it to IDEA by selecting the corresponding option from the startup menu. Navigate on the corresponding directory and select it. Next, you need to select the model of the import and as the screenshot shows, select SBT. -![](../../images/idea/idea-import.png "Import Dotty in IDEA") +![](../../../images/idea/idea-import.png "Import Dotty in IDEA") Next, you select the version of the JDK that this project relies on and verify that you have selected 1.8 (assuming its installed on your local machine). Otherwise, specify it by pressing *New*. -![](../../images/idea/idea-sdk.png "Select the JDK") +![](../../../images/idea/idea-sdk.png "Select the JDK") Next we must select which modules we can import. IDEA version 2017.1 and earlier presents the full list of SBT modules that are defined in Dotty. You can either select all (expect performance degradation if you select all) or select only the `dotty` module. In order to do that, unselect all modules and select on `dotty`. IDEA, then, automatically selects all the necessary dependencies and you press OK. -![](../../images/idea/idea-sbt.png "Select modules to import") +![](../../../images/idea/idea-sbt.png "Select modules to import") In IDEA version 2017.2 and later, wait for the project to load. Then right click on `dotty` in the project explorer and select `Load/Unload Modules...`. Select only `dotty`, accept when IDEA asks to add its dependencies and press OK. @@ -56,7 +56,7 @@ Next a configuration for Debug must be created in IDEA: > Run > Edit Configurations > Add New Configuration > (select) Remote -![](../../images/idea/idea-debug.png "Create a Debug Configuration") +![](../../../images/idea/idea-debug.png "Create a Debug Configuration") Under `Search sources using module's classpath` select `dotty`. Set breakpoints as desired. Then hit the button whose tooltip says `Debug dotty-debug` (since we used `dotty-debug` for the name of