scala-ide / scala-ide-play2

Play 2 support for Scala IDE
107 stars 32 forks source link

Hyperlinking in route file is not working when file and controller name differs #271

Open david-bouyssie opened 8 years ago

david-bouyssie commented 8 years ago

I have a file named "Users.scala" containing a UserService object and a UserController object. In the route file I have an URL mapped to an action of my UserController. In this case the hyperlinking is not working while it works correctly when the name of the file and the controller are the same.

dragos commented 8 years ago

Unfortunately this is a limitation of the Scala presentation compiler. It would behave similarly even if the link was in a Scala file, though once the file is open it may keep working. Not a lot can be done on the IDE side.