Questions tagged [textmatebundles]

TextMate Bundles are extensions to the Mac OS X programmers editor TextMate.

TextMate Bundles are extensions to the Mac OS X programmers editor TextMate. They offer syntax definitions, language specific snippets and commands, and other tools related to editing within specific programming languages or editing text in general.

172 questions
1
vote
3 answers

TextMate Snippet: How to uppercase the first letter in a regexp

How can I make the first letter upper case in the following: ${1:${TM_FILENAME/[\.php]+$//}} Basically if the filename is "welcome.php", I'd like it to write out "Welcome". This at the moment writes "welcome" (lower case w).
Hopstream
  • 6,391
  • 11
  • 50
  • 81
1
vote
1 answer

Regular Expressions particualrs for VSCode Syntax Highlighting

I'm trying to write a sytnax highlighter for VSCode, which uses the TextMate format. I've got an entry for one-line comments, copied from an example, and it works fine, but I'd like to extend/modify it. "linecomment": { "name":…
1
vote
1 answer

How do syntax highlighting tools implement automated testing?

How do syntax highlighting tools such as pygments and textmate bundle do automated testing?
ben-albrecht
  • 1,785
  • 10
  • 23
1
vote
2 answers

Any TextMate trick/bundle to lookup Rails documentation?

I know this is common in 'full featured' IDE's and not text editors but TextMate walks a unique line with its many bundles... I'm wondering if there is an easy way to, say, click on a Ruby or Rails class or method and have TextMate (or shell) take…
Meltemi
  • 37,979
  • 50
  • 195
  • 293
1
vote
1 answer

Why don't Textmate snippets autocomplete but work when using the "Bundle" menu?

Edit: Below is my original question. After solving my problem, I thought I'd re-edit this so others may benefit. The root question is "A certain subset of textmate snippets aren't working." Original Question: In Textmate, I can't use ruby on rails…
Derek
  • 982
  • 1
  • 8
  • 19
1
vote
1 answer

Can't open GetBundles when clicking it in the Bundles menu in TextMate

I can install the GetBundles bundle, but when I click on it (Bundles > GetBundles > GetBundles), nothing happens. I've followed multiple guides, and they all lead me to the same situation. Here's an example of one such…
solidcell
  • 7,639
  • 4
  • 40
  • 59
1
vote
1 answer

How to add dictionary words for auto-completion in TextMate 2?

TextMate's Esc auto-complete is great, but it's limited by default to words only in the current document when using the Plain Text grammar. Is it possible to add standard dictionary words to this? E.g., auto-complete to "dictionary" when I press Esc…
SilverSideDown
  • 1,162
  • 11
  • 14
1
vote
1 answer

How to lowercase first letter of Textmate snippet input?

I have shortcut for creating getter method and here is my snippet code right now: public function get${1:PropertyName}() { return \$this->${1:propertyName}; } $0 Output I'm looking for: public function getAreaCode() { return…
lehtu
  • 868
  • 1
  • 12
  • 27
1
vote
2 answers

Debugging python using Textmate?

I'd like to use TextMate for debugging python scripts. I'm looking for suggestions on the best way to accomplish this. I found these "solutions" -- is there a better approach? http://www.libertypages.com/clarktech/?p=192 Using Python 3.1 with…
Andrew B.
  • 1,010
  • 6
  • 19
1
vote
1 answer

git tmbundle for textmate - where is the checkout for the branch?

i'm actually using the git tmbundle for textmate. really useful! unfortunately i miss the checkout, so i can't "merge" the branch to the master. anyone know where is it? thanks in advance :)
Luke
  • 2,976
  • 6
  • 34
  • 44
1
vote
1 answer

Textmate 2 - Delete a Macro

I was not able to find a way to delete a custom macro that I just created using the latest Textmate version. Surely this should be fairly simple task? The only option in the Edit Bundle section is the enable/disable the macro.
arimbun
  • 3,885
  • 2
  • 19
  • 16
1
vote
1 answer

Textmate RSpec Run Example fails

When I try to run an RSpec example from within Textmate. I get "Rails requires RubyGems >= 1.3.2 (you have 1.3.1). Please gem update --system and try again." I run gem update and I get nothing to update. I think the RSpec bundle is running from…
Barb
  • 957
  • 1
  • 6
  • 5
1
vote
0 answers

Running Matlab code in Textmate

I am having difficulties executing Matlab code in the Terminal using the matlab.tmbundle for TextMate... Spawning Matlab works fine as well as running code directly from the terminal but it seems that the code is getting lost when I attempt to run…
markdjthomas
  • 115
  • 3
  • 9
1
vote
2 answers

textmate mercurial bundle - push not working

not really a programming question, but I cant find anywhere else to ask it and there is bound to be someone in here using this as well. I got the mercurial.tmbundle installed and everything seems to be working fine with the exception of "Push to…
Mathias Nielsen
  • 1,560
  • 1
  • 17
  • 31
1
vote
3 answers

Gettings errors with Textmate using Git bundle

Trying to use Textmate with the Git bundle. Running into errors when trying any option. /Users/colby/Library/Application Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/../lib/git.rb:131:in `paths': No selected files. (RuntimeError) from…
Colby Olson
  • 343
  • 2
  • 8