Questions tagged [textmate]

TextMate is a text editor for macOS.

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 current version of the software is 2.0.23.

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.

1125 questions
0
votes
1 answer

Replace spaces with hyphens in a text document only on specific lines using regex

I'm trying to replace spaces with hypens on all image links in my markdown text files. The image syntax is as follows: ![image](Leadership-0910 Fulfilling the Vision-06-build-vision/06-build-vision-1.jpg "06-build-vision-1.jpg") As you can see there…
rev
  • 623
  • 1
  • 7
  • 16
0
votes
3 answers

Textmate Ruby on Rails Highlighting

I have Textmate 1.5.7 running on my leopard machine. When programming in rails, for some reason some key words do not get highlighted. For example: validates_presence_of, has_many, remote_form_for (form_for gets highlighted) etc... I tried switching…
Yuval Karmi
  • 26,277
  • 39
  • 124
  • 175
0
votes
1 answer

how can I launch textmate from Mac Finder based on a directory I see in finder?

how can I launch textmate from Mac Finder based on a directory I see in finder? i.e. open up TextMate with the contents of that folder e.g. I see no folder - right click - open with XXX option in Mac
Greg
  • 34,042
  • 79
  • 253
  • 454
0
votes
1 answer

Vim, TextMate, git, and newlines

I'm using git and vim. My buddy is using git and TextMate. I ran into an issue today where I added a file using vim and git. He modified it in TextMate. I then pulled his change. I added a few lines, but the coffeescript compiler (and…
Bradford
  • 4,143
  • 2
  • 34
  • 44
0
votes
3 answers

Can I strip all the contents of a CSS file?

I would like to strip all the styles but leave all the selectors in the TwentyEleven theme for WordPress, so basically anything between {} in the file. Preferably using Textmate but any guidance will be helpful.
0
votes
1 answer

Set up Bundles for TextMate: Location for run command

I have a quick question. How do I change the "locations searched" for a particular bundle in TextMate? I installed Standard ML, and I'd like to be able to run it straight from TextMate, but when I try to run it is says that SML is not found. I know…
atb
  • 943
  • 4
  • 14
  • 30
-1
votes
1 answer

Textmate: Defining a class/module called "Feature" breaks my themes

In textmate, in Ruby, when I define a class or module whose name contains Feature, my themes break! By "break", I mean I loose coloration and indentation, it's like it was basic text. #works fine class Featurable end #break class…
Robin
  • 21,667
  • 10
  • 62
  • 85
-1
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
  • 11
  • 1
-1
votes
0 answers

How to Select Multiple TextMate Scopes for Custom Syntax Highlighting in PHP for Visual Studio Code?

I'm currently working on customizing the syntax highlighting theme in TextMate for PHP code. I want to achieve two things: Selecting Multiple Scopes: How can I select and modify multiple scopes simultaneously in TextMate's syntax highlighting…
Neo
  • 1
  • 1
-1
votes
1 answer

setting up Textmate for latex on Mac OS 12.6

I believe my question is similar to the following question---but I'm unsure what to do: python and textmate I am trying to set up textmate to use on a new Mac OS 12.6. One key step is to go to Bundle, Preferences, and change settings there. …
Amanda
  • 1
  • 1
  • 2
-1
votes
1 answer

how to return old syntax highlighting behavior in VS Code?

Recent updates have killed javascript syntax and I want to return past behavior. Tell me how to do this? Here the current behavior is shown: now functions such as "console", "JSON" are displayed in the color of ordinary variables, although they are…
-1
votes
1 answer

Git editor goes asynchronous?

I setup textmate to be my editor in git: $ git config --list --global | grep editor core.editor=mate When I do commands like: $ git commit --amend or $ git rebase -i The editor is opened as expected, but the it appears to be opened…
jersey bean
  • 3,321
  • 4
  • 28
  • 43
-1
votes
2 answers

What's a good tool to run a list of regex search-replace patterns against a text file?

I want to invoke the tool via the Textmate 'Filter Through Command' command. The intention is to replace the BBEdit 'Textfactory' functionality, as larger textfactories tend to become hard to manage. Is sed the tool of choice? Any best practices on…
-1
votes
1 answer

VSCode same Snippet with different placeholder

"test": { "prefix": "test", "body": "${1:hello} ${1:world}" } Expected Result: hello world Current Result: hello hello I am trying to create snippet with same index and different placeholder but second placeholder change to…
Wasim A.
  • 9,660
  • 22
  • 90
  • 120
-1
votes
2 answers

Why TextMate and not Netbeans or other IDEs on the Mac?

Netbeans was my choice for Rails development in Windows and Linux (Ubuntu/Fedora). Now I am using a Mac. I had heard good things about TextMate, but now that I have got a change to use it I don't think it is a better alternative to what I was using.…
Prabesh Shrestha
  • 2,732
  • 4
  • 29
  • 44
1 2 3
74
75