There's a pending patch [1] 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
[2] has been rather flaky: sometimes it simply fails to launch
FileMerge.
Today, however, I discovered a new FileMerge wrapper script [3] 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.
Trevor
[1] http://macromates.com/ticket/show?ticket_id=48F737BE
[2] http://svn.collab.net/repos/svn/trunk/contrib/client-side/svn-
viewdiff
[3] http://ssel.vub.ac.be/ssel/internal:fmdiff
Hey Mates,
I made a [Proof of Concept][1] interface of a theme chooser and coder
styler for TextMate. Using the fantastic commands from [Brad Choate]
[2] 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.
Feedback welcome.
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`
licence shortly.
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),
*Soryu*.
[1]: http://projects.serenity.de/textmate/codestyler/source.php
[2]: http://www.bradchoate.com/
Hi,
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:
array["something"]
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.
Thanks!
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?
Thanks.
It did, but thankfully Allan fixed it, it was due to a misunderstanding on
my part. Sorry
Sam D
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
following:
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
'support.function' scope.
2. CodeCompletion
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-
Experimental/RubyAndRails-Experimental.tmbundle RubyAndRails-
Experimental.tmbundle
svn export http://www.eyematz.com/svn/public/TextMate/RubyAndRails-
Experimental/RubyAndRails-Experimental.tmbundle RubyAndRails-
Experimental.tmbundle
or else download it from here: [ http://www.imediatec.co.uk/tm/
bundles/RubyAndRails-Experimental.tmbundle.v1.zip ]
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 ;-)
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
"RubyOnRails development done the Mac way"
- locomotive.raaum.org -
There is a nice review talking about the comparative advantage of
TextMate over Emacs at macdevcenter.com:
http://www.oreillynet.com/mac/blog/2006/05/
emacs_est_mort_vive_le_textmat_1.html?CMP=OTC-13IV03560550&ATT=Emacs
+Est+Mort+Vive+Le+TextMate
Best, Mark
Hello:)
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:
#!/bin/sh
FILE=${1%.*}
cat >temptex<<EOF
\documentclass{article}
\thispagestyle{empty}
\begin{document}
\input $FILE
\end{document}
EOF
pdflatex temptex
$FILE is $1 is the script used in Textmate
Thanks
Alain Matthes
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?
Thanks!
jt