There are two heredoc-rules for the PHP grammar:
A generic one and an HTML one with HTML Syntax (the first rule even).
I improved the HTML one a little by including the PHP variables and
made another two for XML and SQL.
Maybe someone with svn write access could include them in the default
grammar. Forking the PHP grammar does not really work as one had to
fork the HTML as well…
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
Or does anybody else has good news for us ConTeXters?
mysql is definitely in my path. I use tcsh and mysql is there:
setenv PATH /usr/local/mysql/bin:$PATH
However /usr/local/mysql/bin/ and other directories that I set in my
path are not reported in the search path that the MySQL bundle tells
me it is using:
"Couldn't find mysql
I tried modifying the PATH variable in the Advanced pane of TextMate
Preferences, to no avail.
So as a hack, I created a symbolic link to mysql in TextMate using
ln -s /usr/local/mysql/bin/mysql mysql
It's not pretty but it works. I'd still like to figure out how to
modify the PATH that the SQL Bundle uses ...
I looked through the mailing list history and I know the whole FTP
integrated thing has been talked about a lot already but hear me out;
I just started working for this company where I HAVE to work off of
the server. I don't like it, but that's the way it's gonna have to
be for now (working on it though ;)
So I tried to figure out a way to work with project windows off of
the server and discovered it was impossible... What I do now, is
open all the files via FTP and then drag them to an empty project and
hide all the windows. It's a major pain but I do it once in the
morning and leave it open all day so that's not too bad.
What I would like to know is if there's a way I could automatize the
process, some sort of "add all open windows to empty project" type
macro or something along those lines. Not as good as being able to
save projects on remote servers, but it would be good enough for now...
I also read that someone had some kind of Perl/rsynch combo that sort
of mimicked the project on server idea, but I couldn't find enough
info to get anything working.
Any help in optimizing a remote type workflow would be greatly
(As a side note, I almost got my boss to switch from BBEdit, but the
whole remote project issue blew it.)
> minimal.design textmate at minimaldesign.net
> Wed Feb 15 00:10:25 GMT 200
> I just started working for this company where I HAVE to work off of
> the server.
> ... Any help in optimizing a remote type workflow would be greatly
Transmit has a new feature they're calling 'Edit in Whatever.' Edit
any remote file, in any app — even graphics!
Editing Files in an External Editor
Transmit can edit any remote file, using any local editor. Transmit
will download the file to a temporary directory, and watch the file
for changes. When you hit "Save" in your local editor, and the file
is changed, Transmit will automatically upload the file to the server.
Select the file to be edited.
- Choose File > Edit in [Editor Name]. (The name of the Finder's
default editor for that file type will be displayed.)
- Keep Transmit running while editing the file.
- Make the desired changes in the editor.
- If you want to keep the changes, save the file in the editor.
Transmit will save the file to the server automatically. The editor
can be closed or quit when it is no longer needed.
If you wish to edit files in a different editor than the Finder's
- Right click, or control-click, the file to be edited.
- Choose Edit With > [Name of Editor You Want To Use]
- If the editor you wish to use isn't present, choose Edit With >
Other... and select the editor manually
If you wish to permanently edit files in a different editor than the
- Choose Transmit > Preferences.
- Click Files.
- Click the icon next to Custom File Editors.
- Type the extension you wish to associate (for example, html), and
choose the application you wish to edit with.
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
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.
P.S.-I saw the copy to tmp folder idea in this useful view safari source
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
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?
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.
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.
ps: excuse my bad english.
niko dittmann <ni-di(a)web.de>