I have mysql 4.1 installed on my machine in /usr/local/mysql/bin/.
It's up and running just fine.
When I run the "Execute Selection as MySQL Query" command from
TextMate, I get the following error message:
"Couldn't find mysql
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"
Any ideas?
Thanks,
Jeff
Here's what I'd like to do:
On my webserver, I'll edit my .bash_profile to include and alias for 'mate'
to a shell script. The shell script will do the following:
1. secure copy the argument file to my local tmp folder
2. open the the local tmp file with 'mate -w'
3. once I finish editing the file in TextMate and close it, secure copy the
new file to replace the file on the webserver
The problem is, I don't know anything about shell scripting. :-)
But I'm wondering if anyone else already has something like that or would be
willing to help write one.
Any other ideas for accomplishing the same goal (edit remote files with
TextMate) are also welcome.
Thanks,
Simon
P.S.-I saw the copy to tmp folder idea in this useful view safari source
applescript:
http://comox.textdrive.com/pipermail/textmate/2005-September/005727.html
I did a super quick search and didn't notice anything, so I am
posting here (feel free to tell me to shuddap if it's been discussed
before).
Isn't there a way we could customize bundles that are "added" in. I
was thinking that when you do an update, if a bundle gets updated,
but I have a "customized" version (aka, i added a few things) I won't
get the updated bundle. Is this correct? Or is textmate smart and
only inserts my updates?
Eric Coleman
Hello all,
I'm trying to work out how to order files/folders in the project drawer.
I dragged and dropped files in to the drawer ordered however they're
listed in a bit of a random order now.
Any ideas?
Thanks!
Alastair
hi everybody.
i really LOVE the TODO-Bundle (thanks to whoever wrote it). as i'm
using it alot, i added some features:
- i like to see, wether s/th is TODO, FIXME or CHANGED. so i added
these words to the list and colored them differently.
- i added buttons to hide each category.
- as i'm a programming nube, i add own "changed"-comments
("NikosChange") to stuff i change in my RoR- and Joomla-projects to
keep track of what i do (wrong ;-). i added this as another category.
adopt this to your needs.
as i'm a programming nube (but you know that already), i'm all but
shure that i didn't make mistakes in my changes (you know that, too).
so if anybody and especially the author of the TODO-bundle finds bugs
in my code, please tell me over this list.
regards, niko.
ps: excuse my bad english.
--
____________________________
niko dittmann <ni-di(a)web.de>
____________________________
Hi Robert, hi Mark (et al.),
I've just downloaded TextMate and subscribed to this list, curious if
there's also a ConTeXt bundle to work with.
As I have read your thread from last year I was wondering how things
are going?
Or does anybody else has good news for us ConTeXters?
Steffen
I have a server that gets all the åäö (and the like) botched when I
upload my stuff to it. I hate to see all the ä stuff when I
edit, so I thought a macro to do a project wide search and replace
would be nice just before uploading the stuff.
I tried to record a macro that would do a project wide find/replace,
but it didn't seem to work. Suggestions?
A reference to characters can be found at
http://dillo.rti-zone.org/Html.testsuite/entities-latin1.html
Andreas
> inspired by the UI thread I hacked together a TextMate plugin. It
> shows all bundle shortcuts applying to the current scope whenever a
> modifier key is held for more than a second.
I agree this plugin is fantastic, but I had to remove it after just a
few minutes of use as I had no idea I often hold modifier keys while
I'm thinking, and it kept popping up when I didn't want it to.
Simply changing the method to invoke it would make it immensely more
useful.
Thanks for your work on this! Very cool idea..
Nate.
---------------------
CLIXEL Design & Coding -- http://clixel.com/
BRAINFAG Comics -- http://brainfag.com/
Hello,
I'm evaluating TextMate (coming from Vim) and I really like what I
see. I'm now trying to create my first Bundle, to deal with some
editing I do every week to create the Caml Weekly News. The format
I'm using is xml, so I'd like to have a Bundle with the same language
syntax, a few new snippets, and a command stolen from the HTML bundle.
About the language syntax, I'm a little confused by what the manual
says (http://macromates.com/textmate/manual/
language_grammars#language_grammars) about scopeName:
"scopeName (line 1) — this should be a unique name for the grammar,
following the convention of being a dot-separated name where each new
part specializes the name. Normally it would be a two-part name where
the first is either text or source, and the second is the name of the
language or document type. But if you are specializing an existing
type, you probably want to derive the name from the type you are
specializing. E.g. Markdown is text.html.markdown and Ruby on Rails
(rhtml files) is text.html.rails. The advantage of deriving it from
(in this case) text.html is that everything which works in the
text.html scope will also work in the text.html.«something» scope
(but with a lower precedence than something specifically targeting
text.html.«something»)."
So I tried a scopeName of "text.xml.CWN" to see if I would get XML
like syntax hilighting for free, but it did not work. I had to do:
{ scopeName = 'text.xml.cwn';
fileTypes = ( );
patterns = ( { include = 'text.xml'; } );
}
including the text.xml language.
Is this the correct way to proceed?
Another question is about the presence of a support directory in a
tmbundle (as there is one in the html bundle). Do they need to be
created by hand in the Finder, or is there a way to add a Support
file using the Bundle Editor?
My last question is about snippets: it seems that it's not possible
to invoke a snippet while completing one (that is, in the middle of
tabbing through all the fields to fill). Is it the case?
Thanks a lot,
Alan
--
Alan Schmitt <http://sardes.inrialpes.fr/~aschmitt/>
The hacker: someone who figured things out and made something cool
happen.
.O.
..O
OOO
Is there a way to run some code from a Bundle before TextMate opens a
file? The idea would be that when I run either:
$ mate foo.c
or
$ mate myprojectdir
and then click on foo.c I get to see if foo.c is version controlled
and then I check it out if it is. The version control system that I
use (BitKeeper) has a 'get' mode that checks out the files read-only,
and before editing you have to check them out in 'edit' mode. I have
written a function in a bundle that does this, but I have to call it
manually. I would like that to be automatic...
Thanks,
-Oscar
--
pgp fingerprint: BC64 2E7A CAEF 39E1 9544 80CA F7D5 784D FB46 16C1