Rails .rhtml files are displayed with syntax sensitive code coloring which supports the coloring both of HTML and embedded Ruby code. Code collapsing in .rhtml files is performed on HTML tags. You can also take advantage of the special features of the Visual Studio HTML editor by switching quickly between the RHTML and the HTML editors when working on an RHTML file. See: Toggle RHTML - HTML Editing
See Also
Rails
Ruby On Rails Development
Toggle RHTML - HTML Editing
Customization
Code Color Options