This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
<h1><%= @title %></h1> is a valid piece of ERB code, but the editor shows the warning "Unmatched Tag". You can reproduce it with following procedure: 1. Create a blank ERB file and opened it with the NetBeans editor. 2. Input "<h1></h1>". 3. Put the cursor between two tags. 4. Input "<%= @title %>". If you save, close and open it again, the editor does not show any warning.
Created attachment 71729 [details] A capture image.
Which version did you use? I tried reproducing it using exactly your steps on the daily build, but it worked... There were indeed a number of problems with incremental embedding model updates which were fixed recently. I'm crossing my fingers that this is one of those issues that should be fixed in 6.5...
Well, I confirmed that the phenomenon I had reported did not happen in the latest build (200810161401). I used the 20081013xxxx or 20081014xxxx daily build when I posted this issue. Thanks.
Hmmm.... nothing has changed in the last 2-3 days in this area as far as I know (we're in high resistance) so that probably means that it's random / some sort of race condition.
It seems that a bug is still there. I downloaded the latest NetBeans IDE Dev (Build 200810170201) to my another PC (ubuntu 7.04), and saw the same warning against the same valid piece of ERB code. Peculiar fact is that this warning is shown only in a particular Rails project. When I created a new project and tried to reproduce this bug, I could not. I can not see any meaningful difference between these two projects. Both are Rails 2.1.1 projects for the native Ruby 1.8.6. If anyone instructs me how to debug the IDE, I am willing to do it.