Hi-- I looked over this code and it's based on file extensions. Works kind of like a state machine (if you are looking at a file of type X, you can transition to [a, b, c], and so on). You can clone the plugin at:
git://github.com/drnic/ruby-on-rails-tmbundle.git and have at it. You'll want to look in Support/lib/rails, and specifically at rails_path.rb and command_go_to_file.rb. Enjoy! On Apr 19, 2008, at 5:54 PM, Mikel Lindsaar wrote: > > Textmate bundles are something I just have never looked into. > > But I have an itch I want to scratch, and before I do, I thought I > would ask the list if someone else has fixed it. > > When you do Ctrl-Shift-Down Arrow you are meant to go to the > alternate file. > > But on my file 'new.html.haml_spec.rb' it wants to find > 'new.html.haml.rb' > > Also, when you are in new.html.haml and do the alternate file trick, > the bundle does nothing. > > Any ideas about how to fix this? The path is correct, just the files > are not being found. > > > Mikel > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
