Play 2 sub-project route file code completion
How do I get code completion, coloring, and all the other goodness in a Play 2 sub-project with a route file that's named xyz.Routes? It appears to be treated as a text file.
If you look at the documentation for splitting route files, http://www.playframework.com/documentation/2.1.0/SBTSubProjects, you will notice the note "Also, the route file in
adminis called
admin.routes".
Please sign in to leave a comment.
You can define .Routes as a scala extensions. Settings->File Types, select Scala and add the Routes as a scala extension.