de-jcup / eclipse-yaml-editor

Eclipse YAML editor
https://marketplace.eclipse.org/content/yaml-editor
Apache License 2.0
34 stars 10 forks source link

Sequence of mappings not displayed correctly in outline view #72

Closed alexirion closed 4 years ago

alexirion commented 4 years ago

The following sequence of mappings is not correctly displayed in the outline view:

List:
- Name: A
  Year: 1970
- Name: B
  Year: 1971

Under "List" there should be two nodes (A and B), each with the sub-nodes for name and year. However, the four nodes for name and year are flattened under the List node, as shown in this screenshot:

yamlEditor

de-jcup commented 4 years ago

Having more than one entry in mapping sequence, we have now:

image

When we have only one entry it's like before

image

de-jcup commented 4 years ago

@alexirion : Thanx for reporting. Will come with release 1.6.0