# Syntax highlighting for .erb files

**URL:** <https://www.ruby-forum.com/t/syntax-highlighting-for-erb-files/154746>\
**Category:** Rails\
**Created:** [December 3, 2008, 2:54pm UTC](https://www.ruby-forum.com/t/syntax-highlighting-for-erb-files/154746 "2008-12-03T14:54:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepa\_c\_shirur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b9bd4f/32.png) [@deepa\_c\_shirur](https://www.ruby-forum.com/u/deepa_c_shirur)\
**Post date:** [December 3, 2008, 2:54pm UTC](https://www.ruby-forum.com/t/syntax-highlighting-for-erb-files/154746/1 "2008-12-03T14:54:10Z")

</div>

hi i am using radrails for ruby on rails development.I am creating  
html.erb for my application.i have noticed syntax is not highlighting  
for html.erb, please help  
thanks in advance

---

<div class="post-metadata">

**Author:** ![deepa\_c\_shirur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b9bd4f/32.png) [@deepa\_c\_shirur](https://www.ruby-forum.com/u/deepa_c_shirur)\
**Post date:** [December 3, 2008, 3:45pm UTC](https://www.ruby-forum.com/t/syntax-highlighting-for-erb-files/154746/2 "2008-12-03T15:45:03Z")

</div>

Deepa Shirur wrote:

> hi i am using radrails for ruby on rails development.I am creating  
> html.erb for my application.i have noticed syntax is not highlighting  
> for html.erb, please help  
> thanks in advance

Tell what exactly happening ?  
ur question is not clear…  
may i know which version u r usin deepa ??

---

<div class="post-metadata">

**Author:** ![deepa\_c\_shirur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b9bd4f/32.png) [@deepa\_c\_shirur](https://www.ruby-forum.com/u/deepa_c_shirur)\
**Post date:** [December 3, 2008, 8:11pm UTC](https://www.ruby-forum.com/t/syntax-highlighting-for-erb-files/154746/3 "2008-12-03T20:11:14Z")

</div>

Hi Deepa,

I would suggest you to shift to Netbeans ruby which is better than  
Radrails  
I have been using Radrails about 1.5 years and recently shifted to  
Netbeans  
(6 months back and am happy with it) as Radrails was crashing multiple  
times  
and I found that Netbeans had better support for html and js  
highlighting  
functionality

Regards,  
NAYAK

On Wed, Dec 3, 2008 at 8:15 PM, Sukeerthi A. \<

---

<div class="post-metadata">

**Author:** ![deepa\_c\_shirur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b9bd4f/32.png) [@deepa\_c\_shirur](https://www.ruby-forum.com/u/deepa_c_shirur)\
**Post date:** [December 4, 2008, 5:58am UTC](https://www.ruby-forum.com/t/syntax-highlighting-for-erb-files/154746/4 "2008-12-04T05:58:41Z")

</div>

Sukeerthi A. wrote:

> Deepa Shirur wrote:
> 
> > hi i am using radrails for ruby on rails development.I am creating  
> > html.erb for my application.i have noticed syntax is not highlighting  
> > for html.erb, please help  
> > thanks in advance
> 
> Tell what exactly happening ?  
> ur question is not clear…  
> may i know which version u r usin deepa ??

I am using Rails 2.0.2, my question is like in aptana, in html.erb files  
every syntax will display with some highlighting, but in rails html.erb  
files there is no highlight…clear??

---

<div class="post-metadata">

**Author:** ![deepa\_c\_shirur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b9bd4f/32.png) [@deepa\_c\_shirur](https://www.ruby-forum.com/u/deepa_c_shirur)\
**Post date:** [December 4, 2008, 6:18am UTC](https://www.ruby-forum.com/t/syntax-highlighting-for-erb-files/154746/5 "2008-12-04T06:18:12Z")

</div>

hi,  
which editor u r using to see the erb file?  
if u use scite editor u r doubt will be clear i hope.

On Thu, Dec 4, 2008 at 10:28 AM, Deepa Shirur
