-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
Milestone
Description
This is a great plug-in thanks for that.
I have a minor issue, that annotation/documentation is not displayed for xs:enumeration items, either when hovering over items in the selection list or when hovering the value after selecting.
In the example below only the documentation from the xs:simpleType is displayed.
I have also noticed, that if the top level element (xs:simpleType) does not have documentation, then the documentation for the last enumeration is used.
I have tested in Visual Studio that the documentation is written correctly, and displayed when hovering.
Let me know, if I need to do something different, or test a fix.
Sorry about the formatting, I have not been able to make it look better.
<xs:simpleType name="PrimaryInputMethodType">
<xs:annotation>
<xs:documentation>The primary input method for the step. The step will use the Control as default but can be modified to e.g. ask the user to scan</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="Control" >
<xs:annotation>
<xs:documentation>The normal control will be shown.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Scan" >
<xs:annotation>
<xs:documentation>The primary input will be scan and the step element can act accordingly e.g. the InputLineType.Text will show a SCAN icon with the possibility to manually enter the value.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ScanOnly" >
<xs:annotation>
<xs:documentation>
The 'ScanOnly' differs from the 'Scan' in the way that the user cannot enter a value manually. The SCAN icon is displayed but it will not show the edit field.
This is only applicable for InputLineType.Text.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>Best regards
Morten