I just noticed this change in the Ruby bundle:
"[NEW] The Ruby bundle has a new snippet to generate ERb's <% … %> and
<%= … %> tags. Both tags are available via control > (⌃>). Add a tab
(⇥) after triggering the snippet if you wish to keep the =. This
depreciates the control X (⌃X) and control Z (⌃Z) snippets from the
Rails bundle and they will be removed in the future. This feature was
designed by the ANSI TextMate Standards Comity"
Which means I'm going to have to retrain my fingers - sooo much easier
to type ^z or ^x with on hand, now have to use two... anyway.. Setting
a document to "Ruby" or "HTML (Rails)", I tried the new trigger. ^>
does give <%= %>, but typing a Tab just inserts a tab. I don't see how
to get just a <% %> block? I tried hitting the trigger again (^>)
because I see comments about how this should toggle the tags, but all
that does is insert another set of <%= %> tags ( <%= <%= %> %> )
What's the magic necessary here?
Thanks,
John
Anyone else get this when committing a single unchanged file? The
Subversion Commit window is filled with:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/svn_commit.rb:166: undefined local
variable or method `unknown_paths' for main:Object (NameError) from /
Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/svn_commit.rb:166:in `call' from /Users/
jay/Library/Application Support/TextMate/Support/lib/Builder.rb:
226:in `_nested_structures' from /Users/jay/Library/Application
Support/TextMate/Support/lib/Builder.rb:148:in `method_missing' from /
Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/svn_commit.rb:166 from /Applications/
TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle/
Support/svn_commit.rb:164:in `call' from /Users/jay/Library/
Application Support/TextMate/Support/lib/Builder.rb:226:in
`_nested_structures' from /Users/jay/Library/Application Support/
TextMate/Support/lib/Builder.rb:148:in `method_missing' from /
Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/svn_commit.rb:164 from /Applications/
TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle/
Support/svn_commit.rb:82:in `call' from /Users/jay/Library/
Application Support/TextMate/Support/lib/Builder.rb:226:in
`_nested_structures' from /Users/jay/Library/Application Support/
TextMate/Support/lib/Builder.rb:148:in `method_missing' from /
Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/svn_commit.rb:82 from /Applications/
TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle/
Support/svn_commit.rb:76:in `call' from /Users/jay/Library/
Application Support/TextMate/Support/lib/Builder.rb:226:in
`_nested_structures' from /Users/jay/Library/Application Support/
TextMate/Support/lib/Builder.rb:148:in `method_missing' from /
Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/svn_commit.rb:76
Followed by the expected "File(s) not modified; nothing to commit."
message.
/Users/jay/Library/Application Support/TextMate/Support/lib/
Builder.rb is currently identical to /Applications/TextMate.app/
Contents/SharedSupport/Support/lib/Builder.rb. Its svn info is:
svn info Builder.rb
Path: Builder.rb
Name: Builder.rb
URL: http://macromates.com/svn/Bundles/trunk/Support/lib/Builder.rb
Repository Root: http://macromates.com/svn/Bundles
Repository UUID: dfb7d73b-c2ec-0310-8fea-fb051d288c6d
Revision: 5871
Node Kind: file
Schedule: normal
Last Changed Author: JEG2
Last Changed Rev: 4942
Last Changed Date: 2006-08-25 22:50:14 -0400 (Fri, 25 Aug 2006)
Text Last Updated: 2006-10-27 14:38:43 -0400 (Fri, 27 Oct 2006)
Properties Last Updated: 2006-10-27 14:38:42 -0400 (Fri, 27 Oct 2006)
Checksum: f8a8ac57907b4a37deae4c03a752d337
I've been using the GetBundle bundle which is why I've got an svn
checkout of Support under Application Support/TextMate.
Thanks,
j.
p.s. - is this the right list for this?
This is sort of a feature request but i think it would be a handy
feature if you could drag a tab out of textmate and it will open that
file in a separate window.
sometimes i like to be looking at 2 files at once. and am a big fan of
vsplit in vim.
Thanks Kim
I love tm_dialog, it looks so cool. I watched the screen cast and I have
something configured (somewhere) wrong. In the screen cast the output is coming
back in the form:
{key = value; }
Which I believe is a plist
But when I run tm_dialog I am getting info back in this format:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>key</key>
<string>value</string>
</dict>
</plist>
Which I guess is the xml representation of the same info. Is there something
obvious I am doing wrong? I didn't see any flags on tm_dialog or in interface
builder. I am a web developer so go easy on me :)
nds
Hi,
I'm really enjoying TextMate. Thanks all.
I have trouble reading the output when I run a Python script. Here's
what I see:
Python 2.5.0 - PyMate r3226
For comments contact the author.
The regular Python interpreter can be invoked using ⌘⇧R.
>>> mpeg.py
: (2, 'No such file or directory')
Traceback:
function in mpeg.py at line 249
function getparams in mpeg.py at line 243
Is there a way to get a full traceback where the exception class is
printed? e.g. when I run from a terminal I get:
Traceback (most recent call last):
File "/Users/norman/Code/cnuploader/audio/mpeg.py", line 249, in <module>
print getparams('../../../audio/mono.mp3')
File "/Users/norman/Code/cnuploader/audio/mpeg.py", line 243, in getparams
raise e
IOError: [Errno 2] No such file or directory: '../../../audio/mono.mp3'
It would also be nice if all the line numbers were hyperlinked. In
this example only the last one is.
Thanks.
Hi there,
I was having a look at the Blogging Bundle while trying to fix a pet
peeve of mine when I came across blogging.rb:594, # TBD: preserve
order from endpoint file
As that was exactly what I was trying to "fix", here's a vote for
keeping the entry points in the dialog in the same order as they are
in the endpoint file.
I have a couple of main blogs and some test blogs, and it would be
nice to not have them appear before the main blogs in the dialog :D
Just my .02
--
Ale Muñoz
http://sofanaranja.comhttp://appleweblog.com
So I got this thing setup and working nicely, but I'm having one
problem. I can't get code completion to work. I press the hot key for
the snippet "opt+escape" and I've tried clicking the option from the
menu bar. However each time I do it in just inserts an empty pair of
parentheses rather than inserting the parentheses full of code
completed information. Anyone know how to fix this? Thanks!
On Oct 31, 2006, at 6:05 PM, Luke Daley wrote:
> Thomas,
> After trying to install your word completion command, I get this:
> The bundle “tAylott_subtleGradient.tmbundle” does not contain the
> required “info.plist” file (or that file is corrupt) and can
> therefore not be installed.
> Any ideas? Thanks.
> -----------------------------
> Luke Daley
> http://www.ldaley.com
Well, dang. Thanks for letting me know.
I updated that page with the right link to that command and a link to
an updated zip that isn't broken.
thomas Aylott — design42 — subtleGradient — CrazyEgg