LemMinX supports linked editing by setting "xml.linkedEditingEnabled": true, to automatically modify closing tags, if associated opening tag is edited.
It leverages https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#linkedEditingRanges capability.
LSP doesn't seem to advertise support for it, at the moment, does it?
I have not suggestion how to implement it in detail, but the request may be used to safely determine all ranges, which can be added cursors for, in order to enable editing multiple file locations synchronously.
LemMinX supports linked editing by setting
"xml.linkedEditingEnabled": true, to automatically modify closing tags, if associated opening tag is edited.It leverages https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#linkedEditingRanges capability.
LSP doesn't seem to advertise support for it, at the moment, does it?
I have not suggestion how to implement it in detail, but the request may be used to safely determine all ranges, which can be added cursors for, in order to enable editing multiple file locations synchronously.