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.

Bug 104929

Summary: Iterators and ERB tags not being recognized as identation levels, while automatic reformatting.
Product: ruby Reporter: gnufied <gnufied>
Component: RHTMLAssignee: Torbjorn Norbye <tor>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 116231    
Bug Blocks:    

Description gnufied 2007-05-28 00:39:47 UTC
When using "Source -> Reformat Code", automatic code reformatting doesn't
recognize ERB (%) tags and assigns them same level of indentation no matter, if
there are iterators within.
Comment 1 Torbjorn Norbye 2007-06-19 19:00:17 UTC
I believe Marek is working on RHTML indentation
Comment 2 Jiri Kovalsky 2007-07-03 13:54:31 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 3 Torbjorn Norbye 2007-08-09 23:46:46 UTC
I have this mostly working, but not checked in yet because it depends on some editor infrastructure changes
(specifically, ability to get ruby indenter to run after html indenter since the html indenter is clobbering the ruby
indenter's work)
Comment 4 Torbjorn Norbye 2007-09-18 17:42:32 UTC
This should be working properly now. (There is also a property in the options panel under Ruby which controls whether
Ruby conditionals will indent embedded HTML content.)
Comment 5 Torbjorn Norbye 2007-09-18 20:55:44 UTC
Seems it was a really bad time to close this bug; it's been working for months but something changed in the HTML
formatter yesterday (http://deadlock.netbeans.org/fisheye/changelog/netbeans/html?cs=MAIN:tslota:20070917154018 )  which
has broken RHTML formatting ( http://deadlock.netbeans.org/hudson/job/rubytests ).  I'm investigating.
Comment 6 Torbjorn Norbye 2007-09-25 00:49:38 UTC
Okay, things should be working again.