There's a pending patch  that gives TextMate's Subversion bundle
automatic support for graphical diff utilities like BBDiff.
Unfortunately, I haven't gotten this patch to work with FileMerge
because FileMerge and its command-line launcher, opendiff, take non-
standard arguments and thus aren't compatible with Subversion.
Although wrapper scripts are available, the best one I've used so far
 has been rather flaky: sometimes it simply fails to launch
Today, however, I discovered a new FileMerge wrapper script  that
seems totally reliable and works quite nicely with the patch. So, to
use FileMerge with Subversion, here's what you do:
* Install the patch
* Put the script somewhere (chmodding it to executable)
* Add this to ~/.subversion/config:
diff-cmd = <path to script>
After that, any Subversion diffs you do will be handled by FileMerge.
I made a [Proof of Concept] interface of a theme chooser and coder
styler for TextMate. Using the fantastic commands from [Brad Choate]
 to generate `CSS` from TextMate theme and convert documents to
`HTML` files, this nifty little thing let's you view code how it
would look in TextMate. You can choose a small number of Code
snippets and Themes right now and just play with it a little.
The idea is to use this on your site for pasting code or as a general
PasteBin for the `IRC` channel. It's a little `PHP` thingy and some
`AJAX` to load the source and I will make it available under `BSD`
Again, your Feedback appreciated. There are some items on the TODO
list and some incompatibilities and/or browser flaws to master. Just
don't nag me too much why your theme is not included in the list
right now ;)
Also the professional themers out there (namely Thomas Aylott and
Infiniknight) are welcome to send me some of their sample code fpr
theme designing if they are willing to share it :).
Thanks to Jacob Rus for his ideas and Brad Choate for the nice commands.
So long (and thanks for all the fish),
I have what may be a simple question about Smart typing. How do you
all "finish" typing something that has smart typing characters? Here's
a simple example:
Typing in some HTML, an input tag.. type <input type="
and TextMate helpfully enters the second " character. Thank you TM.
Now I enter the type: text
Now my cursor is still within the quotes. By habit, I type the closing
quote, but now I'm just defeating the purpose of smart typing. My
option, as I see, is to read and hit the right-arrow key.
A slightly more complicated example - in PHP:
As soon as I type [" it looks like: array["|"] (where "|" is my
cursor. Again, thanks TM. But now, after typing 'something', I have to
move past the " and ].
Am I missing some simple navigation? It's a simple thing that's making
my want to turn off Smart typing.
I'm using groups so that I can hove more that on project folder per
TextMate instance. TextMate seems unable to deal with this. Many
commands that use the project directory environment variable - such
as Subversion - fail. And sometimes the value is set to '/' and
other times it is set to an actual folder in the group.
Is this a known defect? Is there a workaround?
It did, but thankfully Allan fixed it, it was due to a misunderstanding on
my part. Sorry
On 5/15/06, textmate-request(a)lists.macromates.com
> I just created a new PHP file in TextMate, and the file type popup at
> the bottom was set to Cake, and not HTML (which I assume is correct
> for a PHP file). The Cake bundle does claim PHP in it's filetype list.
> Is this correct?
OK, everyone seems to be adding some new functionality to TM these
days, so I thought it was about time for me to get on that bandwagon
again after a long time away ;-)
So here is the RubyAndRails-Experimental bundle which will do the
1. Syntax Highlight all known Ruby & Rails methods
Especially for those that like me waste large amounts of time looking
for 'spelling' bugs, where I/we have spelled a method wrongly.
In other words: typing "validate_confrimation_of" will NOT highlight
since it’s spellt wrongly, while "validates_confirmation_of" will
highlight correctly. Just make sure you have highlighting on for the
Pressing ESC after typing a few characters will now give you a
complete listing of all known Ruby, Rails or Ruby & Rails methods
that begins with those characters. Built in support for three
separate scopes if you so wish. (Requires some editing of scopes in
the Bundle window)
Nope, does NOT yet support code base scanning for your own defined
methods. :( Please feel free to improve upon this! ;-)
3. Ruby 'ri' Documentation Support
View ri's informational output based upon the currently selected word
OR the current word your cursor is within. Requires that you have
the ri documentation installed, or it will give you a information
text telling you that.
Great !! So where do I get hold of it ??
If you have SVN installed just copy and run either of these commands:
svn checkout http://www.eyematz.com/svn/public/TextMate/RubyAndRails-
svn export http://www.eyematz.com/svn/public/TextMate/RubyAndRails-
or else download it from here: [ http://www.imediatec.co.uk/tm/
and then double-click the bundle to install it.
Enjoy ! And if somethings not working OK, please let me know,
preferably with a diff patch ;-)
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
"RubyOnRails development done the Mac way"
- locomotive.raaum.org -
I would like to know which kind of script is used
for the writing of Latex & View in order to be able
to modify it.
I would like to include something like:
$FILE is $1 is the script used in Textmate
I just created a new PHP file in TextMate, and the file type popup at
the bottom was set to Cake, and not HTML (which I assume is correct
for a PHP file). The Cake bundle does claim PHP in it's filetype list.
Is this correct?