Forum: Ruby on Rails How to alter Netbeans IDE so it considers files with a '.red' suffix to be Ruby files?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
47df9cfb356c3ee0523cc3571b169730?d=identicon&s=25 Kenneth McDonald (Guest)
on 2008-10-22 23:53
(Received via mailing list)
I'd like to play around with the Ruby Red Ruby-to-Javascript
translator, and it expects its Ruby sources to end with the .red
suffix. I haven't had any luck in figuring out how to set NB to
consider such files as Ruby files, so any advice would be most

Thanks in advance,
Ken McDonald
Dc9fd74988dd1690160223a670479242?d=identicon&s=25 Erno Mononen (Guest)
on 2008-10-27 16:25
(Received via mailing list)
Hi Ken,

I'm a bit late on this, but in case you didn't figure this out yet:
you can change file associations in Tools -> Options -> Miscellaneous
-> Files, you need to create a new extension for the .red suffix and
then associate it with the Ruby MIME type. Note that this is how you
do it in 6.5, I'm not sure now off the top of my head how to do it in
6.1 -- for sure it is a bit more complicated, but I think you can do
it somewhere in Options -> Advanced Options -> File Types. Let me know
if using 6.5 is not an option for you and I'll find out how exactly to
do this in 6.1.


2008/10/22 Kenneth McDonald <>:
This topic is locked and can not be replied to.