Uhmm.... how do I start column typing? Can't find it in the menu's...
Sorry for something which is probably straightforward, but I really
can't seem to find it.
--
Joost Schuttelaar
Hello,
I'm trying to open all .txt files with TextMate. In the finder, I select a
.txt file, hit Control+i to get info. Then I select TextMate as the app to
open it with, then I click "Change All". After clicking "Change All"
TextMate disappears as the "Open With" app and is replaced by the text: "Not
applicable". If I close the info box and double click on the .txt file, I
get this error: "The operation could not be completed. An unexpected error
occurred (error code -10660)." If TextMate is already open, a double click
on the file in the Finder opens fine. But if TextMate is closed, it shows
this error.
Does anyone know how to fix this?
I think it may have been caused by renaming the beta versions of TextMate to
names like "TextMate1.01b3". Maybe the Finder got confused about which app
was THE TextMate to open with. I now only have the newest 1.02 version in
the Apps folder.
Any help much appreciated. Thanks.
Simon
I'm a newbie textmate user, and unfamiliar so forgive me if this has
been covered before.
When double-clicking on whitespace to select and then moving the mouse
to text (to select by word) it's very annoying to me that the word at
the other end of the whitespace is selected. I've seen this behavior
in M$ products and it drives me nuts. Am I the only one?
To me it's obvious that if I double click something and then move left
that it's wrong for something rightwards to become selected.
I'm sure I'll learn to cope, but I thought I'd ask about it.
I'm still getting used to it, but I think I like TextMate. :)
I installed the SQL bundle, but it didn't do it for me. At some point
I'll have to go make a syntax file that supports Oracle PL/SQL (since
that's what I edit mostly these days).
cheers
Patrick
Hi,
I'm using TextMate for my Getting Things Done (GTD) stuff. Is anyone
else out there doing the same? I'm just getting started and would love
to see how others are using TM for GTD. How do you set up your file
structure? How do you name and keep track of your files, actions, and
projects, etc.? I can see how it would be useful to be able to do such
things as link from a URI in a text (markdown) file directly to a
browser. As well as things like creating links to other local (project)
files ala voodoo pad, and moving chunks of text to other files whilst
sprinkling them with some meta data.
Then they are things like aggregating lists to create contextual lists
and so much more I can imagine but not conceive of programatically.
I just found this:
http://www.rousette.org.uk/blog/archives/2004/11/28/rails-gtd-
application/
and I know bsag has other discussions about TM GTD in her blog. As well
as Daniel Von Fange's neat little tricks:
http://www.braino.org/blog/archives/001512.phphttp://www.braino.org/blog/archives/001440.php
Admittedly I haven't played much with these, but I do remember having
some problems with TM finding my Ruby install.
-t
I'm resending this letter from the 3th of November just as a friendly
reminder and for all those who have joined the list since the
previously mentioned date.
----------->8-----------
There is really only one rule (apart from normal netiquette) I want you
to uphold:
When you write a _new_ letter to this mailing list, _don't_ use “reply”
on an existing letter (to get the To: filled in).
It screws up threading!!!
If you're using Mail.app, you can control-click the “To” of an existing
letter and select “New Message” to get a compose window with the “To”
header filled in.
Threading is a very useful feature, and especially for me with this
mailing list, since it's basically an archive of user feedback, and I'd
like for the table-of-contents to show _every_ thread, which it
currently doesn't, when one thread contain 2-3 _different_ subjects,
because people have used reply (then it only show the first subject).
So PLEASE remember _not_ to use reply (for new letters)!!!
Was there any resolution on the subject of canceling the incremental
search via the navigation keys? I believe that I never heard any
support for leaving it as it is, with several supporters for having
only backspace edit the search string. Is this on your todo list, or
will it stay as it is?
Thanks,
Wayne
Hi,
I'm using TextMate for my Getting Things Done (GTD) stuff. Is anyone
else out there doing the same? I'm just getting started and would love
to see how others are using TM for GTD. How do you set up your file
structure? How do you name and keep track of your files, actions, and
projects, etc.? I can see how it would be useful to be able to do such
things as link from a URI in a text (markdown) file directly to a
browser. As well as things like creating links to other local (project)
files ala voodoo pad, and moving chunks of text to other files whilst
sprinkling them with some meta data.
Then they are things like aggregating lists to create contextual lists
and so much more I can imagine but not conceive of programatically.
I just found this:
http://www.rousette.org.uk/blog/archives/2004/11/28/rails-gtd-
application/
and I know bsag has other discussions about TM GTD in her blog. As well
as Daniel Von Fange's neat little tricks:
http://www.braino.org/blog/archives/001512.phphttp://www.braino.org/blog/archives/001440.php
Admittedly I haven't played much with these, but I do remember having
some problems with TM finding my Ruby install.
-t
Thanks to Xavier Noria for his bug list for the Perl bundle. I have
fixed some of them in a new version (see the wiki, or my page
http://math.sfsu.edu/hsu/textmate for the archive and details.
Here are the fixes:
adjusted $foo{bar} so the first brace isn't highlighted
q qq qw qx quoting recognized
POD recognized (from =head1 to =cut)
__END__ __DATA__, __FOO__ all recognized
added Perl to One-liner command
Known problems:
many autoquotes not highlighted right: here-docs not quoted,
hashkeys in => notation.
I invite anyone else to take a crack to getting the autoquotes right,
in the cases that Xavier noted. (I am travelling for the next three
weeks!)
The problem with doing here-docs right is that the start and end
delimiters change with each case, so we'd have to use backreferencing
in the 'end' parameter, and I don't think that's currently possible.
- Eric
ps. I wonder how hard it would be ( maybe for 2.0! :) ) to have TM
simply use vim syntax files, or some other well-worked format...
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
Paul Nordstrom August wrote:
> FTP in the drawer... yes please! (Hope that's SFTP as well.)
There's a way to fake it somewhat :)
Open the files from the FTP server as you would normally, they're then
stored in /private/tmp/501/Cleanup at Startup/ or so as files. If you
put those files in a project *and* open tabs for them in the project so
they are read, you can close the original windows, and only work on
what's in the project.
Alas, you cannot successfully save, close and open the project lateron,
and moving things around in folders won't work either; I only use it
when I know I'll be editing the files for an hour or more or so.
Regards,
Martin
Hello
Maybe this is not a bug, but when I open a .ini file from the project
drawer, one click doesnt open it - i have to double click it - and then
it opens in a new window instead of the same window as the rest of the
files in the project. Is this a bug?
Regards
Duarte Carrilho da Graca
Allan,
> Added a dock menu with New, New Project, and Open….
Thanks so much for adding this! Certainly one of the features I
personally missed from SubEthaEdit. With that said, I wonder if it might
make sense to make the menu more consistent with SEE? For instance, SEE
has "New File" instead of "New". They also use "Open file..." instead of
"Open.." IMHO, I think that SEE's wording/ellipses choices look better,
but that may be familiarity talking.
> The Text -> Change sub menu now also appears in the context menu (when
> there is a selection). Also, suggestions for spellings no longer
> appear if the selection contain newlines or tabs (previously it only
> looked at spaces).
This is also a welcome change. However, I think that instead of
"Change", which is ambiguous, you should use "Convert" or "Format" as in
the attached Service menus.
Thoughts?
Chris
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
Quote of the moment: /If you can't describe what you are doing as a
process, you don't know what you're doing./— W. Edwards Deming
I just built beta 11. If there are no problems this will be released
later today as 1.0.2 which should be the last in the 1.0.x series,
meaning that I'll shift priorities a bit and focus on larger
improvements for the 1.1 release.
Basically it just means that having the 1.0.2 out as “official” with
most obvious fixes done, I'll be more comfortable rewriting major parts
of TextMate even if it means the source will be in a non-functional
state for a couple of days -- but I'll still release betas as often as
it makes sense, and I'm aware of the requests expressed on this list.
was wondering if TextMate could throw a warning if the key-equivalent
you're assigning to a command will wipe out a pre-existing
key-equivalent. From what I've observed, if you add a key-equivalent
[that already exists] to a command then the command works --as
expected-- in that key-equivalent, silently overriding what was there
before. Hopefully not something too difficult? I guess that would be
helpful for macros too.
Kumar
Hi Allan,
If possible, could you make the Replace field the next tabindex after
the Find field? Right now it lands on the Sigma button, meaning I have
to double-tab to get to the Replace field.
Thanks!
Chris
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
Quote of the moment: /"Accept that some days you are the pigeon, and
some days you are the statue."/— David Brent, Wernham Hogg
I woundered if it was possible to change the shortcut for "Insert
closing tab". cmd-opt-. isn't working on my keyboard layout. As I
understant it, opt-'.' is '>' so cmd-opt-'.' is understood as cmd-'>'
I get this problem all over the system.
Anyway, how about just cmd-'.' ? I know it's a reserved shortcut for
cancel but in a sense, it 'stop' a block. And there is no use for a
cancel in text editing. And beside, cmd and '.' and very close
toghetter while opt is all the other way of the space bar on small
keyboards ( original g4 and I think powerbook/ibook too )
> Date: Mon, 6 Dec 2004 13:10:05 +0100
> From: "Fred B." <fredb7(a)starflam.com>
> I started using Fugu with this release.
> Connecting locally to my server and editing using TM working fine.
Just so you know, rc2 is out now. It has fixed some problems that rc1 had.
Carl
HTML folding does not work properly in a very simple hand-written HTML
page. This is a movie depicting what happens:
http://www.hashref.com/textmate/tmbug_html_folding.mov
There I try to hide three blocks:
1. The "body" CSS element is correctly folded
2. The "style" tag is not
3. The "head" tag is not
-- fxn
Python folding seems half implemented, it does not work. As you can see
in this shot:
http://www.hashref.com/textmate/tmbug_python_folding.png
There's no mark for classes for instance, and more important if you
click on the marks to fold functions nothing happens.
-- fxn
I love the scratch macro and the ability to replay it with a keyboard
shortcut. How about a "replay last used macro"?
E.g., let's say I have a saved macro that I don't want to assign a
keyboard shortcut to, but which I do want to use over and over again
for a stretch in a document. Right now I've got to pick it out from
the menu each time.
If we had a "replay last used macro" I could just hit that keyboard
shortcut repeatedly. It could probably even replace "replay scratch
macro" and still have the same effect when the last used macro
happened to be scratch.
Thoughts?
A few issues in the syntax highlighting done by Perl's bundle.
The first one I think it's typically hard to get right: here-docs are
not recognised. This not only means that they are not colourised as
strings, but that their content can fool the rest of the highlighting,
for instance if there's an unbalanced quote. (Sometimes a fake comment
can help there though.)
POD sections are not recognised either, so not only they are not
coloured but Perl keywords are highlighted in regular English (for, if,
while, ...).
On the other side, hash elements are no correctly highlighted. In
$foo{bar} = "baz";
the red for variables goes beyond the "{" and stops at the "r":
$foo{bar
If "bar" is quoted the highlighting is correct though, curlies in black
and the string in green.
In the broken example I'd expect the curlies in black, and the key in
green because it's autoquoted by Perl. Green to the left of =>s would
be good as well, as words there are also autoquoted. Both conventions
for autoquoted stuff are followed by CPerl and the Perl mode for Vim.
q(), qq(), and their variants are not highlighted as strings either.
-- fxn
I just purchased TextMate and found some apparent bugs editing Perl and
Python. Which is the right address to report them?
-- fxn
PS: I would have liked new releases could have a new trial period. I
bought a license without being able to compare the current version with
the initial one.
>I just purchased TextMate and found some apparent bugs editing Perl and
>Python. Which is the right address to report them?
The language bundles are currently maintained by volunteer work. I
contributed the Perl bundle and according to
<http://wiki.macromates.com/textmate/show/Bundles102>, a bunch of
people contributed different Python bundles. Probably the best place
for bundle bug reports is this mailing list, with a subject like Perl
Bugs or something else clever to divert people who don't care.
What are the Perl bugs? They might be due either to my bundle or
underlying problems with TM.
- Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
Hi,
I would like to highlight the syntax as shown in the attached picture.
However, this matches the wrong brackets. Anyone any idea how I could go
about to better highlight this?
I guess it boils down to a not powerful enough syntax highlighting scheme
though :(. The thing I want to do is something like:
- match commands (begin with '\' followed by a word
- this can be followed by [\w+]
- and this can be followed by {.*}
And what I would like to do is apply the global patterns to the '.*'
mentioned above, and if nothing global matches, then apply a color.
Jeroen.
PS. I seem to remember something about using groups to define different
colors in a pattern, but I forgot how that works. Can anyone tell me how
that works and/or add that to the wiki ? :)
brilliant!
> Added history for find and replace strings. Currently it doesn't store
> options in the history (like regular expression or case sensitive)
That helps a lot... Can we save certain ones (esp grep searches) and
give them a name somehow (someday!)?
On reading the change notes in b10 I discovered the context menus for
selected text -- never used them previously but I love them.
Amazing progress as usual. Thanks Allan.
p.
sorry, I'm not quite sure I understand, are you saying that it does
work for you, or it doesn't? I've installed all the latest updates now,
but there is no change, it still doesn't launch, just appears in the
dock briefly for a split second and then vanishes again. I don't get a
crash message either.
I'm running 10.3.6 on a G4 dual 1.4Ghz.
weird.
Chris
Begin forwarded message:
> idem for me (Mac OS 10.3.6, last security updates done)
Is there a way left to move the cursor to the top of the window? Pageup
used to do this, and while I understand that it's not HIG or like other
apps do it, I was just getting used to it :-)
Regards,
Martin
Greetings folks,
recent $'er for this great editor. Longtime vi user, but always wishing
for a highly configurable editor that was more os x-integrated.
Couple questions/suggestions:
Any way to make a Command which can work with the $TM_FILEPATH variable
-- except with a .pdf extension? This is good really only for opening
the .pdf file in e.g. TeXniscope for the first time. …or another
method?
Also -- after running a little pdflatex Command on a file, I'm finding
that there's no really optimal output method. I'm often working on a
12", so a full window devoted to the results (which I generally only
need to see if there's an error) is a little bulky, especially as the
focus moves to the said new window. The tooltip output looks promising
(it disappears at the touch of a key), but it seems to appear with the
top left corner at the cursor -- which often leaves the bulk of the
window off the screen.
Thanks, thanks, thanks for TextMate!
David
I do like the indented paste feature but find that it's one of the
features that I'm constantly turning on and off, depending on what I'm
working on. It would be nice if this feature were moved out of the
preferences and back into the Text menu where's it more readily accessible.
Thanks!
Chris
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
Quote of the moment: /If you can't describe what you are doing as a
process, you don't know what you're doing./— W. Edwards Deming
>Has this been brought up as a feature request? skEdit's (i'm using it
>while I wait for my Paypal deposit) tidy functionality is very well
>thought out. I'd like to see something similar in TM.
Here is my current kludge to get two HTML Tidy commands: one replaces
a window with its Tidy-ed version, and another just produces a window
with clickable error output. Note that (bug? feature?) if HTML Tidy
thinks there are errors in your document and you do a 'replace' then
it will place the errors at the top of the document. You can fiddle
with the Tidy flags to avoid that.
Also note that my version only runs on the last saved version and not
the current one. That can also be tweaked...
Anyway, get HTML Tidy from http://tidy.sourceforge.net/ then install
it someplace convenient. I put the command-line version at ~/bin/tidy
Report Errors Command:
Before: nothing
Command: ~/bin/tidy -e "$TM_FILEPATH"
Stdin: None
Stout: Sep window
Pattern: line (\d+) column (\d+) - (.*?)$
Format: $3
Line: 1
Replace Document with Tidy-ed Version Command:
Before: nothing
Command: ~/bin/tidy -bicq "$TM_FILEPATH"
Stdin: None
Stout: Replace doc
Pattern:
Format:
Line:
Works great for me!
- Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
I just opened a 1.5M XML document in TM. My XML syntax isn't all that
lean, and it takes a while for TM to highlight everything and become
responsive. Currently, I do not know of any way to open a file without
syntax highlighting. That'd be one nice thing to have... The other
would be for TM to pop up a little dialog if highlighting hasn't
completed after, say, 10 seconds and give the option to abort the open,
continue highlighting (until done), or open without highlighting.
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
hi,
at first i must say that textmate definitely rocks, it is really THE
missing editor i was searching for. and its a not unimportant reason
why i bought my ibook.
but this doesn't mean its already perfect i still like to see some
features or at least small changes. :)
for example:
- parenthesis highlights (or smart typing highlights) like in komodo.
i have been using activestate komodo quite a long time but because it
was a bit to big and slow and not extensible enough i don't use it
anymore, but one thing was really cool: the parenthesis highlighting.
in textmate you have to roll over the parenthesis with the caret to
get it highlighted, in komodo you just have to be near it and it gets
highlighted (normally it gets red and bold), i like this more than
always have to move with the caret forward and backward, its
especially more comfortable in heavy nested statements or lisp :). so
i would it like to see implemented this way in textmate.
- simple formating in tool tips, probably like in html so that one can
make bold, underlined and italic text, this would be very nice because
bigger tool tips would be better readable.
- better placement of tool tips. if you have a really big tool tip
(or just a normal big one) and your caret is a bit to near to the
right of the screen, the tool tip is shown out of the desktop, i found
this a bit useless sometimes and i want to suggest to place tool tips
a bit more user friendly.
thats it, i also would like to see some other features like the
right-click-menu in the dock and a user adjustable color-system, but
this already have been mentioned and i don't want to repeat them again
and again.
thanks for this great tool.
--
Torsten Becker
I wish I could format the output of TM's commands in html, and make
html links able to launch other TextMate commands !
Thus one could display error reports, stats, links and stuff very
nicely !!
I would also like to be able to use a TextMate webkit window that would
be called from somewhere else.
In order to debug my php scripts, I currently have a script watch php's
log using kernel notifications (kqueue) and trigger a cocoa window
alert on each error.
I wish this window could be an interactive one, in Textmate. Thus I
could jump directly to the error by clicking a link, etc...
Possibilities would be unlimited !
Dominique PERETTI
http://www.lachoseinteractive.net
I would like to be able to automatically run a script, when a certain
event happens (such as, a file save), depending on the file-extension
(and maybe also depending on the project).
For example, what I really like to do:
If I save a file that ends in .rb, I want to automatically run a
command that does a "ruby $TM_PROJECT_DIR/test/unittests.rb". If it
fails, it could send me a notification through growl
(http://growl.info)
Hello,
I am really starting to love textmate. I want to add functionality
that will either comment or uncomment the selected text. Right now i
have two commands; one that prepends '# ' to the line and one that
strips the first '# ' on the line. I would really like to have this
handily accessible under one command and have it automagically decide
wether or not I want to comment or uncomment the line. I am sure that
others have added this sort of functionality. Anyone have a graceful
solution?
While I am here does anyone have any handy python editing
commands/macros?
--dfc
Douglas F. Calvert
http://anize.org/dfc/ .::. GPG Key: 0xC9541FB2
A mystic in the sense that I am still mystified by things...
hi,
because the homepage of the wiki is a bit down i post this to the list.
i did build 2 bundles and want to share them, probably some find them
usefull :) :
- mips bundle: syntax-highlighting for mips assemler which you
probably need when you write something for spim
- graphviz bundle: syntaxhighlighting for dot files, this is maybe
usefull when you configured textmate as graphivizs external editor and
you want colored keywords.
more information and preview pictures are at
http://wiki.macromates.com/textmate/show/TorstenBecker
--
Torsten Becker
Hi
If I save a file from TM to ~/Documents/ and then move it from finder
to ~/Documents/ivar/ I would love it if TM could sense that move (I
think it does when using projects).
Just like SEE TM could ask something like "This file has been moved. It
will be saved to the '~/Documents/ivar/' folder, or you can specify
another location.".
kind regards
ivar
>On the subject of anime and icons; when I bought TextMate, the first
>thing I did was replace the icon with the Fuchikoma (from Ghost In The
>Shell) icon from the World Of Aqua 4 icon set by Icon Factory.
>
>http://iconfactory.com/preview.asp?type=search&id=155&query=fuchikoma
Hah! That's the icon I'm using too! The red makes it stand out, it
looks like a robot and it's cool! - Eric
Would it be possible to distribute the TM bundles separately (maybe the
way Konfabulator does, updating the "official" ones when a new release
comes out)? I don't do any C++, PHP, or ASP coding, so I don't see any
reason to keep those bundles around; they get replaced every time I
upgrade TM, however.
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor(a)bravo5.org
/_.__/____/ http://bravo5.org/
Hi
I'd like to see something like SEE:s way of letting you switch between
different "File Encodings".
I think it's the best way of switching encodings so far!
I might have missed something but right now all I know of is the
"Re-Open With Encoding:" menu which I rarely use. Mostly because I
don't need to change file encoding that often but secondly because it
forces me to save my file to be able to switch encoding.
kind regards
ivar
ps. I really(!!) like b8 and the cleanup of menus!
>I am hoping I¼m just missing something obvious... Is there some kind of
>list of functions/methods? I.e. Similar to BBEdit or SEE¼s popup function
>list?
Here's my kludged version of it for Perl using TM
commands, which pops up a separate window listing
all the subroutines (i.e. lines that begin with
'sub ').
Make a command:
- before: Do Nothing
- Command: grep -n "^sub "
- Std In: Entire document
- Std out: Show in separate win
- Pattern: ^(\d+):(.*)$
[this parses out the grep output so we can identify the line part]
- Format: $2
- Line:1
This idea can be tweaked to fit the language of
your choice. I think you can pipe it cleverly
through sort to get the subroutines alphabetized.
good luck, Eric
--
Eric Hsu, Assistant Professor of Mathematics
San Francisco State University
erichsu(a)math.sfsu.edu
http://math.sfsu.edu/hsu
>> So basically if you hit an arrow key which will not make the cursor
>> move
>> within the search string it aborts.
>
> IMHO this is a mode, eg the meaning of the arrow key will change
> whether the cursor is in the search string or at an end. Moreover the
> user focus is on the occurences hilighted in the file, rather than on
> the field at the bottom of the window. Since that occurence is
> selected, it seems coherent that the arrow keys would do what they
> usually do: exit the selection. Also that behavior will be familiar to
> Emacs users.
>
> Fixing using backspace shouldn't be so much of a hassle since search
> strings are typically short, and as the results are incrementally
> displayed, the user can detect errors early.
>
> -- D
my first impression on that issue was: of course there's a need to be
able to navigate within the search string using the cursor keys, after
all that's the way osx behaves in any kind of text input field with the
focus (even in incremental searches, like in itunes).
but then i tested it myself in textmate and found that this behaviour
isn't necessarily what i expected here, because the search string's
corresponding part in the document was highlighted and i thought it
would be intuitive using the cursor keys now to directly navigation in
the document.
so i no longer have a definite opinion with it. gui or not to gui,
that's the question ... ;-)
___✍
larsen
Sorry I forgot to mention that i-search requires two new key binding
entries which you'll need to manually add if you made a local copy:
"^s" = "ISIM_incrementalSearch:";
"^S" = "ISIM_reverseIncrementalSearch:";
I named my methods the same as the ISearch InputManager/Plugin. So if
you already have this installed, the key bindings from your "global"
key bindings file should already make it work, _except_ that ISIM use
control-r for the reverse search, TextMate is using that for 'execute
line', which is why I choose control-S.
Maybe this is why reverse search doesn't work for you Wayne?
Regarding aborting the search with movement keys, that would pretty
much make it impossible to go back and make edits in the search string
(other than backspace), but maybe no-one does that?
Has this been brought up as a feature request? skEdit's (i'm using it
while I wait for my Paypal deposit) tidy functionality is very well
thought out. I'd like to see something similar in TM.