Politics, Programming and Possibilities
19 Feb
Isn’t it great when you find some time to work on a project you’ve been meaning to do for a while?
Following the 0.5 release and the 0.6 release, the “syncPeople on Rails” TextMate bundle has reached version 0.7. Here are the feature updates:
This was a gem I picked up from the TextMate mailing list that we’ll be using at syncPeople. Basically it gathers all of your TODO, FIXME, and CHANGED messages from all of your project files and color codes them in a nicely formatted HTML window. In addition, you can turn any of the categories on and off if you need to focus on one aspect or the other in your work flow. Replaces the old TODO list with ctrl-shift-t.
Note: You may have to turn off the old TODO list key combo in your commands.
Hitting the ‘enter’ key is even smarter: it will now visit javascript and stylesheet files. For example, clicking on any of the following formats will take you to the javascript or stylesheet:
Also, following the suggestion of procreate, “Mailers also have views!” Now you can hop, skip and jump your way from ActionMailer models to their views and back.
And lastly, you can swap between your controller and helper when it makes sense to do so. Normally, hitting ‘enter’ inside a controller will take you to an action’s view, but if your caret is near the top of the file (not inside an action method) then ‘enter’ will take you to the helper. Hitting ‘enter’ again brings you back to the controller.
So that you can rest your mind and use or re-use this however you’d like, we’ve released this under the GNU Lesser General Public License.
11 Responses for ""syncPeople on Rails" 0.7"
This is a fantastic bundle, it’s going to make TextMate even more of a joy to use. Thank you.
Thank you! syncpeople TM bundle is brilliant!
Jeroen
Another great release
…and now for the ultimate challenge: recognise a URL through an app’s route configuration and take you to the relevant action. Combine this with a bookmarklet and you could go from any web page straight to the relevant controller action.
I just wish I had time to make it…
Did you know you can install a TextMate bundle just by dragging it to the app icon in the dock?
I can’t seem to get the “intelligent” go-to feature to work on my PowerBook. The Enter key (to the right of the Apple Key to the right of the space bar just inserts a new-line.
Do I need a full blown keyboard for this to work?
joshua, that is the coolest thing ever. Is that an application wide functionality? or a special textmate thing?
Jens-Christian: I’ve tested the Intelligent Go To Feature on my iBook now, and it appears (strangely) that although the ‘enter’ key next to the apple key has the same symbol as the keypad enter key, it’s not encoded in the same way. I used “function-return” (the other way of accessing the “enter” key) and it seems to work. If you have problems with this, perhaps you could just go in and edit the command yourself. It seems to recognize the little ‘enter’ key if you do it that way.
Where is a demo site of this?
Duane - no, fn-Return doesn’t work. But I have redefined the bundle and now everything works fine.
thanks for a great bundle!
Pete Lasko: it’s a feature of TextMate
Jens-Christian: I had to do the same thing to get the key-binding to work.
[...] Tim Lucas proposed an interesting challenge in his comments following the 0.7 Release: …and now for the ultimate challenge: recognise a URL through an app’s route configuration and take you to the relevant action. Combine this with a bookmarklet and you could go from any web page straight to the relevant controller action. [...]
Leave a reply