Detect starting / ending XML tag
Good morning
Supposed an XML file
<abc>
<def>
…
</def>
</abc>
If the caret is at line </def>, is there a right way to detect that it is an ending tag
(other than getting text under the line and test if contains ‘</def>’
Why this question ?, because using intention I’d like to insert after a starting tag or insert before an ending tag.
Best regards
Bernard
Please sign in to leave a comment.