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
0
votes
1 answer

TextMate2's "Go to symbol" not working for SCSS

I use TextMate 2 for Ruby on Rails projects, and "Go To Symbol" command doesn't work for .SCSS files I have tried to update my SCSS.tmBundle when I found these links go to symbol not supported? and…
Albert Català
  • 2,026
  • 2
  • 29
  • 35
0
votes
1 answer

How to disable highlighting whitespace at end of each line in Textmate 2?

In Textmate 2 (I currently have version 2.0 beta 6), I notice that the whitespace at end of each line is always highlighted. See screenshot below (the red bands are highlighted whitespaces). How do I disable this? I have looked in the preferences,…
Anand
  • 3,690
  • 4
  • 33
  • 64
0
votes
1 answer

regex: how to capture angularjs pattern in source file with textmate2?

I'd like to capture all source file lines matching the following template (actually any img tag where the url contains an angularjs interpolation): I tried this without success: src="rsc/[^{]*{{[^"]*"
Stéphane de Luca
  • 12,745
  • 9
  • 57
  • 95
0
votes
1 answer

Find closing html tags nested in php using Textmate?

Is there a way to find the closing html tag that is nested inside php conditionals? For example I have this: '; } ?>

More content here

banacan
  • 23
  • 9
0
votes
1 answer

LoadError when trying to get source code in Ruby

Trying to teach myself Ruby and using the Book Apress Beginning Ruby. I bought TextMate 2 and in the very beginning of Chap. 4 I am being asked for following: Launch Terminal (Completed) Use cd to navigate to the folder where you placed…
0
votes
2 answers

How to select a non anti-aliasing font in Brackets on Mac?

How can I choose a non anti-aliasing font in Brackets (left) like Textmate 2 (right) on Mac?
ohho
  • 50,879
  • 75
  • 256
  • 383
0
votes
3 answers

How can I make Homebrew and CocoAspell coexist?

After much searching on the Internet, I have never seen a satisfactory answer or explanation to the following problem. I would like to use CocoAspell for system-wide spell-checking on OS X 10.9 (plugs into TexShop, TextMate, etc.), but every time I…
Dustin Wheeler
  • 314
  • 2
  • 14
0
votes
1 answer

textmate 2.0 alpha.9543 not automatic use ruby document type

Yesterday I upgraded alpha.9543, When I open a ruby file does not automatically switch ruby document type. I have already installed Ruby bundle. But other bundle is work.
plusor
  • 69
  • 6
0
votes
0 answers

Ignore DTD warning in textmate2 XML validation

I'm using textmate2 for editing my XML files. Sometimes I want to validate the correctness of the XML. The bundle "XML" offers the syntax validation. However, it gives me the following error: "validity error: Validation failed: no DTD found !". Now…
Rogier Lommers
  • 2,263
  • 3
  • 24
  • 38
0
votes
2 answers

OSX Mavericks Textmate 2 install permissions error

I've been using textmate happily for a long time now but after installing the newest version of textmate 2.0 I'm receiving the following error when i open the app. The file could not be saved because you don't have permission. To view or change…
ben.m
  • 621
  • 6
  • 10
0
votes
2 answers

How to prevent ._ (dot underscore) files?

I am using Textmate 2 to edit a rails project on remote Linux server via sshfs. When I save a file (e.g. README.rdoc) there is another file created (i.e. ._README.rdoc): -rw-rw-r-- 1 4096 Feb 17 17:19 ._README.rdoc -rw-rw-r-- 1 486 Feb 17 17:19…
ohho
  • 50,879
  • 75
  • 256
  • 383
0
votes
1 answer

Trying to create partial from selection in Textmate 2 throws error

I'm getting the following error when trying to create a partial from a selection - Ctrl + Shift + H. Any idea what could be causing it / how to fix it? /Users/harry/Library/Application Support/TextMate/Managed/Bundles/Bundle…
Advocation
  • 578
  • 3
  • 14
0
votes
1 answer

Textmate2: change autocomplete key

I´m trying to change the keybinding in textmate2 - I want to change autocompletion from "ESC" to "cmd + space" but I don´t know how. In Textmate (1) you could do that by editing the shortcuts in the osx preferneces/keyboard settings - but the Menu…
jacksbox
  • 911
  • 1
  • 11
  • 24
0
votes
1 answer

Can I create a "insert FIXME / CHANGED list" bundle in Textmate 2?

In Textmante 2, I have a very usefull bundle: todo ->, this inserts: =begin TODO: =end then, when I use “show TODO list” bunlde I can see TODO, FIXME, CHANGED… code, but I can’t insert FIXME or CHANGED when I type fixme -> or changed -> as I do…
Albert Català
  • 2,026
  • 2
  • 29
  • 35
0
votes
2 answers

Open a Grails project using TextMate

I have created a simple grails application. When i ls the folder the following is what i get: Ma-MacBook-Pro:library ma$ ls application.properties lib test grails-app scripts web-app grailsw src …
Sharon Watinsan
  • 9,620
  • 31
  • 96
  • 140