gemoc / ale-lang

Action Language for EMF
Eclipse Public License 1.0
8 stars 6 forks source link

Fully embrace ALE's Message and get rid of Acceleo's IValidationMessage #162

Closed echebbi closed 4 years ago

echebbi commented 4 years ago

Closes #160

Use ALE's Message data structure to represent all validation errors. Xtext validators now return a List<Message> that is consumed by a DiagnosticsToEditorMarkerAdapter in order to create the relevant Eclipse markers.

As discussed in #160 this architecture will make easier to implement new features.

Changes

Notes

echebbi commented 4 years ago

The code still has room for improvement (e.g. instantiation of Message instances is not very clean) but it works and allows for other issues to be solved. Let's merge and improve later.