Monaco-editor: feature-request: Support Matching Tag Editing for HTML/XML

Created on 26 Jul 2017  路  5Comments  路  Source: microsoft/monaco-editor

When editing html/xml, it'd be great when editing the start or end of a tagged pair for it to update the other side to match like VS.

E.g. If I have this content:

<div><p>Content</p></div>

And then I start modifying the div or /div to now be a span, I'd want to see this:

<span><p>Content</p></span>

Monaco would automatically update the other side of it (that it already knows about from highlighting support).

Currently, I get this:

<div><p>Content</p></span>
    OR
<span><p>Content</p></div>

This is kind of related to #221.

monaco-editor version: 0.9
Browser: Edge
OS: 15063

feature-request monaco-html

Most helpful comment

Status??

All 5 comments

I saw HTML close tags was added to vscode, but I couldn't find the PR there. Was that something done specific for vscode vs. Monaco? It'd be great to see that tied into this request and integrated into the Monaco editor itself.

Sorry, that was for VSCode only, more work is required for the Monaco editor adoption.

Status??

Status??????

Please add some features to Monaco as well instead of keeping them all for VSCode.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Spongman picture Spongman  路  3Comments

andreymarchenko picture andreymarchenko  路  3Comments

galyech picture galyech  路  3Comments

zeegin picture zeegin  路  3Comments

ststeiger picture ststeiger  路  3Comments