# Syntax Highlighting

**URL:** <https://discuss.rubyonrails.org/t/syntax-highlighting/48746>\
**Category:** rubyonrails-talk\
**Created:** [January 21, 2010, 8:17am UTC](https://discuss.rubyonrails.org/t/syntax-highlighting/48746 "2010-01-21T08:17:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Sullivan](https://avatars.discourse-cdn.com/v4/letter/j/7ab992/32.png) [@James\_Sullivan](https://discuss.rubyonrails.org/u/James_Sullivan)\
**Post date:** [January 21, 2010, 8:17am UTC](https://discuss.rubyonrails.org/t/syntax-highlighting/48746/1 "2010-01-21T08:17:17Z")

</div>

It’s something I’m sure most of us, if not all, use in our text editor or IDE of choice yet there are so many different schemes out there. Syntax highlighting gives us the ability to see what we’ve done and if we’ve missed something in nothing more then a quick glance.

So just as a bit of a poll, something newer users to rails can look at to get ideas on what they might want to use and suggestions for people to look at in general. What syntax highlighting scheme do you use? And if you’re willing to to, why do you use it?

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [January 21, 2010, 9:48am UTC](https://discuss.rubyonrails.org/t/syntax-highlighting/48746/2 "2010-01-21T09:48:30Z")

</div>

James Sullivan wrote:

> It's something I'm sure most of us, if not all, use in our text editor or IDE of choice yet there are so many different schemes out there. Syntax highlighting gives us the ability to see what we've done and if we've missed something in nothing more then a quick glance.
> 
> So just as a bit of a poll, something newer users to rails can look at to get ideas on what they might want to use and suggestions for people to look at in general. What syntax highlighting scheme do you use? And if you're willing to to, why do you use it?

I don't care greatly about syntax highlighting, but when I'm in an editor that can do it, I like to at least tweak the scheme to make sure that (say) symbols, strings, and regexps all look different.

I've lately become a fan of TextMate-style "dark" schemes, after years of thinking I'd never like them.

Best,

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [January 21, 2010, 10:02am UTC](https://discuss.rubyonrails.org/t/syntax-highlighting/48746/3 "2010-01-21T10:02:00Z")

</div>

James Sullivan wrote:

> It's something I'm sure most of us, if not all, use in our text editor or IDE of choice yet there are so many different schemes out there. Syntax highlighting gives us the ability to see what we've done and if we've missed something in nothing more then a quick glance.
> 
> So just as a bit of a poll, something newer users to rails can look at to get ideas on what they might want to use and suggestions for people to look at in general. What syntax highlighting scheme do you use? And if you're willing to to, why do you use it?

I'm really new to rails and i'm finding textmate very good. I went with the custom 'theme' from Ryan Bates' that he uses in his railscasts ([About RailsCasts - RailsCasts](http://railscasts.com/about)). I like the text on the dark background.

Jon

---

<div class="post-metadata">

**Author:** ![Gregory\_Seidman1](https://avatars.discourse-cdn.com/v4/letter/g/a88e57/32.png) [@Gregory\_Seidman1](https://discuss.rubyonrails.org/u/Gregory_Seidman1)\
**Post date:** [January 21, 2010, 12:33pm UTC](https://discuss.rubyonrails.org/t/syntax-highlighting/48746/4 "2010-01-21T12:33:46Z")

</div>

I'm very happy with vim's highlighting, myself.

--Greg

---

<div class="post-metadata">

**Author:** ![Leonardo\_Mateo](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@Leonardo\_Mateo](https://discuss.rubyonrails.org/u/Leonardo_Mateo)\
**Post date:** [January 21, 2010, 1:46pm UTC](https://discuss.rubyonrails.org/t/syntax-highlighting/48746/5 "2010-01-21T13:46:31Z")

</div>

I'm using vim's xoria256 and I love it. Here[1] are some screenshots. If I'm not able to use a 256 terminal, I use zellner colorscheme.

Cheers.

[1] [http://blog.kandalf.com.ar/?p=89](http://blog.kandalf.com.ar/?p=89)

---

<div class="post-metadata">

**Author:** ![Philip\_Hallstrom](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@Philip\_Hallstrom](https://discuss.rubyonrails.org/u/Philip_Hallstrom)\
**Post date:** [January 21, 2010, 5:03pm UTC](https://discuss.rubyonrails.org/t/syntax-highlighting/48746/6 "2010-01-21T17:03:28Z")

</div>

I use Ryan Bates' 'railscasts' scheme in vim. Mostly because I like the colors... nothing to harsh, not many background color changes...

[http://pjkh.com/articles/2008/07/09/osx-iterm-screen-vim-256-colors](http://pjkh.com/articles/2008/07/09/osx-iterm-screen-vim-256-colors)

-philip
