Skip to content

Automatically validate project when the ALE environment changes #183

@echebbi

Description

@echebbi

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions