Hi, This starting t drive me crazy now, Does anyone know of a way to get RadRails to support the new .erb file''s in the way it does for the old .rhtml files? thanks adam -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Well, you can open the preferences (Window > Preferences) and then go to General > Editors > File Associations. Click the top "Add" to add ''*.erb'' and then, with it highlighted, click the bottom "Add" to associate the rhtml editor with that extension. But here''s the downside... I just tried it and the .erb file opens with the rhtml editor, but it looks like it''s still being treated as plain text. :-( Well, I have a fairly old version of the eclipse radrails plugin... should download the latest from Aptana and try it. b adam wrote:> Hi, > > This starting t drive me crazy now, Does anyone know of a way to get > RadRails to support the new .erb file''s in the way it does for the old > .rhtml files? > > thanks > adam >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
thanks, its half worked, just no syntax highlighting Ben Munat wrote:> Well, you can open the preferences (Window > Preferences) and then go to > General > Editors > File Associations. Click the top "Add" to add > ''*.erb'' and then, with it highlighted, click the bottom "Add" to > associate the rhtml editor with that extension. > > But here''s the downside... I just tried it and the .erb file opens with > the rhtml editor, but it looks like it''s still being treated as plain > text. :-( > > Well, I have a fairly old version of the eclipse radrails plugin... > should download the latest from Aptana and try it. > > b-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---