Questions tagged [textmate2]

TextMate is a text editor for macOS; on topic questions include those about general use of the software and development of bundles and extensions.

TextMate is a text editor for macOS, created by Allan Odgaard in 2004. Although it is still actively maintained, public-facing development was largely dormant for a decade after 2007, during which time many users migrated to other software.

The code is open source, and is hosted on Github. Questions about development of the editor and its bundles are on topic at Stack Overflow.

As an editor targeted primarily at the development community, questions about general use of TextMate are also on-topic. Please check end-user documentation for possible solutions before posting.

139 questions
6
votes
2 answers

TextMate suddenly showing tag in code files

I have been using TextMate version 2 for MAC from quite some time now, but suddenly yesterday in my code files I am seeing a tag. Not sure what the issue is. After doing some googling around I found that it is supposed to be a INVISIBLE…
opensource-developer
  • 2,826
  • 4
  • 38
  • 88
6
votes
0 answers

How to exclude specific folders from TextMate 2 file browser using .tm_properties

I'm using a .tm_properties file to exclude certain folders from the file browser of a TextMate 2 project, and it's generally working great. So, for instance, I've got a line like this to exclude a junk folder: excludeDirectories =…
Scott Thiessen
  • 873
  • 7
  • 20
6
votes
1 answer

Opacity of background in Textmate2

I am new to Textmate 2. I have seen few people using textmate with a reduced opacity of the background color. I am trying to find a way to achieve that, but could not get to anything closer. I tried tweaking the bundle file for the default theme,…
Wizard
  • 1,154
  • 2
  • 14
  • 41
6
votes
4 answers

How can I send selected text (or a line) in TextMate2 to R running on Terminal

As you know version 2 of TextMate is on the way and the current development version is very promising: https://github.com/textmate/textmate/blob/master/README.md In my case I am using R in terminal (MacOSX Mountain Lion) and I develop my code with…
bhaibeka
  • 91
  • 4
5
votes
3 answers

How can I change a theme to set a background color to the current line in TextMate 2?

In TextMate 1, we could use the Preferences dialog for this. In TextMate 2, at least at this point, I gather we have to use Edit Bundles, and edit the source of a specific theme. But what is the syntax to set a background color to the current line…
avernet
  • 30,895
  • 44
  • 126
  • 163
5
votes
2 answers

IN TextMate I can't create partials with Rails tmbundle

/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:355:in `to_plist': An object in the argument tree could not be converted (ArgumentError) from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:355:in…
fivetwentysix
  • 7,379
  • 9
  • 40
  • 58
5
votes
1 answer

Running Julia from Textmate

I'm using Textmate as my code editor, and I would like to be able to run Julia from it. I have no problems saving the .jl file and sending it to the Terminal (via the Julia bundle in Textmate), but I was wondering if it is possible to make the…
5
votes
1 answer

How can I simultaneously use Latex and Markdown syntax highlighting in Sublime Text 2 or TextMate 2?

I use Pandoc which allows mixing of markdown and latex. It would be nice to have syntax highlighting working for both. Any thoughts on the best way to achieve this?
bjw
  • 2,046
  • 18
  • 33
5
votes
1 answer

How can I remove SCM file status from the project drawer in Textmate 2

Can I remove these status icons from the files in my project drawer? (i.e. the red x's and green +'s in the image below) I tried removing some SCM bundles from Textmate but that didn't do the trick... I'm using the latest version of Textmate 2
Peter Berg
  • 6,006
  • 8
  • 37
  • 51
5
votes
2 answers

What Are the Options for TextMate 2's indentOnPaste, or How Do I Fully Disable it?

Typing in TextMate 2 used to be an adventure in indentation frustration, now cured by a global disableIndentCorrections setting. Pasting code, however, always seems to end up in a very wrong indentation level. It's making me crazy. I've come across…
5
votes
4 answers

Configure Textmate 2 for rbenv

What is the best way to setup Textmate 2 to use rbenv? I read a Textmate mailing list thread about setting up rbenv but haven't found the right solution yet.
David J.
  • 31,569
  • 22
  • 122
  • 174
4
votes
1 answer

Error output in Textmate 2 using Python 3.4

I'm using Textmate 2.0 in a Mac OSX and I can't get it to stop printing an error message every time I run a script. It keeps saying: Error in sitecustomize; set PYTHONVERBOSE for traceback: AttributeError: 'NoneType' object has no attribute…
4
votes
1 answer

Textmate TODO not working with JavaScript

I am trying to use Textmate's TODO bundle : // TODO: change click to tap /* TODO change click to tap */ Neither of these markups are captured... How can I specify a TODO in JavaScript?
Justin D.
  • 4,946
  • 5
  • 36
  • 69
4
votes
1 answer

How to remove character in Textmate

After copying and pasting from a PDF document there are a stream of characters. How do you remove characters in Textmate a document quickly?
banderson623
  • 2,708
  • 2
  • 19
  • 13
4
votes
1 answer

TextMate's Execute and Update ‘# =>’ Markers evaluates with ruby 1.8 instead of 1.9

In TextMate 2, Execute and Update ‘# =>’ Markers menu action updates the markers in the following code as if I am running ruby 1.8 even though my TM_RUBY environment variable is set to ~/.rvm/rubies/ruby-1.9.3-p286/bin/ruby: v = RUBY_VERSION # =>…
Milos
  • 2,728
  • 22
  • 24
1
2
3
9 10