mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 16:58:56 +00:00
[validation] set the issue code even for plain diagnostics
https://bugs.eclipse.org/bugs/show_bug.cgi?id=369179
This commit is contained in:
parent
08c019acef
commit
293185e436
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ public class DiagnosticConverterImpl implements IDiagnosticConverter {
|
|||
} else {
|
||||
// default to FAST
|
||||
issue.setType(CheckType.FAST);
|
||||
issue.setCode(diagnostic.getSource() + "." + diagnostic.getCode());
|
||||
}
|
||||
|
||||
// marker.put(IXtextResourceChecker.DIAGNOSTIC_KEY, diagnostic);
|
||||
|
|
Loading…
Reference in a new issue