I've tried out the Custom Checks today and it works mostly, but I've got one problem with the boolean assignment operator (=?).
What I want to do is to define a grammar where some elements can be used only one time.
Because of that I've created the following Unordred Group:
Then I implemented some custom checks which works so far with ConfigurationName or Model. But it doesn't work with parameters, where I was a little bit curious about it.
So I removed the boolean assignment operator (=?) from parameters and then it works. What's the problem here? Or is there a better way than to use an unordered group.
No, I'm new to Xtext and not sure at all
But except the custom-checks it works for me so far. I was just surprised about the behaviour.
Do you have an alternative idea what to use instead of unordered groups?
I just want to define my grammar, so that some elements must be appear exactly one time in a model and other elements can be appear one time. Not sure how to do this.
Sry, it's me again. Is there a handy way to change this error message to a more specific one? I read about ISyntaxErrorMessageProvider, but I'm not really familiar with this.