Kenneth McDonald
2008-Oct-22 21:52 UTC
How to alter Netbeans IDE so it considers files with a ''.red'' suffix to be Ruby files?
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 appreciated. Thanks in advance, Ken McDonald --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Erno Mononen
2008-Oct-27 15:24 UTC
Re: How to alter Netbeans IDE so it considers files with a ''.red'' suffix to be Ruby files?
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. Erno 2008/10/22 Kenneth McDonald <kenneth.m.mcdonald-rphTv4pjVZMJGwgDXS7ZQA@public.gmane.org>:> > 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 > appreciated. > > Thanks in advance, > Ken McDonald > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---