Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
lrytz committed Sep 5, 2012
1 parent 4ecbefa commit aa1cd89
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions ToolsSetup.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,16 @@ By default, eclipse enables code folding for class comments. In our programming
To make sure you installed the Scala IDE correctly, create a small "Hello World" project in Eclipse:

1. Go to "File" - "New" - "Other..." and select "Scala Project" from the folder "Scala Wizards"
1. Chose a project name and select "Finish"
1. Chose a project name and select "Finish"
<img src="https://raw.github.com/lrytz/progfun-wiki/gh-pages/images/eclipse-new-project.png"/>
1. If you are asked to switch to the Scala perspective choose "Yes"
1. Select "File" - "New" - "Scala Object" to create a new object
1. Enter `Hello` as the name for the object and put `greeter` as the package name above
1. Enter `Hello` as the name for the object and put `greeter` as the package name above
<img src="https://raw.github.com/lrytz/progfun-wiki/gh-pages/images/eclipse-new-object.png"/>
1. Change the source code to the one given below \[1\]
1. Save the file and select "Run" - "Run" from the menu. Chose to run as "Scala Application"
1. Save the file and select "Run" - "Run" from the menu. Chose to run as "Scala Application"
<img src="https://raw.github.com/lrytz/progfun-wiki/gh-pages/images/eclipse-run-as.png"/>


You should see a the hello world output in the Eclipse console.

Expand Down
Binary file added images/eclipse-new-object.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/eclipse-new-project.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/eclipse-run-as.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit aa1cd89

Please sign in to comment.