textmate

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 broke my Java? Exception in thread "main" java.lang.NoClassDefFoundError

I ran a Java program using TextMate on OS X once and I can't use Java anywhere else anymore. On the simplest program, I get: Exception in thread "main" java.lang.NoClassDefFoundError: Gateway (wrong name: org/mcgill/telecom/Gateway) Whether I use javac -classpath . Gateway.java, java -classpath . Gateway or Eclipse or Netbean...

Is there a shortcut in Textmate to wrap selection with multiline comment?=begin and =end

I want a shortcut in Textmate to wrap the selected text with a ruby multiline comment -- '=begin' and '=end'. It doesn't look like there is an existing one. Anyone know how to make one? ...

Textmate snippet to format string (regex?)

I'm trying to create a textmate snippet that will transform this: HELLO WORLD<br /> SAY ANYTHING To this: hello world say anything Any help? ...

How to insert the hash symbol in TextMate for Mac on a British Keyboard?

When using TextMate on a Mac for HTML (and indeed any other language) I can't enter the hash (#) symbol using the keyboard. British keyboards have a £ symbol on the 3 key which displaces the hash symbol. In several other Mac application, you can press alt+3 to get the hash symbol, but in TextMate, that doesn't work. Is there an altern...

Vi bindings for TextMate

I love both vi and TextMate. Is it possible (or even conceivable) to add vi bindings to TextMate? (Perhaps using some other key than "escape" to enter/leave the editing mode.) Does someone know of such a possibility? ...

TextMate: Highlight matching tags of caret location.

Is it possible for TextMate to syntax highlight the opening and closing tags of your current caret location? And I am talking about constantly, not by pressing a key combo. Furthermore, if it possible, how can I do it? There doesn't seem to be any way that I know of except by using selectors in the theme, but I don't know if selectors c...

Thinking of moving from TextMate to vim for Rails dev. What do I need?

I do Ruby on Rails development pretty much exclusively. I currently develop in OS X using TextMate. I have a virtual machine running to emulate as closely as possible the environment my app will be deployed into, and I mount the code on a Samba share into OS X from the VM guest. From there I open with TextMate and code away. I'm beginni...

In Textmate, how can I change the style of comment line?

When I select a line in Textmate and do the shortcut for comment line (command-L on Mac), it uses C-style comments (ie. /* ... */). How do I change it to use C++ style comments (ie. // ...). I am editing Javascript if that makes a difference. Thanks. ...

Using Textmate "MATE" command remotely.

Is it possible to edit files on a remote machine using the MATE command to work on a project / directory locally? ...

Is there a way to make a link clickable in the OSX Terminal?

I am planning on developing an Mxmlc to Textmate formatter, one that formats mxmlc errors as clickable links, so you can open them up quickly in Textmate as Textmate has a url scheme e.g.: txmt://open/?url=file://~/.bash_profile&line=11&column=2. I am wondering if it is possible to display links in your OSX terminal, that are also clic...

TextMate brackets insertion

Please note that I did ask this on Super User and received absolutely no responses, so I decided to port this to a programming community that knows a lot more about TextMate. Working in Ruby on Rails in TextMate, when I select a chunk of text, let's say My text and then hit the open bracket [ key on my keyboard, TextMate wraps the ...

Emacs recursive project search

I am switching to Emacs from TextMate. One feature of TextMate that I would really like to have in Emacs is the "Find in Project" search box that uses fuzzy matching. Emacs sort of has this with ido, but ido does not search recursively through child directories. It searches only within one directory. Is there a way to give ido a root...

TextMate tips for Rails Development

Working on Rails code for a bit has started me on the spiral into obsessively customising my dev environment (I say obsessive as at the last Rails meetup I went to there was some guy who was raving about shaving milliseconds off each line of code and therefore upto half an hour a day... I hope I don't become that guy...) I spend most of...

textmate indent ruby code just left aligns it . how to properly indent ruby code in text mate

I am trying to format my code with textmate "indent" option . but textmate just left aligns everything . What is the proper way to format ruby code in textmate? ...

Why can't I run a Perl program from TextMate?

I'm following a bioinformatics text, and this represents one of my first Perl scripts. While in TextMate, this does not produce any result. Is it functioning? I added "hello world" at the bottom and I don't see that when I run the script in TextMate. What have I done wrong? #!/usr/local/bin/perl -w use lib "/Users/fogonthedowns/myperlli...

Textmate/Regex: Strip whitespace from beginning/end of file

I'm trying to add a macro/command to Textmate for some file cleanup and the last tidbit I haven't figured out is simply to remove blank lines from the beginning and end of a file -- does anyone know how to do this? I know some Textmate or regex trick must exist, just not sure what... ...

Vim FuzzyFinder FufTag for current active buffer

I would like to jump to a tag (function) in the current active buffer with completion search like FuzzyFinder's functionality. The FufTag function from FuzzyFinder lists all the tags in the project and I only want the tags from the current active buffer. Is there a way to set up FuzzyFinder to do both or is there another plugin that doe...

How do I get Xcode and TextMate to calibrate syntax highlighting colours the same way?

This is a mostly insignificant problem, but it's been bugging me for a while and I figured someone on here might be as ridiculously OCD as I am (this is a programmer community after all). Basically, the problem is that TextMate doesn't seem to calibrate syntax highlighting colours, while Xcode does. What this means in practice is that, ...

Cucumber Textmate Highlighting

I am trying to get highlighting for Cucumber to work with Textmate. I already installed the Cucumber Textmate Bundle (which is supposed to include the highlighting). I am working with Ryan Bates' Railscasts theme (description for it is in the about page) for textmate, but for some reason In order to, As a, I want, etc do not get highligh...