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…
Have fun,
Soryu
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
Thanks Niko,
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
Locations searched:
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/
CocoaDialog.app/Contents/MacOS
/bin
/sbin
/usr/bin
/usr/sbin
/Applications/TextMate.app/Contents/SharedSupport/…
[View More]Support/bin"
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
these commands:
cd /Applications/TextMate.app/Contents/SharedSupport/Support/bin
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 ...
JR
[View Less]
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 …
[View More]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
appreciated. Thanks!
(As a side note, I almost got my boss to switch from BBEdit, but the
whole remote project issue blew it.)
Yann
[View Less]
> 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
> appreciated.
Transmit has a new feature they're calling 'Edit in Whatever.' Edit
any remote file, in any app — even graphics!
<http://www.panic.com/transmit/>
Editing Files in an External Editor
Transmit can edit any remote file,…
[View More] 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
default:
- 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
Finder's default:
- 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.
[View Less]
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 …
[View More]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
[View Less]
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 …
[View More]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>
____________________________
[View Less]