textmatebundles

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 ...

Textmate is garbling Rails test output

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

PHP custom class and function autocompletion in TextMate project

Is there a bundle which completes my custom classes and functions in a TextMate project? Like the code hints with PHP core functions? ...

git tmbundle for textmate - where is the checkout for the branch?

hi! i'm actually using the git tmbundle for textmate. really useful! unfortunately i miss the checkout, so i can't "merge" the branch to the master. anyone know where is it? thanks in advance :) ...

Autocomplete in Textmate

Sometimes I watch screen casts where someone is using text mate. I'm a rails developer, so these are rails screen casts. They'll type something like: def for example and "end" will automatically appear underneath. I do have the bundle for Rails enabled - why doesn't this happen for me? Thanks! ...

Is there such a thing as an "elisp bundle" for TextMate?

I started using Code Collector Pro to organise and save my Emacs codes, and this software requires TextMate bundles for syntax highlighting. They have a lisp bundle, but not an elisp bundle, at least not that I can see. I would think that the syntax highlighting would work under the lisp bundle, but for some reason it isn't happening. I...

Debugging python using Textmate?

I'd like to use TextMate for debugging python scripts. I'm looking for suggestions on the best way to accomplish this. I found these "solutions" -- is there a better approach? http://www.libertypages.com/clarktech/?p=192 http://stackoverflow.com/questions/1775954/using-python-3-1-with-textmate I'd really like to find something as u...

Error using CMD-R on a Cucumber feature in TextMate

Running a Cucumber feature from inside TextMate is producing an error. Works perfectly from the terminal error is: Running: /usr/local/bin/ruby /Users/craig/Projects/lahaina/script/cucumber /Users/craig/Projects/lahaina/features/top_level_pages.feature --format=html Missing these required gems: cucumber-rails >= 0.3.2 database_clean...

open flash player and test swf from textmate

i usually write my code with textmate. a custom command for testing the proj directly in flash is: echo 'document.testMovie();' > /tmp/fc.jsfl open -a /Applications/Adobe\ Flash\ CS5/Adobe\ Flash\ CS5.app /tmp/fc.jsfl what about the flash standalone player? echo 'document.testMovie();' > /tmp/fc.jsfl open -a /Applications/Adobe\ Fla...

Configuring pep8 in Textmate

Textmate has a Python PEP8 bundle that will run pep8 validation on your file. How can I set it to do the equivalent of pep8 --ignore=E501 my_file.py? ...

Recommended TextMate Bundles for Ruby on Rails Development

Can you guys please recommend few textmate bundles that would be helpful while developing ruby on rails applications ...

textmate bundles not recognizing differences

So i'm trying to make a set of grammars recognizing different file extensions properly. All my files (js/css/html) end with template. This is similiar to how ruby does it with js.erb, css.erb, etc. So I modified the file type attribute to js.template css.template and template itself for html. But it doesn't seem to work. They just defau...

TextMate find text and then delete entire line?

Hi folks, I'll show you what I want to do using a textmate command or bundle: Lets say we have the following document: foo diddy bah foo foobah diddy I want to find and delete all the lines matching bah, the desired ouput in this case would be: foo diddy foo diddy Thanks! ...

Textmate, How do I limit the folders TODO bundle searches when it launches?

I like the TODO bundle in textmate. When I launch it however, it searches what seems like my entire drive. Is there a way I can tell it to just search, for example, my projects folder? Or better yet, the folder of the project that is currently open? This article, Textmate: Taming TODOs and FIXMEs, shows you how to make it ignore a fol...

Codefolding IF|FOREACH for textmate

Hope someone can help. I am a new user to textmate and want to add code folding to if|endif & foreach|endforeach on textmate. These are the current supported folds foldingStartMarker = '(/\*|\{\s*$|<<<HTML)'; foldingStopMarker = '(\*/|^\s*\}|^HTML)'; I have tried foldingStartMarker = '(/\*|\{\s*$|<<<HTML|if)'; foldingStopMarker = '...

Textmate bundles not working anymore

I just upgraded my OS to Snow Leopard 10.6.4(from 10.6.3). I then resumed coding and suddenly my Textmate wasn't recognizing my Haml file. It just said it was plain text. I looked into where my bundles were and I saw everything there including the Haml/Sass Bundle. So I figured I could just reinstall, so I deleted the bundle, got it fr...

Add Javascript syntax highlighting to the HAML TM Bundle

I have the HAML TextMate bundle and inside of the :javascript block, I'd like to have proper javascript syntax highlighting. How could I modify the HAML bundle to do this? ...

Textmate cucumber bundle issues - 'Run Feature' producing errors.

From a cucumber feature file when I go to 'Run features' Im getting the error below in the popup box that appears. How do I fix this? /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in gem_original_require': no such file to load -- /Users/richie/Projects/i9/Tornelo/.bundle/environment (LoadError) from /Library/Ruby/Site/1.8/ru...

How to perform multiple find and replace in TextMate besides macro?

I have several regular expressions to find and replace text in documents in TextMate. I would like to be able to have them run in a batch. I made a macro and it worked, but any tiny modifications to the macro means re-recording the macro. And I can't seem to modify the regex within the TextMate interface. It's read-only for some reason. ...

Textmate autocompletion and class outline for PHP project

I'm using PDT, but want to switch to any lightweit editor. First I want to try Textmate. Eclipse has several useful features: class outlile to get list of properties and methods (with signature) to navigate; type hierarchy, it is like class outlile but it shows full inheritance tree; autocompletion for custom classes names, methods etc...