Skip to content

Error messages hard to read #91

@akaroml

Description

@akaroml

When editing pom.xml file with an error, the error message showed by XML extension is very hard to read.
screen shot 2018-11-19 at 10 12 24 am
It's too long
It has too much information and unnecessary details
It does not provide clear action items

Please consider improve the message by:

  1. Remove all the namespaces before the actual element names: e.g. {"http://maven.apache.org/POM/4.0.0":name2} -> name2
  2. Incorporate proper formatting/coloring to improve readability
  3. Check similarity of the node name and rank the most possible one on top

Sample:

[XML] Invalid content was found starting with element 'name2'.
Possible values:
-> name
description
packaging
url
...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions