Feature: SARIF Viewer does not support current workspace files
Closed this issue · 0 comments
GeekMasher commented
Issue Description
Type: feature request
Describe what happened (or what feature you want)
When using LoadSarif ...
it seems that it only looks in the loaded database for the file in the SARIF. I was hoping to have support for files in the current working directory.
Describe what you expected to happen
If the file is present in the current workspace, the jump should check:
- Local DB loaded (priority)
- Support the local workspace file
- Error out if both aren't supported
How to reproduce it (as minimally and precisely as possible)
- Create / Download SARIF file
- Load Nvim in the location of the source code
- Run from Nvim
LoadSarif path/to/file.sarif
- Don't load the corresponding CodeQL database
- Navigate and try to jump to SARIF result location
- Get error in Nvim
Cannot find source code for ...
Tell us your environment
- NVIM v0.8.2