lemminx icon indicating copy to clipboard operation
lemminx copied to clipboard

Code Action for RootElementTypeMustMatchDoctypedecl should be more robust

Open xorye opened this issue 5 years ago • 1 comments

For the RootElementTypeMustMatchDoctypedecl code action: https://github.com/eclipse/lemminx/pull/674,

the correct root name is being retrieved from the error message. It would be great if we could store the correct root name in the diagnostic, from when the diagnostic is first created. This is not possible at the moment.

Related issue: https://github.com/microsoft/language-server-protocol/issues/887

xorye avatar May 07 '20 17:05 xorye

See https://github.com/eclipse/lemminx/issues/901

angelozerr avatar Oct 05 '20 15:10 angelozerr