erb files - rubymine not finding variable names
Hello
https://dl.dropboxusercontent.com/spa/lkj2dewi3ofvkgc/qjoik1d5.jpg
Here is a picture of my erb file flagging errors that are not errors, along with the routes of my app.
Isn't rubymine supposed to be able to recognize ruby variables in erb files?
What setting do I have to switch to make it recognize that erb is ruby?
P.S. Also, there is still no way to comment out erb code other than manually inserting the '#' inside the erb tags, is there? That would be a nice addition!
请先登录再写评论。
I created issue: https://youtrack.jetbrains.com/issue/RUBY-15983. We are working on it. Vote for the issue so to get notification when it fixed