Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template files cannot identify each other, unless all of them are compiled by saving (or reconciling) #6

Open
amirsh opened this issue Aug 30, 2012 · 0 comments
Labels

Comments

@amirsh
Copy link
Member

amirsh commented Aug 30, 2012

In order to force template files know each other, they should be compiled. If they are not compiled, they cannot know each other.

For example, suppose the code for a.scala.html is like this:
@(number: Int)
and the code for b.scala.html is:
@()
@A(1)

When you open b.scala.html, it will have compile error in the second line. That's because a.scala.html is not loaded. If you open a.scala.html, and make it to be loaded (by making some changes and saving), the errors in b.scala.html will be disappeared!

dragos pushed a commit to dragos/scala-ide-play2 that referenced this issue Jun 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant