textmate

Can I use TextMate with existing Flex projects created in Flex / Flash Builder?

I am wondring if anyone has a good resource for opening existing Flex projects that where created in Flex / Flash Builder and run them using the TextMate bundle for Flex and Actionscript projects. Basically I just want to know if I can walk into an existing project and configure this easily or am I pretty much stuck with using Eclipse ?...

C99 Compilation Errors using XCode Bundle in Textmate

Howdy! I am trying to load my xcode project into textmate so that I can compile and run using the xcode bundle in textmate. When I compile my project in XCode it works fine, but when I load it up into textmate and I try to compile and run using the XCode bundle I get C99 errors due to my for loop syntax. Has anyone run into this situa...

What's the difference between 'open -a TextMate.app' and 'mate'?

I've thought that mate is virtually the same as 'open -a TextMate.app', but I guess I'm wrong in this. As when I run the following command, when there's no hello2.txt, I get this error. open -a TextMate.app hello2.txt The file /Users/smcho/hello2.txt does not exist. But, it's OK to run mate. mate hello.txt --> opens the text mate....

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

Timestamps with SVN (using BBedit/Texmate)

Is there a way to auto insert a time stamp into a document (html/css/ js/php/pl/txt) with every commit? ...

Why I can't run perl from Textmate?

#!/usr/bin/perl -w use WWW::Mechanize; print $WWW::Mechanize::VERSION."\n"; 1) run from Textmate : Can't locate WWW/Mechanize.pm in @INC (@INC contains: /Applications/TextMate.app/Contents/SharedSupport/Bundles/Perl.tmbundle/Support /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Per...

Autocomplete not working in the Flex Bundle for Textmate. How do I fix?

I am being very hard headed and determined that I am going to give Textmate a solid try for my actionscript and flex projects. Work on the bundle has been a little lacking but what has been developed so far is pretty great. I have run into some slight issues but able to figure them out and get things set up pretty well and I have alrea...

How do I highlight the current TextMate document in the project drawer?

I keep forgetting where to find this in the menus. I often open a document using (for example) Find in Project… and then want to know where it is in the project drawer (especially when it's buried deep down in the folder hierarchy. How do I highlight the current document in the project drawer? ...

Can TextMate show tab vs space characters?

Using TextMate on Mac, the "invisibles" can be displayed by using View -> Show Invisibles But the space vs tab characters are not shown, and Preferences doesn't seem to have any entry to change that either. Is there a way to show them? It is because some older coder may have tab or space mixed together so what looks good in the edit...

error: There was a problem with the editor 'mate -w'.

I used this command to specify the text editor: $ git config --global core.editor "mate -w" How can I remove this configuration as I'm getting this error: error: cannot run mate -w: No such file or directory Or, how can I fix this error instead? 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...

Getting Textmate to recognize Ruby version upgrade

I used the instructions at http://bparanj.blogspot.com/2010/06/installing-ruby-191-on-snow-leopard.html to install Ruby version 1.92 on my Mac running Snow Leopard. The only deviation is in step 3, which calls for .bash_profile to be updated. I have .profile, but not .bash_profile, in my home directory, so I added the export command to...

Highlighting function calls in textmate

It feels like I'm missing something really simple here. I've been using Coda for a while now and I'm now playing around with Textmate. I'm unable to find a way to syntax highlight function calls in Textmate. I've poked around the documentation but can't believe I'd have to dig deep into Textmate and mess around with regex to make this wo...

Format CSS with VIM like in Textmate

In TextMate there is this awesome option to "Format CSS" and "Format CSS Compressed". This option doesn't seem to exist in vim. Perhaps it's in a plugin I'm not aware of? Or maybe I need to integrate CSS Tidy somehow? ...

How do I open a folder in Textmate with Applescript?

So I've opened Textmate using Applescript, how do I tell it to open a specific folder? EDIT: Tried Josh K's suggestion, but a strange error occurs. I ran this line: do script "mate rails_projects/newproject" And here is the result: bens-macbook-pro:~ ben$ mate rails_projects/newproject mate: failed to establish connection with TextM...

How to commit changes to a Subversion repository using TextMate

I'm just trying out TextMate now as a replacement for the extremely powerful, but extremely ugly PHPStorm (on my Mac). Everything is fine except for SVN. I have my working copy already on disk, and TextMate correctly shows me the SVN metadata for any file I open from that working copy. But, now that I made a change to a file and I want...

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

What TextMate theme is this?

Can anyone tell me what syntax highlighting theme is in use here? http://jamierumbelow.net/images/code.png Jamie Rumbelow and Elliot Haughin both seem to use it. It looks really nice and I have asked both of them but helpfully, they don't answer. Thanks ...

How can I move a folder in textmate?

Textmate is really cute and nice with many things, except when it comes to moving a directory around. Any suggestions? ...

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