Display EXPENSIVE checks when building [message #1793212] |
Wed, 01 August 2018 14:46 |
Alexander Fichtinger Messages: 66 Registered: January 2013 |
Member |
|
|
Hey guys,
I want to do the Xtext validation programatically. Therefore I perform the following code:
final IResourceValidator validator = eResource.getResourceServiceProvider().getResourceValidator();
return validator.validate(eResource, CheckMode.ALL, null);
This works fine for getting all validation issues.
The problem is, that the error markers are not shown.
I read in another forum topic that it should be sufficient if a project build just with the XtextBuilder is triggered.
So I've tried this:
project.build(IncrementalProjectBuilder.FULL_BUILD, XTEXT_BUILDER_ID, null, new NullProgressMonitor());
Unfortunately, the markers are not generated too.
The biggest problem for me is, that the markers for EXPENSIVE checks are not shown.
Is there a way to show the markers? Or could you give me a hint about what I'm doing wrong?
Thank you very much! =)
Alex
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03961 seconds