Josephblt opened a new issue, #1224:
URL: https://github.com/apache/incubator-kie-issues/issues/1224

   To make full use of the 
[Diagnostics](https://code.visualstudio.com/api/references/vscode-api#Diagnostic)
 feature provided by the VS Code API, the JIT-Executor validation results 
should be able to provide source mapping information for (i.e. line, column) 
for elements.
   
   For example:
   
   **Original:**
   ```
   {
     "severity": "ERROR",
     "message": "Overlapping rules have different output value, so the 
HitPolicy for decision table 'Preapproval' should be PRIORITY",
     "messageType": "DECISION_TABLE_HITPOLICY_RECOMMENDER",
     "sourceId": "_E7994A2B-1189-4BE5-9382-891D48E87D47",
     "level": "ERROR"
   }
   ```
   
   **Proposed change:**
   ```
   {
     "severity": "ERROR",
     "message": "Overlapping rules have different output value, so the 
HitPolicy for decision table 'Preapproval' should be PRIORITY",
     "messageType": "DECISION_TABLE_HITPOLICY_RECOMMENDER",
     "sourceId": "_E7994A2B-1189-4BE5-9382-891D48E87D47",
     "sourceMap": {
       "line": 10,
       "column": 34
     },
     "level": "ERROR"
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to