Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show a warning when an edited .ale source file is not in the environment #153

Closed
echebbi opened this issue Jun 26, 2020 · 0 comments · Fixed by #175
Closed

Show a warning when an edited .ale source file is not in the environment #153

echebbi opened this issue Jun 26, 2020 · 0 comments · Fixed by #175
Assignees

Comments

@echebbi
Copy link
Collaborator

echebbi commented Jun 26, 2020

Motivation

It may happen that the user edits an .ale source file that is not part of the project's ALE environment. The direct consequence is that the file is not taken into account by the Xtext validators (this is because we don't actually parse the edited file but parse all files that are part of the ALE environment). This may confuse users who would expect their source file to be validated.

Proposition

Show a warning at the top of the editor when the edited file is not part of the environment and provide a quick fix to add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant