Skip to content

Fix screenshots locations #7170

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/docs/contributing/tools/eclipse.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.

8 changes: 4 additions & 4 deletions docs/docs/contributing/tools/intellij-idea.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down