textmate

Is there a method to update all of my textmate bundles at once from the git repository?

I am trying to update all of my Textmate bundles to the most current version. Is there a way to do this without doing each bundle individually? If not how do I update an individual bundle? I don't know how to use svn so I would prefer to use the git repository. Thanks for helping a noob! :) ...

Textmate RSpec Run Example fails

When I try to run an RSpec example from within Textmate. I get "Rails requires RubyGems >= 1.3.2 (you have 1.3.1). Please gem update --system and try again." I run gem update and I get nothing to update. I think the RSpec bundle is running from the built in directories rather than /local/. How do I change where the bundle looks? Than...

Formatting the date in unix to include suffix on day (st, nd, rd and th)

How can I add the suffix on the day number of a unix date? I'll explain. I have a TextMate bundle snippit that writes out today's date. It uses unix date and formatting. Here is the code: `date +%A` `date +%d` `date +%B` `date +%Y` It outputs: Monday 22 March 2010 I would like to add the suffix to the day (st, nd, rd and th) like s...

TextMate has stopped recognizing comments

Hi, My textmate suddenly stopped recognizing comments in code and the shortcut for commenting out code (Command + /). I have found Comments in the Bundle Editor for HTML, but it doesn't look like I can set an activation key for it or anything. Does anyone have any experience with this part of TextMate? cheers! ...

Had it with TextMate. Alternatives?

Since Version 1.5.9 (1589) is just too slow and Find in Projects will crash your Mac, I need to find a replacement. Best alternatives as of March 2010? ...

Indentation annoyance with CSS in Vim

I've moved from TextMate to Vim lately, and am really liking the switch. However, I have an itch regarding the way Vim handles indentation within curly braces using the CSS syntax. I use simple_pairs.vim, which may or may not have something to do with my problem, but I don't think so, as things work fine in PHP, JavaScript, etc. Let me e...

What is a better way to write this regular expression?

I am converting XML children into the element parameters and have a dirty regex script I used in Textmate. I know that dot (.) doesn't search for newlines, so this is how I got it to resolve. Search language="(.*)" (.*)<education>(.*)(\n)?(.*)?(\n)?(.*)?(\n)?(.*)?</education> (.*)<years>(.*)</years> (.*)<grade>(.*)</grade> Replace g...

YAML in TextMate, color coding wrong?

Im using TextMate to create a YAML document, but the keys and the values have all the same color (brown). Would be more intuitive to have keys and values rendered in different colors, like HTML, CSS, etc Am I missing something? Thanks ...

Textmate Code Completion Question

Hi, I know the ESC key does code completion, but is there a way to get a pop-up(tool-tip I guess) that shows you all the possible choices for a piece of code? As an example, it would be nice when writing Javascript to get a list of available actions. Other apps I've used like Coda do this. I'd like to check out Textmate but I have a h...

TextMate - must-have Bundles and Plugins for web dev

Just curious what experienced Textmate users can't live without in the program. I just ran the trial and bought the program so I'm trying to get a sense of how others might setup their development environment for web development. Also, based on the fact that I just bought the program, I am going to guess that TM2 will come out next week...

Getting Jetty & Maven to work form TextMate

I often work in Eclipse, but recently switched to TextMate, which is, in my opinion, the best text editor out there, barring perhaps VIM or something like that (but I find the learning curve too steep to jump into that quite yet). The disadvantage is I don't really know how to run Maven & Jetty w/out using Eclipse. The engineers at wor...

TextMate can't find my RSpec gem in opt (from macports)

I know I've had this problem before so I'm really frustrated. I've got the Ruby RSpec bundle installed for TextMate, but when I Run Behaviour Description or Run Focused Example I get this wonderful error: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:827: in `report_activate_error': Could not find ...

Editing remote files over SSH, using TextMate?

I LOVE using TextMate on my MacBook. It's great. Unfortunately, I want to edit some files directly on my dev server, since it's difficult to recreate the environment locally. I'm using Git, so one alternative is to just edit locally, git commit, git push, and then git merge, but that's kind of complicated every time I want to make a sim...

Regex to find A and not B on a line

I'm looking for a regex to search my python program to find all lines where foo, but not bar, is passed into a method as a keyword argument. I'm playing around with lookahead and lookbehind assertions, but not having much luck. Any help? Thanks ...

NameError at / uninitialized constant Sass::SyntaxError

I am using Padrino and when I try to specify my application.sass file I get this error NameError at / uninitialized constant Sass::SyntaxError I thought I might have something missing, so I checked out the sample_blog application at their GIT to verify my SASS is working correct. It was working correct and the blog app was running fine....

Hiding specific files in TextMate

I do a lot of JRuby on Rails apps, and we have a fair amount of Java .jar dependencies. These become quite annoying in textmate as it really muddies up my lib directory, and I never (obviously) need to actually open these files. Can someone tell me how I might hide .jar files from my file listing in Textmate?? ...

textmate - moving project drawer to right side

is this seriously the solution to this problem? http://www.devdaily.com/blog/post/mac-os-x/how-to-move-textmate-project-drawer-left-right-side ...

Textmate is garbling Rails test output

Instead of colors I see this.. Anyone know what might be causing this? ...

FlexPMD and TextMate setup question: Creating rules

Hi guys I wanted to get some assistance into how to set up new rulesets for Textmate, as I can't find the pmd.xml file that needs to be modified. Thanks in advance ...

Cucumber bundle not working in Textmate

I set up Aslak's Cucumber.tmbundle in Texmate, set up PATH in Shell Variables to /Users/gerhard/.rvm/bin:/Users/gerhard/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin but when I run any of the bundle commands I get this: env: sh\r: No such file or directory /usr/bin/env sh is in the search path, so what am I missing? ...