Play! framework. create a new view

Viewed 6874

I created a new project using the play console
now, by default I got in my views directory two files:

main.scala.html   
index.scala.html 

I want to add a new view file. I call it "forums.scala.html"
now, I know that in order to render a view you need to do this:

views.html.forums.render("Forums");

the problem is that the intellisense doesn't recognize "forums"
but index and main it does recognize.
I've noticed those files:

class_managed/views.html/index.class
class_managed/views.html/main.class

but there is no forums.class so I suspect this is the problem.
I tried to build the project, but it didn't help.
so, what is the solution?

thanks

4 Answers
Related