Hi guys,
I had been playing around with the language grammars and snippets, and started thinking that Allan probably has thought of some better way to edit the grammar.. I felt really stupid when I came across this blog that stated the obvious: while in bundle editor, naturally select Edit in TextMate.. - Voilá, the Language is set to 'Language Grammar' and colored nicely.
So if there happends to be any grammar-editors unaware of this obviousity, just thought I'd let them know. And for a suggestion to the bundle editor and help, this feature might be nice to mention as a hint (eg. by the help button in bundle editor). A tip of the day maybe: "Did you know that you can call the 'Edit in TextMate...' input manager also inside TextMate's bundle editor. This should make language grammar editing much easier." or smtn...
Sorry if this is plain obvious to anyone else...
Thank you - this is not at all obvious, and I have been wanting that functionality for a while.
my one question is that this defaults to plain text
On 7/25/06, Jami Haavisto jami@game-lion.com wrote:
Hi guys,
I had been playing around with the language grammars and snippets, and started thinking that Allan probably has thought of some better way to edit the grammar.. I felt really stupid when I came across this blog that stated the obvious: while in bundle editor, naturally select Edit in TextMate.. - Voilá, the Language is set to 'Language Grammar' and colored nicely.
So if there happends to be any grammar-editors unaware of this obviousity, just thought I'd let them know. And for a suggestion to the bundle editor and help, this feature might be nice to mention as a hint (eg. by the help button in bundle editor). A tip of the day maybe: "Did you know that you can call the 'Edit in TextMate...' input manager also inside TextMate's bundle editor. This should make language grammar editing much easier." or smtn...
Sorry if this is plain obvious to anyone else... ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Jul 25, 2006, at 2:13 PM, Jami Haavisto wrote:
Hi guys,
I had been playing around with the language grammars and snippets, and started thinking that Allan probably has thought of some better way to edit the grammar.. I felt really stupid when I came across this blog that stated the obvious: while in bundle editor, naturally select Edit in TextMate.. - Voilá, the Language is set to 'Language Grammar' and colored nicely.
So if there happends to be any grammar-editors unaware of this obviousity, just thought I'd let them know. And for a suggestion to the bundle editor and help, this feature might be nice to mention as a hint (eg. by the help button in bundle editor). A tip of the day maybe: "Did you know that you can call the 'Edit in TextMate...' input manager also inside TextMate's bundle editor. This should make language grammar editing much easier." or smtn...
Sorry if this is plain obvious to anyone else...
It is even less than obvious (for me, at least), so thanks for posting. Even now, I do not know how to invoke "Edit in TextMate" from the Bundle Editor, and I would be happy for some details. The only menu item that seems related is Bundles -> TextMate -> "Install 'Edit in TextMate'", which does not seem to do anything. What am I missing here?
Thanks for the clarification. Holger
On Jul 25, 2006, at 10:42 AM, Holger Frauenrath wrote:
It is even less than obvious (for me, at least), so thanks for posting. Even now, I do not know how to invoke "Edit in TextMate" from the Bundle Editor, and I would be happy for some details. The only menu item that seems related is Bundles -> TextMate -> "Install 'Edit in TextMate'", which does not seem to do anything. What am I missing here?
I actually think that's it ... after running that command .. it should install an InputManager into: ~/Library/InputManagers/Edit in Textmate
Check to make sure that's there (it's a symlink). If it is, you should have an "Edit in TextMate..." command at the very bottom of your Edit menus which is bound to the key combo: cmd-cntrl-e
Hope that helped, -steve
On Jul 25, 2006, at 17:02, Steve Lianoglou wrote:
On Jul 25, 2006, at 10:42 AM, Holger Frauenrath wrote:
It is even less than obvious (for me, at least), so thanks for posting. Even now, I do not know how to invoke "Edit in TextMate" from the Bundle Editor, and I would be happy for some details. The only menu item that seems related is Bundles -> TextMate -> "Install 'Edit in TextMate'", which does not seem to do anything. What am I missing here?
I actually think that's it ... after running that command .. it should install an InputManager into: ~/Library/InputManagers/Edit in Textmate
Aha! That explains why it did not work. I installed a non-replacable file called ~/Library/InputManagers in my account because I hate it when an application quietly installs an input manager. Is there a reason to do it this way (using an input manager, I mean?).
Best regards Holger
On 25/7/2006, at 21:34, Holger Frauenrath wrote:
[...] Is there a reason to do it this way (using an input manager, I mean?).
That’s the only possible way to patch applications. The Edit in TM was really made for Mail, OmniWeb, and similar applications which use text fields.
That it works in the bundle editor is just a bonus.