Greetings,
It seems like people are starting to go hog wild creating TM bundles,
so I have started a (currently very crude) bundle editor for TextMate
last night, which looks like this:
(note: this is not a Photoshop mockup, it's an actual screenshot of a
running Cocoa application ;) ).
If you guys think that this kind of tool would be useful until Allan
and friends come up with an integrated bundle editor, let me know.
Allan and friends, if you have something like this up your sleeves that
you are ready to ship, like, in 2 weeks, let me know as well ;)
--
Luc Heinrich - lucsky(a)mac.com - http://www.honk-honk.com
As well as jumping to the correct line in files when there's a
compilation error, it now does the same with NAnt builds (for the csc
task at least).
Also included now:
Selective builds: in your nant.build file highlight a target and it
will be built, this uses the $TM_CURRENT_WORD variable, if nothing's
selected it will try to build "all" as before.
Build File syntax highlighting.
Enjoy,
Ian.
#ifndef __COMMON_SENSE__ | Ian Phillips
#include <std_disclaimer> | http://ianp.org
#endif
Hey,
This might have come up already, but I think it would helpful to have a
single page that collects (or at least points to) all the available
add-ons folks have put together for TextMate, such as bundles,
syntaxes, snippets, and so on. A two-line summary of what it does (with
screenshots where possible) would also be great.
I agree that the power of TextMate comes from unlocking its _insane_
amount of configurability. But, I also suspect that some of the
nay-sayers--especially those less experienced with the power of a
shell--would be much more inspired if they saw what they could *do*
with TM (without having to build the actual widgets themselves).
For inspiration, I think Alcor has done a nice job with [Quicksilver's
plug-in page][1], which folks can sort by alpha, popularity, or update
freshness. Best of all, users can click to install any of the plug-ins
right from that page. Takes a lot of the mystery out of the process.
Just one data point. If ya'all need help with bandwidth or what have
you, please let me know how I can pitch in. I am, as the kids say, a
fan.
[1]: http://quicksilver.blacktree.com/plugins.php (Quicksilver's
plug-in page)
--
Merlin Mann
43Folders.com
Hi
It would be excellent if one could set a custom selection color in
syntax plists. I was rather excited to see the feature under View: Show
Color Settings, but unimpressed that it was not used when syntax
coloring was enabled. Might there be an undocumented property to set it
in a syntax file?
- craig davey
I'm trying to work out a couple of bugs in my XML syntax. I may have
uncovered a bug in the folding code, or I may just be suffering from
regexp brainfade...
What I was originally trying to accomplish was two types of folding. I
wanted the following to fold up:
(begin) <foo>
<bar />
(end) </foo>
... and I also wanted this to fold:
(begin) <foo key="value"
(end) key1="value" />
The latter would ideally fold to
<foo key="value"(...)
Am I correct in believing that this second form can't be accomplished
with the simple folding marker regexps available now? The help doc
says that it expects the end folding marker to be on the same indent
level as the start folding marker, and the second form definitely is
not.
Now, for the part that may be a bug:
I haven't found a regexp that will make TM *ignore* the abbreviated
(but multi-line) XML element above (the 2nd one). Perhaps this is all
well and good, except that TM seems to rather arbitrarily match the
would-be end tag for the shortened element. I'll annotate the
screenshot below:
Line 62 starts one of those singleton elements. Note that there is no
closing tag, but at line 67, another element begins as the same indent
level. In the current state, if I use the folding start button in the
gutter at line 62, TM folds the document to line 72 (the end of the
first </target> text). If I fold the "clean" target (lines 67 to 71)
and then fold the <target> at line 62, TM folds all the way to line 92.
It seems to me that TM should stop searching for a match if a new start
fold marker is discovered at the same indent level. Is that correct,
or are my regexps just more sloppy than I thought they were? :-)
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
Is it open to me to set HTML attributes to have a different color to
the tag itself? I'm aware that I can edit the relevant file in the
Bundles directory to configure my syntax coloring but recall reading
something somewhere that this was not possible as yet re attributes &
tags.
Hi folks,
I wanted to try TM for Perl programming, so I whipped up a quickie
syntax coloring bundle, available at
<http://math.sfsu.edu/hsu/textmate>. You might not like my subtle
colors. Feel free to change them for yourself.
I'm certain this work can be improved. If you do modify it, I'd
appreciate your sending me the improved copy!
best wishes, Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
James A. Baker asked me for a BBEdit feature where the selection is
wrapped in a tag, which you pick from a list of tags. But then his
stream of thoughts derived the following TextMate solution, which I
think was very neat:
Create this snippet, name it _wtag:
<${2:tt}>$1</${2:tt}>$0
Then select Start Macro Recording and type:
cmd-x, _wtag, tab, cmd-v, tab, stop recording, save it for later.
Now you have a macro which wraps the current selection inside a tag
pair (the default tag name is tt, but you can change it). Press tab
again after having typed the name to leave the snippet.
Another neat trick I saw on a blog (but unfortunately lost the
reference) was a command configured to do:
open http://php.net/$TM_CURRENT_WORD
So simple, and yet so powerful (it looks up the word under the caret in
the PHP reference documentation).
It's really fantastic to see this end-user innovation, keep it up! :)
Kind regards Allan
Has anyone successfully unsubscribed from this list? When I hit either
the "password reminder" or "unsubscribe" button in the Mailman web
interface, I don't get any email from the Mailman. But he's happy
enough to deliver the list messages.
Guan
Just thought I'd chime in with my experiences of using TM over the last
couple of days.
Firstly, may I heap lavish praise on the developer(s). The
live-updating project drawer (despite its shortcomings, below) is
fantastic, and the Esc autocomplete is nothing short of magic. How does
it *always* seem to guess the right completion for a given start string
out of many possibilities? Regardless, this has made coding a lot less
laborious. The snippet and macro features are also great time savers.
But enough of the praise, here's my comments and suggestions :-)
* I rarely want to view the ASCII version of an image file. How about a
preview of the image in the editor pane instead?
* Whilst speed is generally not an issue, there is an annoying 2-4
second delay (i.e. spinning beach-ball) when switching to TM when I've
got an (open) project located on an SMB share.
* By default, TM requires a lot of keyboard mashing for relatively
common commands. For instance, I see no reason why the Command + Option
+ Control + D for toggling the project drawer can't simply be Command +
D (in fact, I've hacked this myself in IB and it works fine)
* How about a split view (i.e. the ability to see different sections of
the same document at once)?
* TM doesn't seem to remember the window scroll position if you do the
following: open a document (that scrolls), and scroll down without
changing the insertion point. Switch to another document/tab. Switch
back. The window scroll position is back to its original position, and
is no longer at the section of text I was looking at.
* When searching within a document for a string located "below the
fold", the matching string barely creeps "above the fold", i.e. is
bottom aligned relative to the window. This makes it harder to see the
match in context. I prefer the behaviour (which I believe BBEdit
exhibits) whereby the matching string is centred vertically in the
window, making it easier to spot and put in context.
* How about being able to create a "real" folder (as opposed to a
group) in the project draw?
* I would like the group name to be selected and editable immediately
after its creation, Ã la "New Folder" in the Finder
* The Shift Left/Shift Right commands exhibit weird behaviour. I expect
them to work like Command + [ and Command + ] in BBEdit or SubEthaEdit,
but they don't. (Sorry for the vagueness. It's easier for you to see it
yourself than for me to describe how.)
Overall, I like the direction TextMate is going in.
Regards,
Rich Barton