Enumeration intellisense does not work if value is not empty

SyntaxEditor Web Languages Add-on for Windows Forms Forum

Posted 10 years ago by Luciano Furlan
Version: 4.0.0284
Platform: .NET 4.0
Environment: Windows XP (32-bit)
Avatar
If there is defined an enumeration in schema for attribute value , the intellisense should show the dropdown list if I press Ctrl+Space.

And it does nicely in 2 cases:
1) after the attribute name and equal sign, there is only one quote.
example <One Two="
example <One Two="F
example <One Two="Fi

2) the value attribute is empty.
example <One Two=""

But if there is already a character in the attribute value it does not work.
example <One Two="F"
example <One Two="Fi"
I press Ctrl+Space when I am INSIDE the quotes. It should work.
I expect that the dropdown should open like in the case with one quote only.

I send a simple XSD I used:

<xs:schema id="XMLSchema1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="One">
<xs:complexType>
<xs:attribute name="Two">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Three"/>
<xs:enumeration value="Four"/>
<xs:enumeration value="Five"/>
<xs:enumeration value="Six"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Luciano,

Thanks, we've fixed this for the next maintenance release.


Actipro Software Support

The latest build of this product (v2020.1 build 0401) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.