DevSkim
DevSkim copied to clipboard
VSCode Extension reports uncaught errors
Describe the bug
I've installed the devskim plugin in VSCode with my Remote WSL instance, and the Runtime status for the plugin shows the following uncaught errors
Request textDocument/devskim/validateddocuments failed with message: Cannot read properties of undefined (reading 'uri')
Additionally, the plugin does not seem to detect any of the problems in my code that are found in my ADO pipeline running the devskim command.
To Reproduce Steps to reproduce the behavior:
- Install plugin
- View "Runtime Status"
Expected behavior No errors and warnings detected.
Screenshots
Versions(please complete the following information):
- OS: Windows 11, build 22000.856 (where VS Code is installed), WSL running ubuntu 20.04
- Devskim Version: 0.7.1
- VSCode Version: 1.70.2
Thanks for the report. The 0.7 version of the vscode extension is still a prerelease, but the flag may not have been set properly in the build. I will try to get it taken down today so it is not installed in error.
if you can select a specific version try installing the latest 0.6 revision instead.
I've installed 0.6.26 instead (which is the latest 0.6 version) and I'm still seeing the same errors.
@AdmiralGT that is unexpected and I'm sorry it's not working. I can't think immediately of any changes made recently to the vscode extension that would have broken it, but the build itself has been fragile in the past.
I'm coincidentally currently working on a complete rewrite of the extensions (that will be 0.7.x) and I hope to have something available next week.
Sorry for the delay in addressing this.
We've rolled back to a working version for the latest release and marketplace version is now working for me. The version number is 0.7 but this is not the rewritten version.