Is it possible for Textmate to show in the OS X services menu listing?
Currently BBEdit, TextEdit, and TextWrangler show. Each of these have
two options:
New Window with Selection
Open File
TextMate is not listed. How can I add TextMate to the listing? Thanks
Hello,
just try to re-indent the following snippet with textmate and wonder
about it. ;)
Is there a way to fix the indentation? In which bundle should it be
fixed? HTML oder PHP?
<html>
<header>
<body>
<?php
$array['foo'] = array(
'foo' => 'bar',
'bar' => 'foo' );
$array['bar'] = array(
'foo' => 'bar',
'bar' => 'foo'
);
?>
<?php if (test == "") { ?>
<ul>
<li>foo</li>
<li>bar</li>
</ul>
<?php } else { ?>
<ul>
<li>bar</li>
<li>foo</li>
</ul>
<?php } ?>
</body>
</header>
</html>
Regards, Wolfgang
Folks,
Is there such a beast? I'm a long-time Emacs user who's happily
switched to TM once I got a Mac.
But I miss dired...Is anyone working on or thinking about a directory
viewing & file manipulation bundle? Oftentimes copying Emacs stuff in
TM doesn't make any sense, but in this case I think it might.
(Forgive me if this has been asked before; I admit to lazily not
searching archives before posting this!)
Cheers,
Kendall Clark
Hi,
Just installed textmate and was trying to use svn bundle.
I got following error:
Couldn't find svn
If you have installed svn, then you need to either update your PATH
or set the TM_SVN shell variable (e.g. in Preferences / Advanced)
Locations searched:
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/
CocoaDialog.app/Contents/MacOS
/bin
/sbin
/usr/bin
/usr/sbin
/Applications/TextMate.app/Contents/SharedSupport/Support/bin
======================================================
I have checked I have /usr/local/bin in my PATH
and I have also set TM_SVN (just in case) as followed:
$ set | grep PATH
PATH=/usr/local/bin:/usr/local/sbin:/sw/bin:/sw/sbin:/usr/local/bin:/
usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/
local/pgsql/bin:/usr/local/pgsql/bin
$ set | grep TM_SVN
TM_SVN=/usr/local/bin
$
$ which svn
/usr/local/bin/svn
What am I missing ?
Thanks
Jean-Michel
Thanks to all.
Just set TM_SVN using the suggested method and it worked right then,
i.e. did not have to reload.
Jean-Michel
> On Jan 14, 2007, at 10:39 PM, jeanpierre(a)gmail.com wrote:
>
>> alternatively, you could set the textmate specific environment
>> variable TM_SVN to point to your subversion. since textmate
>> doesn't read your shell you will need to define it in
>> environment.plist or you can set this directly in textmate:
>> Preferences > Advanced > Shell Variables.
>
> Setting TM_SVN via the Preferences > Advanced > Shell Variables
> route is definitely the way to go.
>
> Haris
>
Hi,
Is it just me or the active bundle no longer "centered" under the
mouse when opening the bundle menu on TM's window bottom toolbar? Is
this by design?
Christian
I have not tried it yet, and it is still very much a work in
progress, but now Fuse and the ssh file system are available for OS X:
http://googlemac.blogspot.com/2007/01/taming-mac-os-x-file-systems.html
If that works well there would be no need for an ssh implementation
in TextMate, and Allan could use the time to add other cool things...
And it probably is just a matter of time before ftp will be supported
by this as well.
Gerd
> My first intention, just to see how things are working i wanted to
> make a trace output - which says "Hello World". What am i doing
> wrong? Ive tried to use the ActionScript template and i did a
> script which just says trace ("Hello World"); I did use the
> "Install MTASC Support Files" and i did a try without...nothing
> happens. Can anybody help or does know where i get some
> information? ==================================
trace() is used by the Flash IDE. The MTASC equivalent is TRACE(),
which you can set up on the command line to point to another
function. I'm currently using the LuminicBox logger, but everyone has
their favorite. Google 'actionscript logger' for more options. Most
of them either work over a LocalConnection or an XMLSocket to pass
information to the logger. XMLSocket loggers are faster but the ones
I've seen are less robusty (Luminic, which is a LC debugger, has a
nice tree view for your objects).
Good luck :)
P.S. If you're interested in a more complete workflow, check out my
howto on the subject at
http://www.unfitforprint.com/articles/2006/01/02/howto-develop-flash-
on-mac-osx-with-rake-mtasc-swfmill-and-textmate
___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 2256-1022
ben(a)incomumdesign.com
http://www.incomumdesign.com
For some reason, over time, about half of my Ruby files have 4-space
indents and the other half want to indent by 2 spaces. I've been
living with it, but not my source is looking a bit like it had too
much to drink last night. Questions:
1) How do I tell TM how many spaces to indent?
2) Is there some cool way to invoke the auto indenter across a whole
file (I know it will get some of the indents a bit wrong, but it's
easier than going line by line)?
Thanks