Questions tagged [textmate]

TextMate is a text editor for Mac OS X.

TextMate is a customizable programmer's text editor for Mac OS X. It attempts to bridge the power of UNIX and Emacs with the ease of use and elegance of OS X.

Some of its notable features include:

  • declarative customizations
  • a tabbed documents view
  • recordable macros
  • code folding and snippets
  • shell integration
  • an extensive bundle system
  • and more.

Textmate Flavored Regex

Textmate uses the regex library Oniguruma.

Some recipes

Find everything from the top to the end of the head portion of an html file.

<?m:<!(.*)</head>) 

Find entire starting anchor tag

<a [\s\S]*?>

or start to close

<a [\s\S]*?/a>

More information and a 30-day trial is available on the developer's website.

Also a new and improved version of this editor Textmate 2 which is now in alpha. More information about that here: http://wiki.macromates.com/FAQ/TextMate2

1102 questions
-1
votes
1 answer

TextMate doesn't work with .rvmrc anymore after collegue changed it

Some while ago, our .rvmrc file looked like this (pretty default): #!/usr/bin/env bash # This is an RVM Project .rvmrc file, used to automatically load the ruby # development environment upon cd'ing into the directory # First we specify our…
Joshua Muheim
  • 10,965
  • 6
  • 61
  • 127
-1
votes
1 answer

Ultraviolet + Textmate for Ruby? How do I use this?

Ok so I've had my Macbook for 3-days now. I installed textmate and saw the cool Ruby syntax highlighting thing called Ultraviolet. I've installed the ultraviolet gem, but I don't get what it does. How exactly do I use it? Or is it installed…
kidapple
-2
votes
2 answers

Getting started with Java, Textmate and Mac OS Lion 10.7.2

I'm new at Java programming language, so I need a short introduction for my mentioned environment. By compiling my code I'm getting some some errors like these: Exception in thread "main" java.lang.NoClassDefFoundError: org/junit/runner/JUnitCore …
Markus
  • 1
  • 1
-2
votes
1 answer

Regular Expression to Match Lines Ending with Comma - TextMate

I have multiple lines such as: a,b,c,10 d,e,f, g,h,i,19 l,m,n, o,p,q,21 I need a regular expression that will match all lines that end with a comma. So the second and fourth lines. It should work for any line, not just the ones above. I am using a…
pseudorandom
  • 271
  • 2
  • 16
-3
votes
2 answers

"mate sample.js" command not working from Mac terminal

I tried creating a new js file from the mac terminal (i.e., mate sample.js) but got the below error: -bash: mate: command not found I'm not sure how to create a new file directly from the Terminal. Can anyone help me out?
Abilash
  • 221
  • 1
  • 2
  • 8
-3
votes
2 answers

Regex a ruby block argument and all instances within the block

I have been trying to develop a regex to match a block's argument, and then all the instances of that argument. Using this example: File.open(inFile).each do |line| line.chomp! if line.empty? then next elsif line =~ /^>/ …
AGS
  • 13,820
  • 5
  • 45
  • 64
-5
votes
3 answers

PHP Code Editor for Windows

Currently I use TextMate for PHP editing on MAC. I would like to know what good editors for WINDOWS (comparable to TextMate) are. The most important feature I expect that the editor should support is the "auto-complete of code snippets", like: p…
Prakash Raman
  • 11,331
  • 26
  • 71
  • 124
1 2 3
73
74