+11

XPath generation from cursor position in XML

Me Whatever 12 лет назад обновлен Ross Hadden 11 лет назад 1
It would be extremely useful if sublime text 2 could generate xpaths from the user`s current cursor location in the xml and copy them to the clipboard.

I made a plugin that does this. It works in Sublime Text 3, though I have not tested it in ST2.


https://github.com/rosshadden/sublime-xpath


The one caveat is that it has to be formatted XML. IE each child node has to be indented more than its parents.

Сервис поддержки клиентов работает на платформе UserEcho