Questions tagged [textmatebundles]

TextMate Bundles are extensions to the Mac OS X programmers editor TextMate.

TextMate Bundles are extensions to the Mac OS X programmers editor TextMate. They offer syntax definitions, language specific snippets and commands, and other tools related to editing within specific programming languages or editing text in general.

172 questions
3
votes
2 answers

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…
alexeypro
  • 3,633
  • 7
  • 36
  • 49
3
votes
2 answers

Sass syntax highlighting for TextMate2 not working

I'm using TM2 and I love it. Sadly, the syntax highlighting for Sass doesn't really seem to work. Is it only me? For example, create a new "xxx.sass" file with the following content: +h5bp-normalize // All normalize styles +h5bp-main // Basic…
Joshua Muheim
  • 12,617
  • 9
  • 76
  • 152
3
votes
1 answer

Textmate 2 scope: Increase font size for section in latex document

Q: When editing a .tex file in Textmate 2: How can you print latex sections in a bigger font size? I added following grammar to the Latex bundle: { patterns = ( { begin = 'section\{'; end = '\}'; name =…
Felix S
  • 1,769
  • 2
  • 13
  • 17
3
votes
1 answer

Bundle for Ruby 1.9 hash syntax, or way to modify existing matches?

I'm working with Rails and using Ruby 1.9 in SublimeText, but it does some quirky highlighting with Ruby 1.9's new hash syntax. For example, with the following hash, which is pretty common for rails: <%= link_to some_page_here_path, class: "btn…
trisweb
  • 8,814
  • 3
  • 32
  • 22
3
votes
1 answer

Haml Pipe Separated Multiline Statement Syntax Highlighting

How do I eradicate this kind of ugliness? Would be nice to have some syntax highlighting on this stuff. I thought this Textmate bundle here might do the trick, but no luck. I know it's all to do with the pipe separators for multiline statements.
botbot
  • 7,299
  • 14
  • 58
  • 96
2
votes
2 answers

textmate & zen coding

I would to use Zen Coding (version 0.7) for TextMate (version 1.5.10). It works for the simple shortcuts like div# which is translated to
However, when I try to use div#divId or li*5, it doesn't work. I try to autocomplete with…
craymond
  • 235
  • 1
  • 5
  • 12
2
votes
1 answer

TextMate & Groovy

I need help with TextMate. I installed it and want to compile Groovy within it (it seems convenient especially for trying things). I installed Groovy bundle but it doesn't work. It complains about: Couldn't find /Applications/groovy-1.8.4/bin If…
MeIr
  • 7,236
  • 6
  • 47
  • 80
2
votes
1 answer

TextMate Haskell Plugin

I am a big fan of textmate, and have recently had to start using Haskell for school. I was wondering if anyone knows where I can find the haskell bundle for textmate. I have tried the directions in the textmate documentation, and checked the svn for…
Igman
  • 257
  • 6
  • 14
2
votes
3 answers

TextMate bundle to insert a line of text above each line selected?

I'm looking for a way to insert a line of text above each line in the selected text in TextMate. Does anyone know how to write a command or snippet to do this? Example, selected text: This is line 1 This is line 2 This is line 3 This is line 4 I…
Camsoft
  • 11,718
  • 19
  • 83
  • 120
2
votes
1 answer

syntax highlighting for .ru files in textmate

I am using text mate on the mac whilst learning Ruby on Rails. However the backup files (.ru) don't have any syntax highlighting and I can't find any bundles for these for text mate. Does anyone have any ideas?
MikeRay1
  • 108
  • 7
2
votes
1 answer

In TextMate is there an easy way to swap two comma-separated values?

Let's say I have the following: ['cart', 'horse'] Is there a quick way to swap the two so I have the following: ['horse', 'cart'] I'm referring to the actual text and not reordering an array programmatically. For example, I usually do something…
robertwbradford
  • 6,181
  • 9
  • 36
  • 61
2
votes
2 answers

Reformatting code in text mate to established code conventions - Visual studio's ctrl K+D equivalent on Text Mate

Can anyone tell me if there's a quick way to format your code in Text Mate, similar to pressing ctrl K+D in Visual studio? Thanks! Edit by Damien_The_Unbeliever: For those not familiar with Ctrl K+D, it doesn't just indent code - it reformats it…
Finnnn
  • 3,530
  • 6
  • 46
  • 69
2
votes
2 answers

Formatting Ruby on Rails Code Textmate

I've a project that I'm working on which has not been started by me. The code is all jumbled up, I want to format the code, not manually but by using textmate. How do i go about it?
Sultan Saadat
  • 2,268
  • 6
  • 28
  • 38
2
votes
1 answer

Why do my TextMate bundles sometimes not have access to environment/shell variables?

I have a TextMate bundle written in ruby that accesses the ENV hash to read shell variables. It sometimes succeeds in reading this variable, and sometimes doesn't find it. I've been unable to figure out the pattern. What dictates which shell…
John Bachir
  • 22,495
  • 29
  • 154
  • 227
2
votes
3 answers

⌃⇧H in TextMate to 'Tidy' HTML causes NoMethodError

I tried using 'Tidy' in an HTML document for the first time yesterday, and got... /tmp/temp_textmate.Z2P0KX:30:in `
': undefined method `empty?' for nil:NilClass (NoMethodError) I've not done anything to the code in the…