Community
Participate
Working Groups
Build Identifier: Eclipse 3.6.2 M20110210-1200, Xtext 2.0.0.v201105171404 the Xtend2 editor validator should point out whether the reference to the injected extension file can be resolved. Example: MyDslGenerator.xtend defines @Inject extension GeneratorExtensions generatorExtensions. When renaming the file GeneratorExtensions.xtend in GeneratorExtensions2.xtend there is no error marker shown in the editor of MyDslGenerator.xtend. In contrast to that, referencing to an injected Java class file, that does not exist, is recognized. Reproducible: Always Steps to Reproduce: 1. Create A.xtend 2. type @Inject extension B b (where there is no B.xtend in the classpath) 3. b should be marked as error but it isn't
I cannot reproduce this one. I get an error marker for B. Why do you expect 'b' to be underlined, too?
It was not an issue with big or low b marked as an error, last time I tested it, there was no error marker at all. But this has been obvious fixed in the meanwhile, so this bug is verified.