Nova should give actionable feedback when parsing syntax XML

Continuing the discussion from Recommended autocomplete for developing extensions?:

At present the only feedback I get when developing a language syntax is a vague error in the Extension Console:

Error loading syntax “[syntax_file].xml”

The operation couldn’t be completed. (SKXMLDocumentErrorDomain error 111.)

Without any actionable feedback, writing new syntax IDLs is incredibly labor intensive and frustrating.

Nova ought tell me why it could not properly parse syntax XML files.

1 Like

@logan Am I missing something? Are specific parsing errors surfaced somewhere else in Nova?

1 Like

Not currently, no. We’d like to improve this at some point in the future.

1 Like

See also Syntax grammar XML validator available on Github

1 Like