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 source files or metamodels from the preferences/.dsl should also trigger new validations.
Proposed Solution
Detect when the ALE environment 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:
I usually like to have a project nature with project builder, they are quite easy to implement and as a user it is also easy to add/remove the nature on a given project (for example in order to add ale nature to an ecore modelling project when adding ale file in it),
It is also 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 source files or metamodels from the preferences/.dsl should also trigger new validations.
Proposed Solution
Detect when the ALE environment 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: