It would be nice if there were tool-tips when mousing over the status bar
items: that would help users remember and understand the items there.
It would also be very handy if the automation menu (the sprocket in a
circle) was provided when right-clicking.
I would find it more intuitive to be in the text, and right-click, than to
move the mouse down to the (hard to hit) status bar to select automation
actions.
Tim
(who just discovered using Prefs:Fonts and colors to change syntax
highlighting: no more low-contrast puce1 php code! Yay!)
1 puce adjective of a dark red or purple-brown color : his face was puce
with rage and frustration. noun a dark red or purple-brown color. ORIGIN
late 18th cent.: from French, literally flea(-color),¹ from Latin pulex,
pulic-.
Dr Timothy Bates <tim.bates(a)ed.ac.uk>
Reader in Differential Psychology
University of Edinburgh
Dept Psychology
PPLS
7 George Square
EH8 9JZ
wk +44 131 651 1945
FAX +44 131 651 3461
home +44 131 332 3543
Mob +44 790 386 4573
Hi everyone,
I'm new here. I didn't see any archives to the list so if my question
has already been asked, my apologies.
In BBEdit and other editors I was used to having a function popup that
shows all functions/methods in the current file. Is there such a thing
in TextMate? Or what is the TextMate-way of handling this?
Thanks!
Steve
--
Steve Roy <sroy(a)mac.com>
<http://homepage.mac.com/sroy>
Hi,
one thing that stops me from making more use of the project view is the
problem of losing files when they are renamed or moved outside the textmate
environment.
Is there a reason that the project view doesn't store alias's? These allow
you to track files seamlessly.
Also, it seems wrong to be able to add a file twice to the project:
shouldn't the project detect that the file is already there and just
activate it's view tab?
It the purpose is to allow multiple views of the same file, then this might
be better achieved by split panes?
tim
Hi Folks,
seems OS X 10.4.3 has introduced a bug deep down in the
NSTreeController object, causing TextMate to crash if you are using
the TmCodeBrowser2 hack.
If you have updated or want to update, please move these directories
to the trash:
~/Library/InputManagersManager
~/Library/InputManagers/InputManagersManager
You will not be able to empty the trash until you logged out or
rebooted.
I am working on a workaround, but it is a bit involved. I'll annonce
the new version (now as a tmplugin) as soon as it is ready, hopefully
within the next day or 2.
Gerd
Alright, so I'm typing along and TM fills in my double-quotes and ruby
tags (i.e., <% %>). This is fantastic.
But when I want to be done with the data between the quotes, is there
a key command to move me to the other side? I realize hitting the
double-quote again does this, but I thought one of the points of smart
typing was to do away with that.
Am I missing a preference somewhere?
Thanks!
Sean
OK, now we have a bigger problem. After creating an Indent Line macro and assigning it to the Tab key, Tab-activated snippets don't work anymore.
Shawn
How do we assign Tab key to the new Indent Line command ourselves, since you did not do that for us?
Shawn
p.s. Why are you making it so hard for emacs users to embrace your program??
On Sun, 30 Oct 2005 12:00:04 +0000 (GMT), textmate-request(a)lists.macromates.com wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/mailman/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
> Today's Topics:
>
> 1. IDL Bundle (Konstantinos Theofilis)
> 2. Re: Tabulation of end tags (Andreas Wahlin)
> 3. Printing/Print Server Problem (v665) (Tim Martens)
> 4. No "new command" option in Bundle editor? (Charilaos Skiadas)
> 5. Re: Tabulation of end tags (Allan Odgaard)
> 6. Re: No "new command" option in Bundle editor? (Allan Odgaard)
> 7. Re: Printing/Print Server Problem (v665) (Allan Odgaard)
>
>
>
>
>
>
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
Hi,
I recently started using TextMate, apologies if this question has
been answered in the past.
I use TextMate at work, where my rails application runs on a shared
linux box and I edit files by mounting an NFS disk.
My OS X and Linux uid and gid's are the same and I'm able to use the
NFS disk w/o any problems, except TextMate likes to litter the NFS
server w/ "._" files like so:
devbox2: ~/amp [4] > svn st
? app/models/._foo.rb
? app/models/._bar.rb
? app/controllers/._foo.rb
? app/views/foo/.__form.rhtml
M app/views/foo/_form.rhtml
and the "._" files seem to just reference where my cursor was at:
devbox2: ~/amp [5] > strings app/models/._foo.rb
9{"com.macromates.caret" = "{column = 49; line = 13; }"; }
Any way I can get TextMate to stop generating these files (even if it
means I lose my cursor focus)?
thanks,
Jon
Hello,
I have both TextMate and SubEthaEdit on my system (since TextMate
doesn't do network editing). Since installing SEE, it's now the
default application to open all of my plain text files, scripts,
source code, etc. I want to change the system filetype bindings back
so TextMate is the default. I know I can use the "Apply to all"
button next to the "Open With" selector in the Finder's info pane,
but that applies the setting based on extension, not based on file
type codes (or however the system determines plain-text-ness).
Any help would be appreciated.
Thanks,
Andrew Witte
Hi Folks,
Is there a way to have tab size set different per window, or simply
per language as part of the bundle?
I have a project with Makefiles (tab size 8, hard tabs) and vhdl (tab
size 2, convert to spaces).
This is the most different use of indenting one could have. With tab
size 2, I don't even recognize the commands in the Makefile, and with
tab size 8 I get insane editing code.
Peter
I really like how tabs get nested perfectly just by pressing tab, the
start tag that is, the end tag gets on the same line. Is it possible
to enhance the behaviour and have the end tag correctly nested one
tab stop less?
This could also create a wonderful "reformat" macro of sorts to
correctly tabulate all HTML and XML files, that would be quite neat.
Andreas
Hi all,
I was wondering if TextMate has the feature often called "smart home/
end" in other editors ? When enabled, smart home makes the cursor go
before the first non-whitespace character of the line, and similarly
for "smart end". I assume TM has this, but I can't figure out how to
enable it...
Thanks a lot,
--
Frédérik Bilhaut
GREYC - Université de Caen
Campus II - Sciences 3 - Bureau 385
http://www.info.unicaen.fr/~fbilhaut
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hey there,
I've just noticed that sometime during the past builds working with
TM has become painstakingly slow, even with moderate sized Files. (I
tested with Textile and XML and Python source)
Even just going up and down with the cursor keys utilizes both of my
1GHz CPUs equally to about 80%!!
Anyone else experienting this kind of slowdown? Any remedies in sight?
best regards,
tom
- --
Tom Lazar
http://tomster.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iQIVAwUBQ2TnLdeSJSslDUEWAQJJ1Q//feLtB70gQaycuG59XIoAFUT0uqVFNzMt
KvpxetSp0rqyl7rXLeyAnPSurOyu4u22QAChov6VzJsYceETwLtDW0IVLQoS0VcV
S45qTgoG6XiroW/O9lgqIg7yHRO8fgXigiG6M/KyAlpUtDvJVqXtX8EekaX2T7+r
rgGvbDymiks7HJJkp8ltoHTtA9874Jf/Fk+4ctZDqOT90E/wsNzRJ93oRT/5txnN
A1gC88zP+7rXcuXxE7SotfqwZh98JARwzDvtD4frS3pG3Myv5T+iE29B4UCZSLiq
luoywgJg1UXqwNfiEGC4LQ0Ovp4VePKdKrv5SBIDr6f6YWon2qUA0BHlp1HNJ4o5
ZUDmwE2JJ0G04isTYEQQ7bkmTS3eK3B+kT97QUbmkrwtHckhCamYLJ4dM2Nxp7lN
xcZCjZyS6ieKG7twlC76tNf3l1QEEjjd2vK6r++zaLUMXw9ok0h+ycYjZUpkO097
B9TKSfv4pB2IZJjQKbm2xDvGY2Htrk0TabS3loPOFqXJfb9I901tXft7bQYwL8/J
t7D7G2J+CzcZxrUHQbaur78XNLZbv4Pyvhi6WY/yogrI1ODqpJ8bhR0LN4pULV0S
RPtvGp+EzlTHKmQIHHVUk4QdhmjxuPi94d0YvscgRbnpBrOJ+iwTIdCCjIl1C2fB
DioF4VlW/s4=
=cIvH
-----END PGP SIGNATURE-----
Hi,
Running a Hawking HPS1P print server for my local network (USING IPP)
through a Linksys WRT54G. I'M ON OSX .4.2
WHEN I TRY TO PRINT FROM TEXTMATE I GET: "unable to get printer
status (client-error-or-attributes-not-supported)"
This is only happening via Textmate (v665). I can't print from other
apps just fine. I think this problem just started, but it's hard to
say because I switched to this new router two days ago.
-t
The popup menu in the bottom left of the bundle editor doesn't have a
"New Command" item. Am I missing something? Is copying an existing
command the only way of creating a new command?
Haris
Hello list,
There is no IDL (Interactive Data Language) bundle yet for textmate :-(
Is anyone interested in making one? I can provide function names
lists, syntax etc.
Thanks,
Kostas
Is there a keyboard shortcut for Replace All? I'd like one very much, please.
Shawn
On Fri, 28 Oct 2005 20:03:39 +0000 (GMT), textmate-request(a)lists.macromates.com wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/mailman/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
> Today's Topics:
>
> 1. Re: Keyboard Shortcuts List and Font Size (Allan Odgaard)
> 2. Shortcut key to open Bundle Stuff Deally? (thomas Aylott)
> 3. Re: Shortcut key to open Bundle Stuff Deally? (Allan Odgaard)
> 4. Find Next (Alec B. Beardsley)
> 5. Re: Find Next (Allan Odgaard)
> 6. Re: Folding for markdown: how? (Allan Odgaard)
> 7. Re: Folding for markdown: how? (Allan Odgaard)
> 8. Re: Find Next (Alec B. Beardsley)
> 9. Re: Shortcut key to open Bundle Stuff Deally? (thomas Aylott)
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
i LOVE the new bundle stuff deally.
I just wish I could open it up with a shortcut key.
You can already get around in the menus with the keyboard.
I wrote an applescript to pop open the regular menu (using gui
scripting)
but, I can't get applescript to see the bundle stuff deally.
I also can't seem to make an osascript textmate command that doesn't
totally freeze textMate.
Anything to keep from having to grab the mouse.
It'd probly be easier (for me) for you to just add it to the app
itself instead. ;)
Thanks much for the continued breakneck pace of development.
activate application "TextMate"
tell application "System Events"
tell process "TextMate"
-- GUI Scripting statements:
click menu 1 of menu bar item "Automation" of menu bar 1
click menu item "Insert Snippet" of menu 1 of menu bar item
"Automation" of menu bar 1
--click menu item "x51" of menu 1 of menu item "Insert
Snippet" of menu 1 of menu bar item "Automation" of menu bar 1
end tell
end tell
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- - -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi there,
as I was scrolling through my looong GTD project list that I keep in
TextMate using markdown I thought it would be convenient if I could
do some folding at the h1, h2, h3 levels to get a better overview.
could somebody here please "smack me on the head" and give a quick
pointer on where to start implementing that? I'm not lazy - just
clueless ;-)
best regards,
tom
- - - --
Tom Lazar
http://tomster.org
- - -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iQIVAwUBQ2EhK9eSJSslDUEWAQLs2g/7B/Nutcw5zYqGVsW6BwNedGTUQtoUN1zc
oFLgBuCA4lCFSwYn/q/KlkBLe6b2No1GT9nb9TzxtfBQRLlNj72tlqIkaffhouEN
b3LSFM2uKTfXEHDL3RYw7oOxDuX0QXXUq1ekRmVXMls45nJGTNgNCC+WSIfksQYq
0c01BcJvSsv8lto2W4yTkCmjG8pFly68UnZJBk3zHtF1jeT9VHt567n1ofrh6OyX
GLy3wIYaUJw8SJCb4Q/FeWfJD2PFHxHQDvqmoVyiKP65I4mvMMNzT/IAtgsKi7en
2+USZPMBUBUGD+SCx4HxZJeqVMgjb/ZVUberrc7MB7fQW2ltMAbcCCLZFIH0Ohsz
Ef9Pm0wsknGfZvwx8i+Qwrq+/4POEuo2B5Mk8UkxsCnBjN0vmtj1ONYA3EqL+5Rl
f/1+dajVErX90AwD0+h9749zAHTyB2q+eZ3nxKO2i7FGBXYo/2tPHlJ3PebDrpYy
AW0H9D+2thpdtX5ghdkANMTCn7jyvJDvLF7/lwb2cIDk0mRpPNvs69r6cjRC/830
eTy6e00xOpsaXSzqo4LsC+wbO30PkBhuKSVX9wOG74kfK0zs6D442zhaaBWerIUH
SIeKbcR+cgps43p/3RrKR9RdO1UoLLq/ahmOvRuTQeJ7ea4S23cGNBomkt9yvc78
Snhw2AFLI2I=
=tkG2
- - -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iQIVAwUBQ2EmSteSJSslDUEWAQIV0A/9F2EA5co+ys2BEuznO3ELIyhAooPR1hMG
upkP9IN+FQLKdXyQ4CzoO8B5VblqdwEtfHxf2UvFo/uRAvW+2qkBS4QPmCFwp43V
gOForTYuLspIJxtkucVQoSlvuFfggdSMhNBRKWZkW3VASLoDVGUBwEa3NDTDSips
I55Jfa4URsF8Uj45aSHVqk7EdID39V3oKIGHQ9feiUePS3fjrZdVD81lnUkXOBoO
I9xVMq7wH+ktrYnPy34xhF0OC4DX61X5hyonJGaQ8DLhEK53kXMdQrXx65opcHeV
mPP8p30Jqd/wKYxQK/9vXhegpz8rgAB3pTF42xCvOeR9QT2O9OfzVmiPnqNm+lqJ
SzOv3eBLY2+06ktsiAo0z/1mguR5RIaBvknWJUc+kk8MRevmnC+c3TrEsTM/l41d
WdS3P2ryeolr7dh4uA7MLkOan9Of5m0L5E1cm0hW/8TFju+q3CEQg0IPBu/a+ZM+
XZXHRqEAK+8E35Y5XkoN9mSgK/3MTsR2MKPykS9WmRYo1G7Mf/Sxz/B/XS5VMv45
jC9k9cuit3JQ0dQ839Wn/c2ljQA1HyWvGeUa16iwUHemhMrAj02q7s6oTAvD/E9N
TEsk5Kly1TgB06vIHPp9u0GxlN9mIo1YclLElIiM6Nr2vtLV3ZKREmhnAEUckmCR
9xGjHTP5Oho=
=7xOh
-----END PGP SIGNATURE-----
Hi,
Is there a way to change the font size in the "Keyboard Shortcuts
List" window (the one which is called by "ctrl-alt-command-K")? Did not
find any source code for it in the TM package. So I just copy-paste from
the window to a sticky, but it is not as handy.
Thanks,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
Hi all,
I had some time to make TmCodeBrowser into a full-blown plugin. It
now automatically scans files as you change windows/tabs or save files.
I will not have much time in the next few weeks to work on it
(installer, documentation), but wanted to get it out for some
feedback. It can be found here:
http://www.cocoabits.com/TmCodeBrowser2/TmCodeBrowser2.tgz
Installation:
- Unpack the package
- Copy the InputManagersManager folder to ~/Library
- Copy the InputManagers/InputManagersManager folder to ~/Library/
InputManagers, or if you do not have a ~/Library/InputManagers folder
yet, copy the InputManagers folder to ~/Library
- Restart TextMate
Features:
• TmCodeBrowser2 will use ctags to automatically update it's window
each time you switch Textmate Windows and/or Tabs, as well as when
you save a file.
• The 'Float' check box (when checked) makes the CodeBrowser window
float on top of other windows.
• The 'Sort' check box (when checked) sorts the tree display.
• CodeBrowser remembers the expanded/contracted groups on a per
language base.
• To reopen the window after it was closed, select 'Window/Show
CodeBrowser' from the menu.
Enjoy!
Gerd Knops
gerti-textmate(a)bitart.com
Dear TextMate developper(s),
I'm considering TextMate again, and while doing some more tests I
realised that the "tab" key has a somewhat unusual behaviour
(compared to other advanced editors) when several lines are
selected : most editors would shift the whole block, while TextMate
just replaces the block with a tab... On top of that, the keyboard
shortcut seems odd to me (at least for a french keayboard), while
shifting blocks is a very usual task when I work on code or XML
Documents. And also, shifting left is often done using shift+tab. Is
it possible to see those "standards" shortcuts working in TextMate ?
Also, I noticed that it now has folding abilities. But is it possible
to disable it (I don't use it) ?
Best regards,
--
Frédérik Bilhaut
GREYC - Université de Caen
Campus II - Sciences 3 - Bureau 385
http://www.info.unicaen.fr/~fbilhaut
"And if you do, have you written a bundle for it? :-)"
Saw that no body seemed to answer Oscar's question earlier, but I too
occasionally use groff, nroff and the mom macros and would love a
bundle.
Currently I have to go to emacs still.
Mom does come with a syntax sheet for use with elvis, a vim clone
which I have included (2.4 kb) if anyone would like to make a quick
textmate language file.
Thanks
Robert
I was just wondering the following was possible, and I found out it
is, but in case other people are wondering, you can include braces in
the snippet placeholder text, if you escape the right brace.
Why would I want to do that? Suppose I want to use nested
placeholders, to allow for optional arguments. For instance imagine a
snippet like:
\\foo${1:(${2:0},${3:0})}
then this will show up as \foo(0,0) with the entire (0,0)
highlighted, so if I don't want it to be there then I can just press
delete and continue, or if I want it I can press tab and move to
editing each of the two zeros.
This works great in this case, but suppose I want *braces* instead of
parentheses (as in most LaTeX commands):
\\foo${1:{${2:0},${3:0}}}
As it stands, the second to last brace is matched as closing the
placeholder ${1, which leaves the wrong thing highlighted . The trick
is to escape it, like so:
\\foo${1:{${2:0},${3:0}\}}
Very nifty and useful, and not documented I think. My first impulse
was to escape the corresponding left brace as well, but it doesn't
need (and in fact won't accept) escaping. No sure how I feel about
that, it looks asymmetric to me. But hey, it works!
I am now very tempted to change most of the sectioning commands in
the LaTeX bundle to make adding labels optional, and combine the
stared versions of environment with the non-stared ones.
Haris
if I use the php snippet 'if', how can I do
if ($_REQUEST["
?
Which, in snipped mode, is translated to
if -> tab -req -> tab
the second tab goes to the portion of code of the 'if' snippet, it
doesn't create the $_REQUEST variable...
thank you
m.
Hello,
is there any automatic 'end of line' thing in the smart
typing feature? I feel as ctrl+e, or cmd+right, or retyping
of ") is breaking my hyper-lazy behaviour.
Thanks :)
max
Ok, I have got to say it, the last two updates have been really
wonderful in the kind of functionality they have added. It's like a
dream come true.
Correction, it *is* a dream come true.
Allan, you seem to be getting these updates out faster than I can
download them (and I'm on broadband), really impressive.
Slight feature request: When a new update is downloaded, and TM is
relaunched upon my clicking on it, is it possible for whatever
documents were open at the time to be opened again?
I only had one document open this time, but I kind of missed it. I
don't know what I would have done if I had ten of them open.
Haris
Hi,
When I escape a double-quote inside a regexp of a javascript snippet,
the syntax coloring is off.
See the attached screenshot for an example.
The language of the page is set to HTML.
HTH,
- n.
I've just noticed that foldings are not working with the Tcl language.
In the following program:
proc foo {args} \
{
switch -exact -- $var {
match {
}
default {}
}
}
I don't get any foldings even though they Tcl syntax defines them
like so:
foldingStartMarker = '\{\s*\\?$}';
foldingStopMarker = '^\s*\}';
Any ideas?
Thanks,
-Oscar
P.S. Can we add '_', '.', ':', and [0-9] to the list of valid
variable characters?
{ name = 'variable.other.tcl';
comment = 'FIXME what are legal variable
characters? --Allan';
match = '\$([a-zA-Z_\.:][a-zA-Z_0-9\.:]+(\([^\)]+
\))?|\{[a-zA-Z ]*\})';
}
--
pgp fingerprint: BC64 2E7A CAEF 39E1 9544 80CA F7D5 784D FB46 16C1
Just thought I'd report an odd behavior. I auto-installed the newest version
611. Closed Textmate. Reopened it.
Clicked on a file in the drawer to open it.
The odd thing is the the font size was wrong. It looked to be 1 size smaller
than I had set it before.
So I go to Preferences and try to reset the font size. It didn't take. Close
Preferences and reopen to try again. Still stuck in something like size 8.
I'm using ProFont.
Finally closed the TextMate again with the font set at something huge like
132. Reopened TextMate. Now the font sizing kicked in and resizing works
again. I cannot reproduce so don't know if you should be wasting time
looking at what's causing this.
Thanks,
Ed Wong
Is there one? I'd like to see even just a page or two of getting
started material that gives just a basic overview of how to create
and edit a basic html project with TextMate. For example, someone
recently mentioned here that you can get a pair of html tags by
typing the tag name, then ctrl-cmd-space. That's great! That's the
kind of stuff that makes me want to use an editor like Textmate
instead of using 'vi' in a bash shell.
So where can I find out how to do more of this kinda stuff?
Thanks!
Sean
:::: DataFly.Net ::::
Complete Web Services
http://www.datafly.net
Greetings all,
I haven't been able to find a resolution to a keybinding issue I've
been having—updates (through 611) after 1.1b17 do not play nicely
with my previously existing keybindings, either those generated in my
KeyBindings.dict file or those generated by MenuMaster. (For example,
no matter what I bind to ^T, it always "Transposes").
Any clues on this one? —the latest feature set is pretty appealing,
so I'm eager to use the latest version…
Thanks,
David
"A commands return code can be used to momentarily change the output
option set for that command"
This doesn't seem to work as advertised.
For example for my syntax checker what I want is to 'Show as HTML'
when errors are detected, and 'Show as Tooltip' when everything is fine.
It seems when the 'Output' option in the bundle editor is set to
'Show as HTML', that is what happens no matter what exit code the
tool uses.
When I set the 'Output' option to 'Discard', the exit code does seem
to be honored, but there is no exit code that for 'Show as HTML'!
Am I missing something?
Gerd
Can I attach a command to a project file so that it is only available when that project is open and foremost in TextMate? I'd like to write a command to rsync a project's files to a server, and give each project its own command to sync the proper directories to the right server.
Thanks,
Shawn
> Glen Henshaw wrote:
> > Am I missing something?
>
> Open up the Bundle Editor (Window, Bundle Editor or control, option,
> cmd, b) and press the "More Bundles…" button.
>
> Jeroen.
I've done that. The bundles in question don't appear there either.
Glen
Hi guys,
I have a small suggestion for the HTML bundle's Tidy command:
Could we add "-wrap 0" to the options? I've done it to my local copy
-- it stops Tidy from wrapping your HTML at column 78.
Thoughts?
Tony Arnold
http://tonyarnold.com/
“The university was great. They gave us money and facilities,
but we didn’t have to produce anything. I’ve worked in the
private sector. You don’t know what it’s like out there. They
expect results.” -- Dr Ray Stanz, Ghostbusters
I also really like how you can click to change tabs and languages,
it's intuitive. Keeping in line with that, perhaps a click on the
line and column info should launch the "Go to line" window. Not that
i'd ever use it, just to get that intuitive feeling.
Also, while others ... are in the tab settings when you click on a
window, it does not appear in the drop-down menu, this is
inconsistent behaviour and therefore bad :)
Andreas
Hi all,
I'm trying to get the Matlab bundle to work. I've done an svn
checkout of all of the bundles into my /Library/Application Support/
TextMate/Bundles directory. And... most of the languages appear when
I restart TextMate, but a few (Matlab, Darcs, Quake, R, Gri, and a
few others) don't. The permissions on all of the bundles are
identical, and nothing suspicious shows up in Console.app about
TextMate not being able to parse or read anything. Am I missing
something?
Thanks,
Glen
____________________________________
Glen Henshaw
Naval Research Laboratory
ghenshaw(a)space.nrl.navy.mil
I'm having a bit of trouble figuring out how scope is determined by
TextMate.
What has to happen for "source.ruby.rails" to be active? I am working
in documents with .rb and .rhtml extensions, but unless I remove the
Scope condition I can't get the Rails snippets to be active.
Can I attach a command to a project file so that it is only available when that project is open and foremost in TextMate? I'd like to write a command to rsync a project's files to a server, and give each project its own command to sync the proper directories to the right server.
Thanks,
Shawn
Hello Mark Windrim
I'm Seán Windrim, just starting a web site, and
exploration of my name. Any help would be
appreciated!
Thanks!
Seán Windrim http://windrim.org/
Hi.. I've been finding a lot of these temp files lying around here and
there.. Is there anyway to have the editor remove them afterwards a file
is closed? Currently (at least as of version 1.1b17 (513)) this isn't
the case and I find that I've got just tons of these files lying
around.. I'll assume this is a bug, but it would be nice to get fixed if
it's still outstanding..
Thanks!
-- Rick
Hello,
I mainly use PHP and Perl Languages, so I deselected all the others.
For some reason, I had 4 bundles in the PHP folder: 2 HTML(php) and 2
PHP. I deleted the 2 I figured less useful, and I realized I lost
smart typing.
I deleted the application, the folder in the Library with all the
bundles, downloaded again the app and made a svn checkout. Still it
doesn't work.
In the Languages window, I have some () [] directives under
Preferences, though.
thank you for help
max
I'd have rather assumed that foldings were NOT printed, yet there
they were ... I can also see situations where you want them to be
printed as well. Just raising the issue.
Andreas
[CHANGED] When a new version is available, TextMate will download it
automatically (w/o first asking the user), though showing progress
underway which can be cancelled.
I have to say..UGH here. Can we get this turned into an option? I'm
usually the type that prefers to initiate my downloads rather than
having them done for me, for a variety of reasons, some security,
some due to available bandwidth at the time, etc.
I dunno, that's just me.
After loading a python file into textmate, I noticed that the folding
is very inconsistent throughout the file:
http://www.flickr.com/photos/84201647@N00/53572833/
Notice in the screen shot that one method is folded after the comment
(!) and others are folded at some arbitrary point inside the method
(!!). I tried searching the mailing list archive for this, and most of
the references are from last year. Am I missing something, or has this
problem not been fixed in the past year?
Hi Allan,
I just noticed that the command output option ³output in new window² is
deprecated in the latest builds, is something going to take its place in the
future?
Chris Jenkins
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
I was just writing this PHP form thing and I like to use the "here
document" syntax for it. While it technically makes sense that the
whole block within the <<<TAG [ ... ] TAG; is colored as a string, it
makes it hard to read a large block of let's say HTML (kind of a very
usual use for it)... Is there anyway to keep the HTML within colored
as regular HTML?
Hope my question makes sense :)
Thanks
Hello,
I just started using TextMate about a week ago, and I've been
collecting some of my impressions, and any notes for things I had
trouble learning how to do. I was going to add this to the wiki on a
User Page, but I can't seem to find how to do that.
Overall, I really like TextMate. I was actually prompted to try it
out by someone on IRC when I asked what people thought of BBEdit -
since they're having a sale for $99 right now. So, I was going to buy
it, but I was scared off when people kept talking about "bloat" and
whatnot. So, I'm giving TextMate a shot, but I've become rather
familiar with TextWrangler, so most of my feedback has to do with
coming from that paradigm - just to warn you.
Anyway, here's the beef:
===============================
= TextMate Notes =
===============================
====================
= Feature Requests =
====================
make it so that you can always show the file browsing drawer
allow a "single window" interface where new files opened are always
opened in the same window (like textwrangler)
looking for an easy way to make textmate the "default text editor" or
something to that effect
if you move a file (via the finder or whatever) while it is being
edited, textmate can't follow it (textwrangler did)
collect color "themes" on website for easy download
option to make file browsing drawer on the right
=====================
= 2005-10-14 snippets =
=====================
snippets are specific to the language.
you can find them in the menu - Automation -> Insert Snippet
go to Edit Snippets to look around
You can choose Tab Trigger from the drop-down to see the trigger
a Trigger is important - you have to be in the right language for the
trigger
to see, for example, the auto-link thing on the home page video...
make sure you're in html, and then type "ref" and then <tab>
then you can tab to the two areas of the tag you'd want to edit
note - and this is very cool - you can use PHP language snippets in
html...
just open the php stuff with the tags <?php etc - and within there,
php snippets will work
================
= 2005-10-14 Balance Tags =
================
coming from textwrangler - one of the first things i looked for was
tag balancing
that's where it will highlight all the code between two { } things
this is good to make sure you're balancing your tags out
==================
= 2005-10-14 Multiple files =
==================
dragging a folder into the textmate icon in the doc will open them
with a drawer to see all the files
=================================
= 2005-10-19 The Project Drawer =
=================================
choose file -> new project to have the file browser appear
you can make folders in the project drawer
one trick might be to make a single project with many folders that
contain all of your text files
Changing the macro to be triggered by a < key seems sensible, since
that's related to tags, but why not also change the insert closing
tag then to ctrl+> for instance? Right now they are very separate key-
wise, but quite close function-wise.
Andreas
Hi,
I find it continually disconcerting that pressing Cmd+/ without a
selection comments out my entire file.
I had a quick look at the Toggle Comments command but couldn't
immediately see why it does this or how to stop it.
The behaviour I want is, when there is no selection, to comment out/in
the current line.
Is it possible for me to make this change?
Regards,
Matt
--
Matt Mower :: http://matt.blogs.it/
Latest version mentions this:
"I normally do not mention changes done to bundle items (there's a
separate RSS feed for these)"
I didn't know that! Is there some place on the web site listing the
various feeds?
Gerd
Forgive the spam, but I can't for the life of me figure out what the
keyboard shortcut for the Edit in TextMate service is supposed to be
-- the cmd+-^- symbol has no meaning to me, and I have yet to figure
it out.
Any help would be much appreciated -- thanks.
-jrk
I think command+option+w should be close all (windows in a project)
rather than soft wrap. All other applictions (and by that I mean at
least the finder and pages) close all windows on command+option+w.
Andreas
The syntax highlighting for below shell script is incorrect, the
nested parenthesis are not properly handled. No idea if this can be
easily fixed...
Gerd
#!/bin/sh
currFolderPath=$( /usr/bin/osascript <<"EOT"
tell application "Finder"
try
set currFolder to (folder of the front window as alias)
on error
set currFolder to (path to desktop folder as alias)
end try
POSIX path of currFolder
end tell
EOT
)
cd "$currFolderPath"
Hello all.
I tried to find the info I request now in the
archives and on google. I couldn't find anything.
Is there a way to change the behavior of the end-key
not to go to the end of a page. I whould prefer going
to the end of the line.
Can I configure something like that in textmate?
Thanks.
Regards
Karl-Heinz
This is something I would like to have sometimes, to be able to
narrow the project tree in the project drawer to some subtree. For
instance, in a project with a lot of stuff (docs, aux scripts, etc.)
I'd like to focus on the source subtree when programming.
Just an idea to throw to the "desired features by at least one
user" :-).
-- fxn
I'm wondering if anyone else is having problems running LaTeX from
Textmate. I am geting curious errors regarding multiply-defined tables
and equations, despite the fact that all tables and equations were
confirmed not to be multiply defined. Note that running LaTeX from
TexShop results in a successful build. I am using the same version of
LaTeX for each.
Thanks,
C.
This seems to mean jump a paragraph in most apps, but I can't really
work out how it works in TextMate, anyone?
I think it would be rather natural if it jumped between folding
points ...
Andreas
I'm getting the following parse error when I try to run the "Blame"
command from the Subversion menu:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle/Support/format_blame.rb:61:
parse error puts ''+ linecount.to_s + "\n" + ^
This happened on build 540 as well as 567. I'm running 10.3.9.
Thanks,
Bryce
Hi All,
I'm using TextMate for lots of HTML these days. I like the built-in
Tidy command but it removes non-breaking spaces ( ). How do I
adjust this?
Next, I have a nice Tidy config file that I use when running tidy
from the command line. Can I configure the tidy command to use my
config file?
Finally, in the Tidy command in the Bundle Editor is this comment:
# BEWARE. Errors are suppressed. Use Tidy Error Display first!
Where is the Tidy Error Display command?
Thanks,
-Eric
--
Eric Knapp
Lead Java Instructor
Information Technolgy
Madison Area Technical College
http://matcmadison.edu
3550 Anderson Street
Madison, Wisconsin 53704
Telephone: 608.246.6641
Fax: 608.243.4754
Email: eknapp(a)tds.net
Hi Folks,
Just wondering if anyone out there is using TextMate for lisp
programming ... ?
Don't see much in the way of any snippets (except for an Overtype ')'
-- which still isn't very clear to me what that does) .. also don't
see much talk about lisp on the mailing list.
I'm just getting my feet wet w/ it (lisp, that is) and was thinking
about ways and means my editor can help me :-)
I was thinking it might be a useful thing to do a function-lookup to
a local copy of the hyperspec (a la what I think slime does for
emacs) ... just checking if anyone else has any good ideas they've
been using in their workflow w/ tm and lisp.
(Maybe it's better to stick w/ the emacs/slime combo on this one,
though?)
Thanks,
-steve
Hi,
I decided to scratch a small itch this morning, so now I have a (very
basic) Zope bundle which will do some syntax highlighting on plain
DTML documents and ZSQL methods. More information and a download can
be grabbed here: http://woss.name/2005/10/19/zope-bundle-for-textmate/
It'd be nice for the bundle to wind up in the svn repository
sometime, but unless somebody's daft enough to give me write access
to it in the repository, it'd probably be better to hang off until
I've got it into better shape...
--
Mail: mathie(a)woss.name | Web: http://woss.name/
AIM: Math1e | PGP: 1024D/D72F2737
When column typing on a plain-text document with a selection of little
more than a thousand lines, textmate takes many seconds (almost a
minute) per char, and makes the entire system unresponsive. (G4 1.0,
panther).
I understand it's not everyday that you use selections this long, but
in case it's something relatively trivial to fix and you're so
inclined... For now it's back to sed I guess.
> [REVISION 567]
> [NEW] There now is a New From Template menu under File (and you can assign
> key equivalents to the templates via the Bundle Editor).
Thanks a lot Allan, I've been expecting it for ages. It's great.
Have a nice day,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
I notice that there is no FORTRAN syntax highlighting built in to
textmate. Surely there are FORTRAN programmers out there coding in
TextMate? I found one link to a bundle, but it was dead. Can someone
please point me to the latest FORTRAN bundle? I do about half of my
programming in FORTRAN, so this is vital. Thanks.
Is there a way to turn off HERE document syntax highlighting in Tcl?
I' getting wrong highlighting when adding events like:
event add <<Paste>> <Ctrl-v>
because it thinks it's a HERE document. I've looked at the Tcl
syntax, but there isn't anything there, so I'm guessing it's coming
from somewhere else...
Thanks,
-Oscar
--
pgp fingerprint: BC64 2E7A CAEF 39E1 9544 80CA F7D5 784D FB46 16C1
Hi,
I can't seem to locate any info about the txmt:// URL scheme anymore.
It used to be in the release notes, but sadly they now appear to be
curtailed (not good, I used it as manual all the time!). It's
probably in the blog somewhere, but without a search function that is
a bit hard to find. As usual 'Help' is useless. And since the mailing
list messages are prefixed with [TxMt] a google search isn't helpful
either...
So where can I find it these days?
Gerd
Hi,
I've made some custom snippet for Perl in bundle. How can I export
these ones or the whole bundle to share them?
And another question: how to use "Drag commands" (i.e. in html)?
TIA
--
salvo
Hi all,
I would like to start a discussion on the tabbed interface in project
windows. I have some issues that I would like to point out and I will
offer my opinions. However, I really just want to see what the TM
community thinks about these things.
When a project window has lots of open files and there is not enough
room to fit tabs across the top of the window a arrow appears next to
the tabs. When you click on the arrow you are given a list of those
files that do NOT have a tab. You can then click on one of those
files to bring it to the front. But, then the front file does not
show its tab. You can see what file you are working on by looking at
the title bar but I think this is confusing.
The interface is combining a list interface with a tabbed interface
and I think this could be improved. The first suggestion I have is to
have all open files in the list and always show the arrow. You could
have the files that have visible tabs be in bold. There are times
when I just don't see an open tab and click on the arrow only to also
not find the file there.
The next suggestion is to have the tabs scroll and always show the
currently forward file's tab. I don't mean to add a scroll bar, just
that the tabs could shift over when a file is selected from the arrow
list.
Does anyone else find that this behavior could be improved? Are there
other suggestions? Has this discussion already occurred? If so then
many apologies.
-Eric
Following are two Perl snippets that cause syntax highlighting to get
wacky.
This first one causes everything that comes after for the remainder
of the file to be colored as a string:
message(<<EOF) if $TT_PREFIX;
EOF
And with this one, as well as the one above, anything after the first
here-doc delimiter is colored as a string:
$sql .= <<SQL if $type eq 'com';
SQL
Regards,
Michael Irwin
Please please Allan include block undo/redo. At least as an option.
Not only is it standard on all other programs (that I know of) I find
it far more usable. If I want the latest character I typed undone,
I'll hit backspace.
I currently sit and try to figure out a good XML scheme for myself,
and I find that I change whole words very much, such as tag-names and
allowed values for attributes, it's a pain to hit the undo button so
many times as is necessary.
Andreas
Hi,
I discovered db_structure in Rails last night, as a way of creating
SQL files once instead of once for each database type. And so I've
mangled together a language for it, basically stealing the rhtml
syntax and modifying it to include 'source.sql' instead of
'text.html.basic'. Hopefully I've done right -- it appears to work.
I've attached it in the hope that other folks might find it useful
and that it might wind its way into the svn Ruby bundle sometime?
Regards,
Graeme
--
Mail: mathie(a)woss.name | Web: http://woss.name/
AIM: Math1e | PGP: 1024D/D72F2737
I create a new file with ISO-8859-1 (Latin 1 or Windows) encoding selected,
either by doing a Save As.. with ISO-8859-1 selected or setting the File
Encoding to ISO-8859-1 in Preferences.
I close the file and reopen it. It's not opening in ISO-8859-1. Does Text
Mate reopen all files in UTF-8 event though ISO-8859-1 is specified in
Preferences or the file was save as ISO-8859-1?
Thanks,
Ed
Hi Allan,
got a bug for you (unless it's a feature I don't get)
release 540
c++ file
after editing for a while with file open in 2 windows (in fg, file
was in a temp project) switched to bg window (lone file), and
scrolling there moves the cursor offscreen -- ie, the window won't
scroll. Window has no scrollbars. Cmd-L takes cursor to line xx
offscreen as well. In the other window (same file, in temp proj)
scrolling works fine. Pg down has no effect.
Resising window fixed it (redrew scrollbars; keyboard motion now
makes window scroll)
****
update: i can recreate this. it occurs when a window has no
scrollbars & you edit (vertically enlarge) the same file in another
window (eg drag its icon into a temp. project & edit) such that it
needs scrollbars - the original window must be resized or window
scrolling is disabled.
scuse me if this is known
cheers,
David
Summary
Folding should count fold start/stops at the current indentation
level to properly pair a fold start with a fold end.
Details
With my Lua bundle, I have folding set to work for block comments and
functions (among other things).
If 'v' represents a start fold marker, and '^' represents and end
fold marker, then creating an unindented (column 0) function looks
like this:
v function foo( )
print( 'hey' )
^ end
So far, so good. Now, suppose I block comment out this function
(without indenting it):
v --[[
v function foo( )
print( 'hey' )
^ end
^ ]]
This looks correct, but if I toggle the first folding marker, I get
this:
> --[[•••
^ ]]
In other words, the folding looked for the first end marker that was
at the same depth as the start marker, and (incorrectly) used the
'end' line. Instead, I propose that it should scan down and when it
sees the second start fold marker at the same depth, add 1 to a
counter; when it sees the first close fold marker at that depth, it
checks the counter...since it is non-zero, it subtracts one. Finally,
when it sees the last fold marker, and the counter is at zero, then
it uses that as the correct, paired end fold.
P.S. What's the netiquette/guideline regarding attaching screenshot
images inline to an email message to a mailing list, when that
mailing list is almost certain to be used solely by MacOS users, who
likely are using a Mail program that would support them? Would have
been easier than the ascii art above (which itself is non-plain text,
so I'm violating another common mailing list rule there).
Saw that this bundle was edited by Allan on 11 october, to remove the
F1 key, bundle found here;
http://anon:anon@macromates.com/svn/Bundles//trunk/Bundles/
PHPCodeCompletion.tmbundle/Commands/Insert%20Snippet.plist
Is this somehow "official" now, I installed that bundle (and manually
removed the F1 key from it) ... I tried removing it from my bundles
directory and restart TextMate, but I lost funcionality and coludn't
find it in the "more bundles" button either, so I suppose it's not
yet in the build as such?
Andreas
Hi,
I'm trying to see if I can manage without eclipse in my daily
workflow. I'm not sure if I'll be able to do without it completely,
as it does nice stuff like popup function name completion etc. that
really need the editor itself to be written in Java. I should be
able to do without it for my view code and (server-side) javascript.
One thing I miss from XMLBuddy (eclipse plug-in) is Ctrl-space to
close the current tab. e.g. if the editor looked like this:
<div>some text|
and you hit ctrl-space, it would append </div> to that line. Has
anyone written a macro to do that? I would imagine it could get
quite complicated, XMLBuddy will still append </div> even if the edit
buffer looks like this:
<div><p>some text</p>|
so it isn't just reading back to the first <:alpha:+>.
I know about the <[tab], >[tab] and <a[tab] snippets, but I always
forget to use them. I could probably learn, given time...
Jon
I am a beginner with textmate, and I wondered where I could
get soem kind of tutorial for it. Not for the basic editing
fuvnctions, but for customization, what textlate can do apart
editing, etc.
I tried the wiki, but I'm much more at ease with a document I can
print and read. Is tehre something like that ?
--
Erwan David
For those who got r540 and is on a Panther system, here's a direct
link to the previous build:
http://macromates.com/textmate/build/TextMate_r528.tbz
I do plan to continue with Panther support, but with the current
developer tools, it seems to be Panther or i386, but not both, if I
want to use libcurl -- it may take a day or so before this is sorted
out. Meanwhile the auto-update won't let Panther systems update to r540.
When I hit enter on <div>|</div>, I get this:
<div>
[tab]|
</div>
which is great, I can immediately begin typing and nesting and so on.
I'd like this behaviour also for the p tag for instance, and all the
other block tags. Also for all xml tags that aren't ended with a /
(that is, not for <tag/>, but for <tag></tag>).
Andreas
I added the following to my javascript bundle, over the normal
function detection code (but that wouldn't make any difference, right?)
{ name = "meta.function.js";
match = "^\\s*([a-zA-Z_]\\w*):\\s*(function)\\s*\\(([^)]
*)\\)";
captures =
{ 1 = { name = "entity.name.function.js"; };
2 = { name = "storage.type.function.js"; };
3 = { name = "variable.parameter.function.js"; };
};
},
{ name = "meta.function.js";
match = "^\\s*(var\\b)?\\s*this\\.([a-zA-Z_]\\w*)\\s*=\
\s*(function)\\s*\\(([^)]*)\\)";
captures =
{ 1 = { name = "storage.type.js"; };
2 = { name = "entity.name.function.js"; };
3 = { name = "storage.type.function.js"; };
4 = { name = "variable.parameter.function.js"; };
};
},
the first should match functions like
functionName: function(arguments) { ... }
and the second
(var) this.functionName = function(arguments) { ... }
with the first var being optional.
Is it correct? It seems to work but I don't dare trust my RegExp
skills ;)
Any other comments?
Andreas
Hi,
I don't suppose it would be a quick fix to make the 'go to symbol'
dialog behave in the same way as the 'go to file' dialog? Or even
just make the list of symbols sortable?
Regards,
Graeme
--
Mail: mathie(a)woss.name | Web: http://woss.name/
AIM: Math1e | PGP: 1024D/D72F2737
I tried to contact 'Wes' about the Lua bundle mentioned on the Wiki
bundle page, but never got a response, and decided to just write my own.
I think the syntax highlighting is correct - it includes appropriate
highlighting for all the keywords as well as all the built-in library
functions.
In addition to some convenient Snippets for code forms that I
personally write frequently, I've added 'cheat sheet' Snippets for
all the global built-in functions and the table, string, and
coroutine libraries. These tab trigger Snippets fill out the argument
list with descriptive names, including which parameter(s) are
optional. When parameters are optional, I included the preceding
comma in the placeholder, so that tabbing through the function and
pressing delete will remove any undesirable optional parameters.
(I got tired of entering all the Snippets, and have not yet added
Snippets for the math, os, or io libraries.)
You can download my bundle from http://phrogz.net/tmp/
Lua.tmbundle.tar.gz
(Is anyone else using programming Lua on MacOS X? :)
Hi all,
I just managed to crash TM. Do you want me to put the crash log
somewhere? It seems a bit big to post here I certainly will if you
would like me to.
-Eric
Hi everybody,
It took me a little while to come up with this, what with finding the
correct command and environment variable etc., so I figured that I
might as well share it here. When you compile something with TeX or
LaTeX in Terminal.app instead of say TeXShop or our favourite editor
and an error message like this pops up
-----------
! Missing $ inserted.
<inserted text>
$
l.7
?
----------
you can enter 'e' to edit that file and correct the error. The
problem on a vanilla TeX installation is that the vi editor is used
for this. To use TextMate instead you can put this command in
your .tcshrc
setenv TEXEDIT "mate -w -l %d %s"
and on entering 'e' TextMate will be launched and the caret will be
placed on the line where the error occured. For the bash shell the
above command would be
export TEXEDIT="mate -w -l %d %s"
I hope you'll find this useful, I certainly do :-)
Bye, Thomas