Yes, I have the "handcrafted" bundle: http://github.com/handcrafted/handcrafted-haml-textmate-bundle.git
However, is that relevant? If I am in a RoR controller, with the cursor inside, say, the index action, and I press alt-cmd-arrow down, the *rails* bundle searches for the corresponding view file and, not finding an index.html.erb in the expected directory, it prompts me to create one. What I want, however, is for that command to look for index.html.haml instead. This should be possible by tweaking the rails bundle, independent of whether you also have a haml bundle installed, right? I hope my question is clear. Thanks! Giuseppe On Sep 6, 6:46 am, Les <[email protected]> wrote: > Do you have the haml bundle installed? > > On Sep 4, 12:36 pm, giuseb <[email protected]> wrote: > > > Hello, > > > does anyone know how to make the Ruby on Rails TextMatebundle > > "understand" that HAML is the preferred templating language? > > > Commands such as "go to alternate file" in thebundleare extremely > > useful (e.g., press alt-cmd-arrow down while the cursor is within a > > controller's index function to jump to the corresponding view file) > > but they look for .erb files and ask me to create one. > > > I wonder if there is a global setting within the railsbundleto > > replace .erb with .haml. > > > Thanks! > > Giuseppe > > > p.s. incidentally, the rails tmbundle I am currently using is > > carlosbrando's fork > > -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
