Community
Participate
Working Groups
This would be a cool and useful feature. Click (or double-click) in/on an HTML start tag, and the editor matches the corresponding end tag. And vice-versa (click in/on end tag and editor matches start tag). This is related to, but "bigger than", bug 484336. Not sure whether component is 'editor' or 'tooling' - probably both.
I tried implementing something similar treating the matching tags as 'occurrences'. Difficult to get working correctly as the parser falls on its face if you are missing a close tag.
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=146812b86bf1b53a4115213dd2497c332b2b1ecb Implemented with tests We are having some further discussion on the behaviour. Such as whether we should mark the name of the tag you are currently working inside (or modifying the attributes of).
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=cd5a0ef3c7caf61a834d054c84448fee58268bc6 Pushed a change to try a different behaviour, marking tag name whenever you are anywhere inside the tag.