scala-ide / scala-worksheet

A Scala IDE plugin for a multi-line REPL (called worksheet)
96 stars 24 forks source link

Change current directory to workspace #102

Open hseeberger opened 12 years ago

hseeberger commented 12 years ago

The current directory of the worksheet is not the workspace, but the installation directory of Eclipse:

val current = new File(".") //> current : java.io.File = . current.getCanonicalPath //> res0: String = /Users/heiko/tools/eclipse/eclipse-3.7.2-2.10.0-RC1/Eclipse.app/Contents/MacOS

dragos commented 11 years ago

Agreed, this could default to the current project, or be configurable.

metasim commented 10 years ago

The title of #156 is more descriptive than #102, and might have greater chance of gaining an assignee.

metasim commented 7 years ago

I'm interested to know if this is still the only way of working around this problem:

http://stackoverflow.com/a/21812892/296509

kiritsuku commented 7 years ago

yes, there is no way to configure working directory from outside the worksheet.