microsoft / sarif-vscode-extension

SARIF Microsoft Visual Studio Code extension
MIT License
110 stars 49 forks source link

Automatically reflect changes to SARIF files in the viewer #467

Closed 50Wliu closed 1 year ago

50Wliu commented 1 year ago

If a SARIF file is open in the viewer, any changes to that file should be automatically reflected.

Scenario:

  1. Static analysis run produces a SARIF file; SARIF Viewer is opened
  2. After fixing some of the issues, the static analysis tool is run again and updates/overwrites the existing SARIF file

Expected behavior: the SARIF viewer automatically reflects the changes in the file.

Actual behavior: nothing changes :(.

50Wliu commented 1 year ago

Hi @jeffersonking, is this something you think you'll get to soon or would you like us to send a PR instead?

vaishak0309 commented 9 months ago

Hello @50Wliu

I am using SARIF viewer version 3.4.2. Is this autoloading feature supported in 3.4.2 or any other external settings do i need to do.

Thank you

50Wliu commented 9 months ago

This is already released. If you're using the APIs to open SARIF files programmatically, you should see those files update automatically. If not, please open a new issue!