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
3
votes
2 answers

How to re-enable the TextMate2 's bundle

I am using Tm2. For some reasons,I disabled a bundle with "Edit with Bundles",but when I reopen the Tm2 and re-select the bundles such as Avian,it becomes grey cause it is disabled. So the question ,I can not select the bundle which I have…
Ford Guo
  • 957
  • 9
  • 18
3
votes
5 answers

Is TextMate really worth the price tag as a Code Editor?

I've been reading posts from a lot of people, raving about TextMate as a code editor and was wondering if it's really worth the hefty price tag specially since there's plenty of free alternatives. Is it really better than DashCode, TextWrangler or…
Juan Gomez
  • 1,508
  • 1
  • 11
  • 21
3
votes
1 answer

TextMate 2 Escape key: how to disable next completion and previous completion

By default, pressing Esc in TextMate cycles through possible completions (in addition to closing dialog boxes), which can put unwanted characters in your document, especially if you are used to Esc being a safe key to hit in most text editors. (In…
Jared Updike
  • 7,165
  • 8
  • 46
  • 72
3
votes
5 answers

Shortcut key to auto complete HTML structure

I am looking for the shortcut keys that I should use to autocomplete the structure of the HTML. So for instance, when I type html and press a few keys the following structure should appear:
Illep
  • 16,375
  • 46
  • 171
  • 302
3
votes
1 answer

TextMate won't find files in project folder

This was working before, but now whenever I use TextMate to find matches across all files in my project folder, it says searched 0 files. Has anyone had this happen to them and what did you do to fix it?
kevinkt
  • 735
  • 12
  • 24
3
votes
1 answer

Different syntax highlighting for sub-types of comments (?)

I'm working in TextMate2, but this question may apply to other text editors as well. My script is in R. I intend to use rmarkdown::render() on the script to create a "report". The clever part of these reports is that they distinguish between the…
rbatt
  • 4,677
  • 4
  • 23
  • 41
3
votes
3 answers

Prompt to reload an externally modified file in Textmate 2?

Im finding myself using TextMate 2 more and more for development these days One thing that is bugging me is that it does not seem to reload a file when it is changed externally. This is a big problem since I use terminal to switch git branches a…
carpii
  • 1,917
  • 4
  • 20
  • 24
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
4 answers

Textmate 2 Command Line Support not installing

The TextMate2 (Alpha 9090) terminal support does not install anything in any directory. Is there any way to grab this script anywhere manually?
Maverick
  • 143
  • 2
  • 9
2
votes
0 answers

Why does 'SCM Status' break when file system is irregular?

Rather than a simple directory on my disk, I work on a project that's inside a Disk Image (Case-Sensitive, Journaled). TM2 works great, but I couldn't get the GitBundle extensions to function, including the Go => SCM Status menu item. First, I…
nessur
  • 1,143
  • 1
  • 11
  • 18
2
votes
0 answers

Syntax Highlighting Grammar for String Interpolation

I'm working on a syntax highlighter for TextMate and I want to correctly highlight string interpolation. For example: var count = 0 while (count < 5) { count++ print("\(count)\n") } In this case I already count highlighted as a variabe but…
CaseyB
  • 24,780
  • 14
  • 77
  • 112
2
votes
1 answer

Text Mate lookbehind after nonfixed character length

I'm working on a syntax highlighting for a programming language not supported by Visual Studio Code. The highlighting is working well,but I'm facing a problem to highlight the following pieces of code: pool[] Test1 t1; pool[1] Test2 t2; pool[10]…
2
votes
2 answers

Match line but respect word boundary in Textmate 2 Language Grammar

I have a custom syntax highligher I use in TextMate. It works great in TextMate 1, but in Textmate 2, it treats the entire line as a single word. This impacts: double click to select word (selects whole line) alt+arrow to move cursor over a word…
SimplGy
  • 20,079
  • 15
  • 107
  • 144
2
votes
0 answers

Adding keyword commands and functions to Textmate 2 bundle syntax

I want to add some additional syntax highlighting definitions to an existing bundle, but I need some general advice on how to do this. I'm not building a syntax from scratch, and I think my request is pretty simple, but I think it involves some…
WildGunman
  • 393
  • 4
  • 13
2
votes
2 answers

How to comment or uncomment code in Textmate 2

How do I comment or uncomment code in Textmate 2? I came across How do I use a shortcut to comment out code automatically in Textmate? , but it's for Textmate 1.x, and "Bundles" > "Source" > "Comments" doesn't have "Comment line". I'm using TextMate…
Andrew Grimm
  • 78,473
  • 57
  • 200
  • 338
1 2
3
9 10