lemminx icon indicating copy to clipboard operation
lemminx copied to clipboard

Error range for src-annotation `src-annotation`

Open angelozerr opened this issue 2 years ago • 1 comments

Given this XSD file:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:element name="root-element">
	<xs:annotation>
		<xs:appInfo>
			
		</xs:appInfo>
	</xs:annotation>	
	</xs:element>
</xs:schema>

image `` xs:appInfo report an error because it should be xs:appinfo, the error range should higlight the xs:appInfo. We could provide too code action with similar values and REPLACE with xs:appinfo.

See https://github.com/eclipse-pde/eclipse.pde/issues/294

angelozerr avatar Aug 16 '22 14:08 angelozerr

you should write app:info instead of app:Info.

raj99195 avatar Sep 11 '22 18:09 raj99195