Hi there
Am wanting to create a macro or snippet to allow me to comment out a
selection thus:
/* commented selection */
But am a little unclear if this is via a macro or a snippet. Either
way, I'm having trouble seting this up.
Any clues appreciated...
bongoman
I like that there's a per-file header added when you drop a bunch of
files into a new txt doc.
Where would I go to change the appearance and content of that header?
tx,
mm
--
Merlin Mann
43Folders.com
Hello,
I've setup a wiki[1] to collect various TextMate add-ons. The general
layout is still under construction, but feel free to modify anything.
This is obviously temporary solution until macromates configure their
own repository. I'll make sure that useful content gets transfered
later on. Also the wiki is not intended to replace Ian Phillips bundle
page[2], but rather to complement it.
I took a liberty of using TextMate icon. Please tell me if that's not
ok, and I'll remove it.
[1] http://glyf.org/TextMate/
[2] http://ianp.org/articles/textmate.html
---
Philipf
I quickly created an alternate icon that is distinctive in the dock and
says a little bit about what the application does. (It's not brilliant,
but I think it's functionally a little better). The icon may be used
freely for non-commercial purposes.
Alternate Textmate icon
http://www.spahr.org/share/textmate_icon.zip
Updated Smarty Syntax (same URL as previous version)
http://www.spahr.org/share/PHP_Smarty.tmbundle.zip
James.
I like that there's a per-file header added when you drop a bunch of
files into a new txt doc.
Where would I go to change the appearance and content of that header?
tx,
mm
--
Merlin Mann
43Folders.com
Hi all,
There were a couple of bugs in the Snippets, Commands, Macros and
Languages bundled with 1.0 (What can I say, I was in a rush!).
I'd like to use this thread to document any problems you've encountered
or suggestions you have specifically in regards to the Bundles.
Please, no feature requests, or anything related to the general TM
application.
Here's what I have so far:
Snippets:
- br and hr snippets are redundant (use "Make HTML Tag 2" command
instead)
- meta snippet didn't have any placeholders
- PHP function snippet didn't have a placeholder for the function name
- The three PHP tag openers are a little much... will make one
redundant, and people can customise top suit their own preferences
Languages:
- swapped SCRIPT and STYLE patterns around the wrong way in HTML.plist
Macros:
- nothing yet
Commands:
- rename "Reload in Safari" to "Refresh Safari", since that's all it
does
- add a php.net manual look-up command for the current word
I'd appreciate any suggestions for more snippets, macros and commands
to add to the default set. Please keep them all in this thread, so
it's easy for me to keep track of what's going on. Anything that can
help people speed up their productivity or solve repetitive or boring
tasks is a great candidate.
Justin French
It´s great to finally have folding in a native osx application.
Although the current implementation has a few usability issues:
First, the folding column needs to be rightmost in the gutter,
next to the text. Currently, when line numbering is active,
matching folding widget with line is harder than it could be.
Second, the present top and bottom widget icons are too
similar, making it hard to read a structure overview off the
document. It´s primary function is to show start or end of
the block, thus arrow direction must be the most visible
feature.
In addition i suggest a highlighting feature, allowing us to close
a fold(?) by clicking anywhere on a line between between
folding icons. A mouse over effect shows what parts will be affected.
This will allow easier matching of open and closing arrows, as well
as reducing mouse travel.
View the attached mock-up for a clearer, visual description.
(note in the image I am experimenting with a x-code style top-bar as well ;)
hp.
Greetings!
So, have anyone started to make some custom syntax definitions for the
various laguages out there? Lets share!
I wish I could say "I'll start" but I've just started on one so I'm
still wrapping my head around it. It still baffles me why colours
arent global (like, often i want the same color for strings regardless
of laguages for instance)
(apologies if this has been bought up already, I'm the list newbie)
Cheers,
johan
--
Johan Sørensen
Professional Futurist
www.johansorensen.com
I added an alias in my .tcshrc file to open files similar to the
bbedit command line utility.
(alias tm open -a TextMate)
When trying it out, i figured i´d test opening folders using my new command.
so typing "tm ." worked great! but unfortunately I was in my home folder:
TextMate halted, loading some 20GB worth of files to my new project.
And my point is is :) : There ought to be some handling of this
situation (when dragging folders to the dock icon as well) either
trough a warning, an option to add none-recursively, abort button in
shelf etc.