For editing xml, I'm really missing a clickable outliner of the xml document that lets me easily jump to different nodes. I know TextMate isn't an IDE but I would love this functionality (it's in jedit as well as part of the sidekick plugin.) Here's a screen shot of Eclipse's outline view of an xml document http://img.skitch.com/20080528-f34dyh22e7sm7j7h218ymaqtxm.jpg
It doesn't look like xmlMate bundle has this kind of functionality. Does it exist in some other bundle out there?
Thanks
On 28/05/2008, at 10:29 AM, Rick wrote:
For editing xml, I'm really missing a clickable outliner of the xml document that lets me easily jump to different nodes. I know TextMate isn't an IDE but I would love this functionality (it's in jedit as well as part of the sidekick plugin.) Here's a screen shot of Eclipse's outline view of an xml document http://img.skitch.com/ 20080528-f34dyh22e7sm7j7h218ymaqtxm.jpg
It doesn't look like xmlMate bundle has this kind of functionality. Does it exist in some other bundle out there?
What would you want to do with this view of the data once you have it?
LD.
On Tue, May 27, 2008 at 10:36 PM, Luke Daley ld@ldaley.com wrote:
On 28/05/2008, at 10:29 AM, Rick wrote:
For editing xml, I'm really missing a clickable outliner of the xml
document that lets me easily jump to different nodes. I know TextMate isn't an IDE but I would love this functionality (it's in jedit as well as part of the sidekick plugin.) Here's a screen shot of Eclipse's outline view of an xml document http://img.skitch.com/ 20080528-f34dyh22e7sm7j7h218ymaqtxm.jpg
It doesn't look like xmlMate bundle has this kind of functionality. Does it exist in some other bundle out there?
What would you want to do with this view of the data once you have it?
Jump to the node I'm interested in by clicking on the node in the outline view - it's the reason such a view exists in every IDE that I know of. I have some large XML files I have to deal with it and it makes it easy to jump around when I have an outline view of the nodes.
On 29/05/2008, at 12:25 PM, Rick wrote:
On Tue, May 27, 2008 at 10:36 PM, Luke Daley ld@ldaley.com wrote:
On 28/05/2008, at 10:29 AM, Rick wrote:
For editing xml, I'm really missing a clickable outliner of the xml document that lets me easily jump to different nodes. I know TextMate isn't an IDE but I would love this functionality (it's in jedit as well as part of the sidekick plugin.) Here's a screen shot of Eclipse's outline view of an xml document http://img.skitch.com/ 20080528-f34dyh22e7sm7j7h218ymaqtxm.jpg
It doesn't look like xmlMate bundle has this kind of functionality. Does it exist in some other bundle out there?
What would you want to do with this view of the data once you have it?
Jump to the node I'm interested in by clicking on the node in the outline view - it's the reason such a view exists in every IDE that I know of. I have some large XML files I have to deal with it and it makes it easy to jump around when I have an outline view of the nodes.
Are we able to programatically move the caret somehow? Not directed at you Rick, unless you know of course :)
LD.
On May 28, 2008, at 10:55 PM, Luke Daley wrote:
Are we able to programatically move the caret somehow? Not directed at you Rick, unless you know of course :)
So you could perhaps do an html tree list with links, perhaps even a tm_dialog that open links when you clicked on a item in a list. (Unsure of the second one ;)
On 29/05/2008, at 3:03 PM, Michael Sheets wrote:
Are we able to programatically move the caret somehow? Not directed at you Rick, unless you know of course :)
So you could perhaps do an html tree list with links, perhaps even a tm_dialog that open links when you clicked on a item in a list. (Unsure of the second one ;)
If I can get NSTreeController to play, could do this without too much fuss with tm_dialog. HTML is an option too, but maybe not quite flexible enough.
As for setting the caret position; you can specify line args in txmt:// urls I just learned.
Sounds like fun, leave it with me.
LD.
On May 27, 2008, at 8:29 PM, Rick wrote:
For editing xml, I'm really missing a clickable outliner of the xml document that lets me easily jump to different nodes.
If I understand what you're wanting, I think the Symbols list (at the bottom of the TextMate window) would be a good way to implement this.
For an example, open a large Markdown document with many headings of varying depths and look at the Symbols drop-down. What you should see is a clickable outline. I love this and use it all the time.
I'm a little surprised that the XML bundle doesn't already do this.
--- Rob McBroom http://www.skurfer.com/