apache / incubator-kie-issues

Apache License 2.0
12 stars 1 forks source link

Add code selection capability for diagnostics in Extended Services VS Code extension. #1226

Open Josephblt opened 4 months ago

Josephblt commented 4 months ago

It should be possible to highlight/select nodes with errors, on the BPMN and DMN editors. It should also be possible to navigate to the node position when editing with a BPMN/DMN file on a text editor.

This feature depends on the following: Add source mapping support for the JIT-Executor validation results

gitgabrio commented 1 month ago

@Josephblt @baldimir @tiagobento It is not 100% clear if "nodes with errors" refers to invalid nodes (i.e. invalid model definition) or errors on evaluation (i.e. wrong/missing input data, that results to error on evaluation)

Josephblt commented 1 month ago

Hello @gitgabrio, it's been a while. I hope you guys are doing well. This refers to evaluation errors. The idea here is to highlight nodes containing information, evaluation errors, or warnings in the canvas. I believe in the case of model definition errors, it is not possible to identify any node as the parser is not able to "load" it. In that case, identifying the line/column where the parser failed is enough. If possible, it would be great to know why the parser failed.

gitgabrio commented 1 month ago

Thanks @Josephblt ! Nice to see u again 😄