Hi,
When in XML mode, with the caret inside <a></a> like <a>|</a>, pressing
^< does not result in <a><p></p></a> as it does in TM1, but in
<a<>></>></a>, which is not well-formed XML.
Also, in an empty file in XML mode, pressing ^< a TAB will, in TM1, move
the caret inside the element, but in TM2, it seems to hit the snippet
bound to <a, resulting in
<name attr="value">
</name>></a>
That snippet exists in TM1, too, but it seems the priority of who gets
the TAB key first has changed. Tabbing inside a freshly created element
still works in TM2 for elements whose name is not a snippet trigger.
Christopher
I have been using the JavaScript tools bundle from
https://github.com/subtleGradient/javascript-tools.tmbundle. Recently, the
key bindings seem to not be working. I have tried removing it and
re-installing it the bundle, but this didn't help. I don't believe this is
a problem specific to this bundle (which hasn't changed), but something I
have done to TextMate to make it act differently.
Previously the command-option-R key would run the "Run in Node.js" command
in this bundle. Now I find that it runs the menu command "Text / Filter
through command". I could not figure out how to remove the key binding to
the menu command. The TextMate manual says I can change the key bindings
for the menu from System Preferences - Keyboard and Mouse, but I'm running
Lion and this seems to be different than what is described in the manual.
System Preferences - Keyboard - Keyboard Shortcuts has a place to add
Application specific shortcuts, but I could not see any shortcuts already
defined for TextMate and could not figure out how to remove any.
It also may be that something is wrong with the scope of this bundle. The
scope selector for the "Run in Node.js" command is set to "source.js", but
when I run "Select Bundle Item", "Run in Node.js" does not show up. I can,
however, pick the command from the bundles menu and it works fine.
I would appreciate any help. I really need this to work for a talk I am
giving next week.
Hi
The instructions at http://blog.macromates.com/2007/file-type-detection-rspec-rails/ obviously don't apply to TM2 as written, but does anybody have an equivalent?
I'm getting all .rb files coming up as either RSpec or Ruby on Rails, regardless of whether the filename ends in _spec.rb, and it's making things a bit awkward, to say the least. (It probably worked fine out of the box and I've done something to break it, but I can't see how to get back without nuking TM2 and all its prefs…)
Thanks
BTW, should Select > Current Scope select an entire "describe ... end" block in RSpec? It either selects one word or the whole file when I try it.
--
John Yeates
Is it possible to extend the existing web preview themes in TM2? All
variants of Avian/Themes/WebPreview, Avian/Support/web-themes, etc.
which I have been trying don't seem to have any effect on the choices
available to style the HTML output pane.
Hi
Is there any way to set 2 as the tab size and soft tabs for all file types
by default ?
I've checked this thread
http://lists.macromates.com/textmate/2011-December/033540.html, but I
didn't understood how to do that. Maybe I need some guidance :)
--
Rodrigo Flores
Hi folks,
I'm experiencing some weirdness trying to open _some_ YAML files with TextMate 2. For example when I try to open a Rails database.yml file, I'm prompted thusly:
If I click 'Open', I see this:
and TM2 locks up and I'm forced to restart. I've tried several Google searches and I haven't found any mention of this behaviour. Does anyone have any idea what might be going on?
Carpe viam,
Mike
Michael Larocque
Chief Cook and Bottle Washer
Prolumina Communications Inc.
http://prolumina.com/mlarocque/
Twitter: http://twitter.com/mrl
When I try to open files that have extended characters (e.g. curly
apostrophe) and are saved with "Western - Windows" encoding, TextMate 2
gives an "Unknown Encoding" error with a hex dump of the file and asks
for the encoding. If I choose "Western - Windows", TextMate opens the
file successfully. (The default encoding is set to the default, "Unicode
- UTF-8".) Also, if I have a project containing these files, Find In
Project fails because TextMate sees them as binary files.
Is there any way to have TextMate autodetect the encoding so that
opening and searching files works as expected? Thanks,
Trevor
In my inexperience I deleted my Blogging Bundle template. At least I saved it
as a blank file. Is there a way to get that back?
I have a Google Blogger blog that I would like to edit with Text Editor. I
can't seem to get it to work. I can't find the endpoint URL on Blogger. Does
Blogger work or can you suggest a better blogging website?
Does anyone have any good learning projects to get started with TextMate and
AppleScript?
This stuff is so fun but I feel like I am standing at the base of a mountain
and I have no idea where to begin.
Thanks,
Josh
--
View this message in context: http://old.nabble.com/Deleted-Blog-setup-template%2C-Google-Blogger%2C-Good…
Sent from the textmate users mailing list archive at Nabble.com.