textmate

Can I script FlexBuilder without writing an extension?

I'd like to script FlexBuilder so that I can run debug or profile without having to switch to FlexBuilder and manually clicking the button (or using the key combo). Is this possible without writing an extension? To be more specific, this is exactly what I want to do: I want to create a TextMate command that talks to FlexBuilder and make...

What are some useful TextMate features?

I noticed that many people here use TextMate for coding on OS X. I've recently started using it, and although I like its minimalistic interface, it makes it harder to stumble upon cool features if you don't know what you're looking for. So, what feature have you found most helpful for coding (mainly in Python)? Are there any third-party...

How to avoid pauses when editing code on a network drive?

I'm planning on doing more coding from home but in order to do so, I need to be able to edit files on a Samba drive on our dev server. The problem I've run into with several editors is that the network latency causes the editor to lock up for long periods of time (Eclipse, TextMate). Some editors cope with this a lot better than others, ...

What is the best way of adding in regularly used blocks of code when marking up in TextMate?

Caveat: I'm relatively new to coding as well as TextMate, so apologies if there is an obvious answer I'm missing here. I do a lot of HTML/CSS markup, there are certain patterns that I use a lot, for example, forms, navigation menus etc. What I would like is a way to store those patterns and insert them quickly when I need them. Is the...

How can I perform an action n-many times in TextMate ( both Emacs and Vim can do it easily! )?

Emacs: C-U (79) # a pretty 79 character length divider VIM: 79-i-# see above Textmate: ???? Or is it just assumed that we'll make a Ruby call or have a snippet somewhere? ...

Which text/code editor on Linux is most similar to TextMate?

I'm using TextMate on Mac OS X, which I am very happy with, but I would also like a nice editor on my Ubuntu box. So I have been looking for something like TextMate, which is very simplistic in its interface but very powerful beneath that surface, with a plugin system and all. Is there any similar editor for Linux? ...

Is there TextMate-like editor for Windows?

Are there any good TextMate-like programs for the Windows platform? ...

How do I use TextMate as my command line subversion message editor?

Simply setting the SVN_EDITOR variable to "mate" does not get the job done. It opens TextMate when appropriate, but then when I save the message and exit, I'm prompted to continue, abort or try again. It seems like the buffer isn't returned to the svn command for use. ...

What are some useful TextMate shortcuts?

Macs are renowned (or bemoaned) for having an extensive number of shortcuts. However, OS X itself pales in comparison to the shortcut lists in TextMate and its bundles. What are some useful keyboard shortcuts you use? ...

JUnit can't find my class

I am running JUnit through TextMate, and when I try to run my test cases I get this error JUnit version 4.5 Could not find class: ProgTest Time: 0.001 OK (0 tests) Progtest.java can be found here ...

Is there a way to add a Subversion section to the right click menu for TextMate ?

I'd like to be able to click on a file to revert it, or check in a directory, etc. It would be much more convenient to have these available from the right click menu. ...

Is it possible to implement Python code-completion in TextMate?

PySmell seems like a good starting point. I think it should be possible, PySmell's idehelper.py does a majority of the complex stuff, it should just be a case of giving it the current line, offering up the completions (the bit I am not sure about) and then replacing the line with the selected one. >>> import idehelper >>> # The path is...

How can I undo more than a single character in TextMate?

TextMate may be the best editor out there, but is has a big disadvantage: it undoes each character typed instead of grouping characters. This makes a large undo tedious! Do you now any hacks, plugins or workarounds to fix this issue? ...

Tabs, Text-Mate, Editing HTML (Rails)

Is there any way to force Text-Mate to use a two-space tab instead of a full tab when editing HTML (Rails) documents? ...

Regex/Textmate Confusion

I'm trying to create a Textmate snippet, but have run into some difficulties. Basically, I want to type in a Name and split it into its parts. Example, Bill Gates: (Bill), (bill), (Gates), (gates), (Bill Gates), (Bill gates), (bill Gates), (bill gates) EDIT** So I most certainly can produce these results quite simply if I was using ...

TextMate's Dawn color theme for Emacs

Does anybody know if there is a color theme like the TextMate Dawn theme, for Emacs ? I simply don't like the way the fonts look on my dark emacs theme and I am not sure if it's emacs's fault or just the theme. Here's a comparison: http://mixandgo.com/emacs_textmate.png Thanks, Cezar ...

Textmate Regex Find Replace Help

Hi, I've got a project I'm working on converting some legacy perl cgi forms to PHP. A lot of this requires finding / replacing information. In one such case, I have lines like this in the perl script: <INPUT type="radio" name="trade" value="1" $checked{trade}->{1}> which needs to read: <INPUT type="radio" name="trade" value="1" ...

Using svn with Textmate

Coming from IDEs with full-blown svn support such as Eclipse and Netbeans, I'm wondering what is the recommended way to use svn with Textmate? Is it all manual, ie using the command line, or are there features that allow you to diff/checkin/merge/etc in Textmate itself? ...

In textmate, how do I make javadoc style comments like I can in eclipse?

In eclipse, when I want to document a function (in java or javascript source) I can just type /**, then hit enter, and I get a comment like this /** * * Fluctuates all variables to more compatibly foo all the bars * * @PARAM {int} foo */ function flucvar (foo) { } When hitting enter inside the comment, eclipse automatically...

Delphi Syntax for TextMate

I exchanged emails with Marc-André Cournoyer of RefactorMyCode.com about supporting Delphi on his site. Since his site uses Ruby's UltraViolet to do syntax highlighting, and it uses TextMate syntaxes, he needs a Delphi syntax for TextMate. Turns out it has a Pascal syntax already, so it is 90% of the way there. Does anyone know where ...