fix: add range to snyk.scan message created by code scanner [IDE-134] #5052
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Submission
Please check the boxes once done.
The pull request must:
feat:
orfix:
, others might be used in rare occasions as well, if there is no need to document the changes in the release notes. The changes or fixes should be described in detail in the commit message for the changelog & release notes.What does this PR do?
This updates the Snyk Language Server extension to the latest version. Currently, the
$/snyk.scan
custom message from Snyk Code is sent without a valid range. The range is specified in the structure, but just not filled. The new language server version remedies this.Where should the reviewer start?
Have a look at commit 5c61976 of snyk-ls - it contains tests and the changed code.
snyk/snyk-ls@5c61976#diff-5fdc92093964521489fec0d3eb3f9384994e19496fc0d274e0d6a3c3086a975dR81
How should this be manually tested?
Start up VSCode and have it do a Snyk Code scan
Any background context you want to provide?
This PR is necessary to use the experimental preview feature of sourcing Snyk Code findings from Language Server in IntelliJ.
What are the relevant tickets?
IDE-134
Screenshots
Additional questions