Open declaration does not work in Build.scala in new Play application
Steps to reproduce:
1. Install Play 2.0.1
2.
3. Import the new project into eclipse workspace
4. open Build.scala
5. click on the identifier Build
6. Press F3
Nothing happens. The source file for the Build template should be opened. In the Outline pane, you can see some <errors>s, but there is nothing relevant in the Error Log pane if you show it.
[luc] This is not specific to Play. It happens with any sbt project.
1. Install Play 2.0.1
2.
play new test
> test
> 1
cd test
play
$ eclipsify with-source=true
3. Import the new project into eclipse workspace
4. open Build.scala
5. click on the identifier Build
6. Press F3
Nothing happens. The source file for the Build template should be opened. In the Outline pane, you can see some <errors>s, but there is nothing relevant in the Error Log pane if you show it.
[luc] This is not specific to Play. It happens with any sbt project.
Leave a comment
on 2012-05-08 12:06 *
By skyluc
Type changed from Defect to Enhancement
Component changed from None to SBT Integration
Description changed from Steps to reproduce:
1. Ins... to Steps to reproduce:
1. Ins...
Milestone set to Enhancements
This is the expected behavior with the current state of support of sbt in Scala IDE (i.e. none).
Scala IDE is able to open Scala files that are not part of the source of an application, but then, only a limited support is provided. Syntax highlighting is working, but not semantic and implicit highlighting, compilation or hyperlinking.
We hope to support this test case when some real sbt support is implemented, but the current contributors are not planning to work on it right now.
Build.scala
, and the project
folder, is part of the build definition, not of the application source. As such, sbteclipse (eclipsify in Play) doesn't add the project
folder to the list of source folders.Scala IDE is able to open Scala files that are not part of the source of an application, but then, only a limited support is provided. Syntax highlighting is working, but not semantic and implicit highlighting, compilation or hyperlinking.
We hope to support this test case when some real sbt support is implemented, but the current contributors are not planning to work on it right now.
on 2015-03-13 22:15 *
By Simon Schäfer
Eclipse version changed from Indigo to Luna - Eclipse 4.4
Version changed from 2.0.1-final-29 to 4.0.0
Milestone changed from Enhancements to -none-