I'm writing a command where it would be really great to preserve a string for later use by other commands.
I'm assuming there no way to define a environment variable (like LAST_STAMP or something) that could be set from a command, would persist, and could be read from a later invocation of another command?
Any other kind of scratchpad memory that I could take advantage of? (I realize I could write a small file somewhere.)
Many thanks in advance!
I have a list of functions ( thousands ) for a certain proprietary
language and I would like to enable some sort of autocomplete in
textmate but that works similar to Eclipse's, IDEA's, etc. in that it
allows you to
1. Search or autocomplete
2. Once you select the method, you get a "snippet" template so you can
tab around the parameters
I imagine lots of people have tried this and I am also afraid that
there is no simple solution.
What's the best path here?
FYI. The library consists of around 2000 functions.
I am developing a Bundle that will startup a local database server (
think SQLite ). Some of the questions I have are:
* What's the recommended way of bundling binaries into Bundles, if any?
* What startup/shutdown hooks exist, if any?
I thought this workflow should work, but it’s running into trouble:
I open a new message in Apple Mail.
I type the keyboard command for Edit in TextMate.
I write a simple document in Markdown.
I use the Markdown bundle command to convert to HTML.
I use the Mail bundle command Send HTML as email via mail.
I get “Syntax Error: Expected end of line but found property (-2741)"
Problem seems to occur whatever the language grammar is set to. I’m using TM version 1.5.9, with updated bundles. I didn’t find a mention of this in the archive.
Thanks very much for any suggestions about a fix or a better workflow.
I'd like to:
1) close all foldings at level 0
2) open all foldings at level 1
casting a single command.
i.e. without having to manually cmd+opt+0 cmd+opt+1
I don't have a clue about how to do it, can somebody help please?
venera Lo'oris su http://looris.net
thanks for the help, I have tried yoursuggestions and it helps.
But maybe it could be put in the next version as a possible feature, it
would be useful for people writing texts in textmate, especially when
using a screenwriting mode.
Is there a possibility to change the width of the caret so that it would
appear to be a blinking rectangular?
Not that I know of, but you might at least try to turn on the "highlight
current line" preference:
go to Preferences
Check "Visual Ornaments: Highlight current line"
You can then move over to the Fonts & Colors tab and pick a background
color for the current line.
Also, the shortcut Command-L is good for centering the current line
vertically in your window (if it's possible). Between those two, I can
usually find my current line.
I realize that's only one dimension, and you were hoping for two. I
don't know of anything to help you locate the current column, short of
doing something manual, like pressing Shift-RightArrow to make a
selection that would stand out. Not what you were after, but that's the
most hope I can offer.
I betcha, if challenged properly, one of the wunderkinds of this list
like Hans or Ciarán can whip together a plug-in that does just what
you're looking for. But that task is not for me.
When I used to have a project open and then close it, the next time I would open the project all the files that were open would still be open and I could just start working on them again. Now, when I open the project again, all the files are closed and I have to open them all again. It did not used to do this, whatever was left open, would still be open. Now whatever was open, is closed. I cannot find any preference to change this and I'm not sure why this behaviour changed at all.
Does anyone know how change it back, or what I may have done to change it? I want all the files I was working on when I close the project to still be open when I open it again.
When you want to start a new thread ALWAYS write a NEW letter to the
mailing list rather than reply to an existing one (and change subject).
When you reply to an existing letter the threading gets messed up
which makes managing threads problematic (and messes up the archive)!
Started working with Scala, but am bewildered by the number of bundles available for TextMate. Can anyone offer some info on which ones I should look at if there isn't an obvious choice?
Currently using Mads Hartmann's version...