textmatebundles

How can I change language contexts in Textmate bundles?

I'd like to get my Textmate bundles to use the correct contexts based on what I'm editing. For example I use YUI a lot so I'd like the HTML bundle to use the YUI JS bundle instead of the standard JS one, etc. Can anyone suggest where and what I should be editing to make that happen. Bonus points for tips on bundle editing. ...

TextMate source.java comment block folding

How do I modify the java language definition bundle foldingStartMarker and foldingStopMarker entries to allow for folding of these types of comment blocks? This is the comment style: /** * This is a comment... * Yet another comment... */ I've tried this: foldingStartMarker = '(\{\s*(//.*)?$|^\s*// \{\{\{|^\s*\/\*\*)'; foldingSt...

Programming TextMate in Ruby. Problem with TextMate.go_to

I'm modding a TextMate bundle even though I'm a complete beginner at Ruby. The problem I'm trying to solve is the issue of moving the caret to a certain positition after the command has made its output. Basically what happens is this: I hit a key combo which triggers a command to filter through the document and inserts text at the relev...

Is there a better Python bundle for textmate than the one in the bundle repository?

At this time Textmate's official Python bundle is really bare bones, especially in comparison to the Ruby bundle. Does anyone know of a Python bundle that is more complete? EDIT: I am fully aware that there are editors and environments that are better suited to Python development, but I am really just interested to see if there is a th...

Can I make Textmate completions ignore capitalisation?

I've used Textmate for a couple of years, but for objective-c I'm finding that Xcode is easier. One of the reasons I like Xcode is that I can type "nsui" and it will suggest NSUInteger for me. If I want the same thing in Textmate, I have to type "NSUI" since the start of the suggestion I want is all capitalised. Textmate won't match the ...

Textmate Ruby on Rails Highlighting

Hi, I have textmate 1.5.7 running on my leopard machine. When programming in rails, for some reason some key words do not get highlighted. For example: validates_presence_of, has_many, remote_form_for (form_for gets highlighted) etc... I tried switching themes and it did not help. I also tried upgrading to the most recent rails bundle ...

TextMate: using tmctags bundle, opens in new window!!! how do i open it as a tab?

I have this issue with textmate where it opens up a file in a new window, but not a tab. thereby its harder to navigate and also disables me from using tcmtags on that new file. Has anyone ever ran into this issue? I suspected it was some type of setting that got messed up, but opening any other file traditionally with the point and c...

Textmate with HTML(rails) Problem

Hi, I am editing a .html.erb file with HTML(rails) selected at the bottom. When I type if I get: < ?php if (condition): ? > < ?php endif ? > Any ideas? Cheers ...

TextMate for Java/Maven development

Is anybody doing Java/Maven development with TextMate? Any Bundle I can use for it? I am aware of regular bundles for Maven and Java (to generate part of the code), but are there are any bundles to help list classes methods? (like Eclipse/Netbeans/etc. does). And not the current class methods, but say I have FirstDemo.java which has meth...

Live CSS Edit with Textmate & Firefox

I have become accustom to editing CSS live in the browser using FF dev toolbar. However I do miss Textmate and syntax highlighting. I'm looking for a plug-in for Textmate to edit CSS live while viewing in Firefox. I have tried other editors such as CSS Edit, Espresso, Coda but none live up to the power and flexibility of Textmate. Idea...

SASS syntax highlighting does not work when bundle is installed along with HAML's in Textmate?

I've encountered this issue on two different machines and can't figure out what the cause is. SASS syntax highlighting works fine in TextMate when I install a SASS bundle like this. However, when I also install a HAML bundle, like this one, SASS code reverts to plain text color. I've tried a bunch of different combinations of bundles o...

textmate + tm_dialog2 howto?

hello, i've already added an own bundle to my textmate installation, next step would be to provide some nice GUI to the commands. i've already watched the screencasts of "interface builder" + "tm_dialog" and i already made some nice gui wich works just fine with "tm_dialog". however. i've read, that one should use "$DIALOG" in textmate...

TextMate: Adding to a bundle

There are a couple of bundles that I would like to add some functionality to. If I update the bundles via SVN will my additions/updates be replaced? ...

Gettings errors with Textmate using Git bundle.

Trying to use Textmate with the Git bundle. Running into errors when trying any option. /Users/colby/Library/Application Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/../lib/git.rb:131:in `paths': No selected files. (RuntimeError) from /Users/colby/Library/Application Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/../lib/git.rb...

Creating a command in a bundle to do a find in a replace in a given document

I'm looking to create a command in a textmate bundle that when run will: Search the document for a given string Replace that string with another given string The strings will always be the same Search for <? replace with <?php I know I can use textmate's find and replace functionality - I'm just trying to automate a litt...

What is your favorite textmate plugin or bundle?

Textmate is a great editor with lots of plugins and bundles, hoping to find a few more that will make Textmate even more useful. I personally can't live without Ack in Project (http://github.com/protocool/ack-tmbundle), the built in search for textmate is awful, ack in project does searches 100x faster. What's your favorite Textmate pl...

Formatting ERB Templates automatically in textmate

When writing ERB templates in Ruby on Rails using Textmate formatting by hand pretty much sucks. Do anyone know of a textmate bundle that handles formatting of ERB templates/views? My googling has found nothing. Thanks! ...

textmate mercurial bundle - push not working

Hi, not really a programming question, but I cant find anywhere else to ask it and there is bound to be someone in here using this as well. I got the mercurial.tmbundle installed and everything seems to be working fine with the exception of "Push to default repo" I have a default repo setup (bitbucket) and just using the command hg pus...

Error in Textmate TODO bundle

I have the latest version on TextMate and when I launch the TODO list, I get these errors. Any ideas of how to fix this? Scanning directory: /Volumes/app1/trunk/vendor/gems/money-2.0.0/test /Applications/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:68:in ===': invalid byte sequence in UTF-8 (Argument...

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