You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validators are only triggered when making changes in the editor. However, adding/removing/renaming a class/method/attribute to/from a metamodel should also trigger a new validation.
Proposed Solution
Detect when the a metamodel changes and programmatically trigger a new Xtext validation every time.
Proposed Implementation
Not sure about the best implementation; I see two possibilities:
use a couple resource/preferences listeners
use a project builder.
The text was updated successfully, but these errors were encountered:
about were the build should be done, I usually prefer a builder because it is convenient for a user to do a "clean all" in order to launch all validations and compilations (a couple of resource/preference listener doesn't allow that)
Motivation
Validators are only triggered when making changes in the editor. However, adding/removing/renaming a class/method/attribute to/from a metamodel should also trigger a new validation.
Proposed Solution
Detect when the a metamodel changes and programmatically trigger a new Xtext validation every time.
Proposed Implementation
Not sure about the best implementation; I see two possibilities:
The text was updated successfully, but these errors were encountered: