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.
Various improvements in the editing of Ruby, RHTML and YAML files.
Hello, In Rails fixtures you can always use some Ruby code in such way as in erb templates. For example you can write: <% i = 1 %> <% 5.times do %> rec_<%= i += 1 %> name: <%= "Name#{i}" %> <% end %> Unfortunately NB editor reports it as error: "unexpected token %"
Hi Piter, in which filetypes do you find code like the below? Can you attach a simple sample file?
I mean that Rails fixtures (*.yml, wich are YAML files) allows you embed ruby code within them. This functionality allows you to use Ruby to help you generate some large sets of testing data. I wrote example in my last comment and as I said --- editor reports such embeded Ruby code in <% and %> as error.
Removing 6.1 planning keyword, but let's keep this open for the post-6.1 purposes.