Все вопросы: [textmate]

95 вопросов

похожие теги: textmate-1.5
3
голосов
2ответов
677 просмотров

Get filename without extension, textmade bundle editor

Thought this might work: ${TM_FILENAME/(.+?)(\.[^.]*$|$)/} But it's giving me this error: Error Parsing Snippet line 1:257: expecting regexp options, found '' Any tips?

1
голосов
3ответов
1110 просмотров

Groovy bundle for TextMate

Where can I get the Groovy bundle for TextMate? I checked the TextMate subversion repository but it's not there. The Groovy site TextMate page references TextMate's missing Groovy bundle.

1
голосов
3ответов
544 просмотров

How can I add the "--watch" flag to this TextMate snippet?

I love TextMate as my editor for all things web, and so I'd like to use a snippet to use it with style.less files to automatically take advantage of the .less way of compiling .css files on the fly using the native $ lessc {filepath} --watch as suggested in the less documentation (link) My (t...

0
голосов
3ответов
79 просмотров

Cleanly translate (x to y) and (y to x) using a find/replace/regex in TextMate

I want to change this: _(with(new FuListNode )->isList())->shouldBe(true); _(with(new FuListNodes)->isList())->shouldBe(false); _(with(new FuTreeNode )->isList())->shouldBe(true); _(with(new FuTreeNodes)->isList())->shouldBe(false); } } to this (look at the booleans at ...

0
голосов
4ответов
3311 просмотров

Replace www.example.com w/ <a href="http://www.example.com">www.example.com</a>

I am not very good at regex, but I need to convert the following example from this &lt;li&gt;Creations by Carol - www.driedfloralcreations.com&lt;/li&gt; to &lt;li&gt;Creations by Carol - &lt;a href="http://www.driedfloralcreations.com" rel="external"&gt;www.driedfloralcreations.com&lt;/a&gt;...

3
голосов
3ответов
2384 просмотров

Live CSS Edit with Textmate &amp; Firefox

I have become accustom to editing CSS live in the browser using FF dev toolbar. However I do miss Textmate and syntax highlighting. I'm looking for a plug-in for Textmate to edit CSS live while viewing in Firefox. I have tried other editors such as CSS Edit, Espresso, Coda but none live up to the...

1
голосов
1ответов
324 просмотров

Completion using an external file or file contained in project?

Does anyone know how to get TextMate to search an external file (or even the files contained in a TextMate "project") with which to perform word completion? I'm coding some stuff on the C64 (using TextMate to write the code) and I have an external file containing labels for all of the hardware r...

3
голосов
3ответов
952 просмотров

Textmate toggle collapse/expand CSS rule command?

Does anyone know of a command (not a macro) for Textmate / E Text Editor / Redcar / etc. that will collapse a multi-line CSS rule down to one line OR, if the rule is already on one line, expand it out to multi-line? I already know about code folding and that's not what I require - I need to be ab...

7
голосов
2ответов
518 просмотров

How to Emulate TextMate's Command-Return Feature in Vim

TextMate has a feature where pressing Command-Return at any point inserts a new line below the current line placing your cursor at the beginning of the new line. This works much (exactly?) like pressing 'o' while in command mode in Vim. Is there a way to emulate this TextMate feature while in in...

3
голосов
2ответов
1839 просмотров

TextMate for Java/Maven development

Is anybody doing Java/Maven development with TextMate? Any Bundle I can use for it? I am aware of regular bundles for Maven and Java (to generate part of the code), but are there are any bundles to help list classes methods? (like Eclipse/Netbeans/etc. does). And not the current class methods, bu...

5
голосов
1ответов
1298 просмотров

Where is the TextMate Language Parser?

Does anyone know where the code TextMate uses for syntax highlighting is burried? If not, do you know how they parse their language syntaxes, or how you would parse their language syntaxes? That would be awesome to look into. Thanks! Lance

20
голосов
3ответов
5306 просмотров

Find out to which highlight-group a particular keyword/symbol belongs in vim

I am coming to Vim from TextMate, and I would like to customise my vim colorscheme. It would be really helpful if I could find out to which highlight-group(s) any particular word or symbol belongs. In TextMate, I would place the caret on the word/symbol in question, then hit ctrl-shift-p and a to...

3
голосов
1ответов
1022 просмотров

Build to iPhone Simulator from TextMate

I have the Xcode bundle for TextMate and the Build and Run with XCode work fine but is there a way to pass Active Target, Active SDK or configuration into the build in order to launch the simulator? I have tried setting shell vars in the prefs pane but no luck. Thanks.

2
голосов
1ответов
1616 просмотров

How to view a file in a new window in TextMate?

I am giving TextMate a try for some quick editing of a few script files. I would like to be able to view two files side by side while working on them instead of having to switch between tabs. I can't figure out how to display a file in a new window. I tried dragging the tab off the window (tear...

41
голосов
7ответов
52938 просмотров

TextMate alternative for Linux

Is there any TextMate alternative for Linux? Something like e-TextEditor for Windows

1
голосов
4ответов
115 просмотров

Working with a slow connection

I'm working with Textmate and Transmit. I work locally and sync with the server every now and then. At the moment I'm doing this by myself, it's slow and takes some time. What are the best ways to sync between servers? Also, is it possible to archive the directory and unpack it at the server?...

5
голосов
7ответов
5831 просмотров

Configuring and Using HTML Tidy

I would like to use Textmate's built-in Tidy (Ctrl+Shift+H) functionality to indent my HTML 'without modifying anything' in the code. I write pretty neat HTML already, I just need Tidy to indent my code with Soft-tabs. Currently it breaks a lot of things and the formatting isn't perfect either. ...

3
голосов
1ответов
576 просмотров

How to find references when refactoring rails application with textmate?

I have been practicing TDD in C# for several years now and recently have moved to Ruby on Rails full time. I am continuing the practice of TDD with RSpec. My question is regarding the process of finding references while refactoring. In Visual Studio I was addicted to Resharper's "find all referen...

3
голосов
2ответов
5631 просмотров

Automatically insert closing bracket in Xcode

is there a way to have Xcode append a closing bracket ")" when I type the opening one "("? I know that it does this for those {}. I really miss Textmate :( A generic way to define which chars should be automatically inserted when the opening ones are entered would be kickass.

0
голосов
3ответов
263 просмотров

Textmate with HTML(rails) Problem

I am editing a .html.erb file with HTML(rails) selected at the bottom. When I type if I get: Any ideas? Cheers

0
голосов
1ответов
781 просмотров

Textmate not picking up PATH

Textmate does not source my .profile file. I don't have a custom bash_init.rb, nor do I have a .bash_profile or .bash_login in my home directory (the other two files it checks first). My .profile gets sourced properly when I start up terminal

5
голосов
4ответов
2918 просмотров

Django - Mac OSX Workflow - Questions on efficient development methodologies

I am going to outline my workflow and I would like some suggestions on how to improve the efficiency of this. It seems right now a bit cumbersome and repetitive (something I hate), so I am looking for some improvements. Keep in mind I'm still new to django and how it works but I'm a pretty flue...

1
голосов
10ответов
2215 просмотров

What is a good way to edit C++ on Mac OS X?

I am a first year Comp. Sci. student and am looking for the best way to develop C++ on a Mac. I have Xcode and Textmate. What are the benefits/negatives of each? Are there any better ones? I am not a fan of having to use a whole project to run programs with Xcode. Is this the only way to do it,...

30
голосов
1ответов
8299 просмотров

Bracket Highlighting in Textmate (javascript)

I have some gnarly functions in javascript that I am using Textmate to edit. I see an extremely short flash of the matching bracket, but it is almost imperceptible if you don't arrow over the bracket repeatedly. Is there a way to make the bracket highlight persistent?

27
голосов
6ответов
10739 просмотров

Textmate git commands fail with 'sh: line 1: git: command not found'

When trying to use some of the commands from the Git bundle for TextMate (eg. 'Show Uncommited Changes') I get an error message like 'sh: line 1: git: command not found'. How do I make TextMate work with Git?

4
голосов
4ответов
4034 просмотров

Why is it not possible to set ctrl + tab as keyboard shortcut on mac os x and Textmate?

I switched to Textmate and want to switch tabs with Command + Tab (like in NetBeans). The menu command is Navigation - Next File Tab. But it's not possible to set any shortcut with the Tab key? Is this a general limitation?

1
голосов
1ответов
2326 просмотров

How to highlight all instances of a variable in TextMate?

If you place the cursor on a variable in NetBeans (at least in Ruby code) it highlights all instances of that variable. This is a feature I like very much. Does TextMate or some bundle have a similar feature?

15
голосов
2ответов
6612 просмотров

Django + Emacs (as TextMate replacement)

There is any complete tutorial how to configure emacs for using with Django (1.1) (on Mac)? Im thinking about switch from TextMate to Emacs to have multiplatform editor for django. I have my fav. theme from textmate and I want to convert this to emacs (maybe is "converter" for this?). Switching f...

2
голосов
1ответов
1704 просмотров

Ruby RI documentation lookup from Textmate

I'm having trouble looking up documentation for Ruby in Textmate. I installed Ruby 1.9.1 to /usr/local/bin but when I use Ctrl+H to lookup a word using the Ruby bundle I get this error: /Users/joshuaaburto/Library/Application Support/TextMate/Pristine Copy/Support/lib/web_preview.rb:101: warn...

5
голосов
2ответов
3129 просмотров

Can TextMate find matching opening and closing tags?

Something I liked in Visual Studio was that I could click an opening tag, say and it would do its best to highlight in bold the closing tag. Does anyone know if you can do that in textmate? I searched an looked but cannot find it. It gets hard to find the closing tag many DIVs deep. If Tex...