Hello. I'm a new TextMate user, still trying to get the hang of using
an automation heavy editor. I've run into a few questions as I'm
getting use to the program and even managed to answer most of them
myself, with a little playing around. One is still tripping me up
though, so I thought I would ask.
I have Smart Typing turned on and am trying to figure out if I like it.
Most of the time, it's fine, but there are times when I don't want the
pair, like the apostrophes in this sentence. Is there any way to get
it not the add the closing marker for a single keystroke?
Thanks.
James Edward Gray II
Allan,
Here's a suggestion that came to me this morning. How about applying
the wonderful logic in the file chooser to commands and macros? I was
thinking of it being very much like Quicksilver for TextMate commands.
I love it that the number of Bundles for TextMate is growing so
quickly! What I don't like is that there is very little structure to
the allocation of keyboard shortcuts. Its very quickly becoming
emacs-like in the number of option-command-control-foo key-combos one
must remember. I know they are all there in the menu system, but I
prefer to not use the mouse very much when I'm writing and programming.
One thing I always like about emacs, was that I could type Meta-x and
type in the the beginning of a command, hit space for auto-complete,
maybe a couple more characters, and I would have the command I was
looking for. I used this technique for a whole host of commands that I
used fairly often, but not often enough to remember the keyboard
shortcut. I think you could easily go one better by applying your
matching algorithm to macros and commands. Another thing that I liked
was that emacs was self-teaching in that it would often tell me the
keystroke needed to activate the command I just typed, so that after
seeing it a bunch of times I would just start to remember.
Brad
Brad Miller, PhD
Assistant Professor
Luther College
http://www.cs.luther.edu/~bmiller
jabber: bnmnetp(a)jabber.org
Woah, quick response! Thanks.
I would like to be able to preview latex equations as I'm writing. I
really like writing latex, but can't wrap my mind around all the
brackets in latex equations. There is a service called "equation
service". In the text editor, you highlight the text you would like
previewed and call the equation service. It cuts the highlighted text
into the clipboard, turns it into a pdf, and then copies this into the
clipboard and pastes it into your document. The result is that you
see a typset equation rather than a mess of latex code. When it
creates the pdf, it stores the latex code you orignially typed in the
pdf. This way, equation service can be recalled on the pdf preview,
this time replacing it with the orignal latex code so you can edit it.
Under emacs this functionality is provided by an addon called
preview-latex which is brilliant (
http://preview-latex.sourceforge.net/ ). However, I'm fed up with
emacs and would like to try a cocoa based editor, as they are way more
easily applescripted.
The webpage for equation service is
http://www.esm.psu.edu/mac-tex/EquationService/
- Rob
P.S. (I may have imagined PDF Replacement Services. The equation
service home page talks of a program either supporing or not "text ->
PDF services". I have looked on apples developer site and found no
reference of this.)
Hi Allan,
I know, you probably have to do other things concerning
TM development but I have one thing which I would like to
see because it now very often annoyed me:
Opening a Folder via the Open-Menu.
It happens very often that I want so open several files at
once but the only way to do this is to mark them all in the
open-dialog via Command-A, but then I can't browse the sub-folders.
So my request is that I can fire up the open-dialog via
Command-O (like ATM) and then also can select folders
and start a new project this way.
--
Torsten Becker
(novaa on freenode)
I know this is probably on Allan's To Do list, and was mentioned not
too long ago by others, but I haven't found the actual implementation
discussed anywhere. So here goes my 2 cent worth of ideas.
I think the ideal implementation of this feature is just like the Apple
implementation in the Apple Menu's - Recent Items. The applications (=
projects) and the files (= TM single non-project files opened) are
separated as sub-menus of the menu item. Nice, clean and easy to use.
The settings for the number of items stored in each sub-menu should
then be set in the Preferences window, something along the line of what
is in System Preferences - Appearance -> Number of Recent Items:
For the past month or so I've been working with 3 projects opened at
all times. Then over the weekend I closed them down and looked through
some new code from a friend. As a result, I now have to 'go hunting'
for the .tmproj files through the Finder. I know, it doesn't stop me
from working, but this is just some basic 'spit & polish' to correct a
minor workflow problem in an otherwise fantastic app.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
Hello all,
I started using TextMate 1.1b4 and really like it so far. I'm just
beginning to learn about Ruby and TextMate is much better than BBEdit
with it.
I was looking around the Web for some example code, and saw on
someone's blog that they had colorized Ruby code examples with line
numbers. I emailed them to ask them how they did it, and they told me
they used Vim. They said in Vim, you open the file you want colorized
and type ":runtime! syntax/2html.vim". Vim will then split the window
with the original in the upper half and the colorized HTML version in
the bottom half. He then copies what he needs out of that and pastes
it into his blog entry. He says it will work with any language Vim
understands.
What I'm wanting to know is if there's a way to do something like this
in TextMate? Perhaps a command? I'm not familiar with the inner
workings or power toys in TextMate, so any help would be appreciated.
Thanks,
Chris
With the recent introduction of Apple's Pages software I have been
reading a slew of reviews that point out it's short-comings however
this has also prompted people to write in solutions for them. I have
discovered some very nice services (that will of course work in
Textmate as well) so I wanted to start a discussion on what services do
you use (perhaps not use do to stability issues) and can not live
without.
Here is one that I think I will be using quite often:
http://www.nisus.com/Thesaurus/
Looking forward to some new toy : )
Eric C
I have not found any documentation on how folding works. From what I
can tell it is a combination of character pairs and indentation. I'm
have great stress trying to make sense of a PHP class which I did not
write. I cannot make sense of it in BBEdit which I have always used
for code. (I stumbled on TextMate today.) TM would help greatly with
it's folding feature, if I could properly fold functions. However the
class author used inconsistant indentation (for which he should be
tortured) which is causing folds to begin with the { of a function
declaration and the } of an if clause. I have checked using BBEdit's
Text>Balance feature (which is very cool and should be added to TM) and
the {'s and }'s are properly balanced. But, since the indentation
sucks, I can't fold.
Please correct the folding behavior.
Thank you,
--==<< R i c h a r d B r o n o s k y >>==--