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:
- use a couple resource/preferences listeners
- use a project builder.
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: