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
On 11/10/2005, at 11.48, Jon Evans wrote:
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?
Try Automation / Insert Closing Tag (cmd-option .).
Hi Allan,
On 11 Oct 2005, at 11:06, Allan Odgaard wrote:
On 11/10/2005, at 11.48, Jon Evans wrote:
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?
Try Automation / Insert Closing Tag (cmd-option .).
Brill. :) How did I miss that?
Thanks,
Jon
On Tue, 11 Oct 2005 11:48:08 +0200, Jon Evans jon.evans@pobox.com wrote:
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:+>.
alt-cmnd-. does the trick in textmate, i use it all the time ;-)
I know about the <[tab], >[tab] and <a[tab] snippets, but I always forget to use them. I could probably learn, given time...
Jon