Skip to content

VSCode extension seems to hang #558

@robjackstewart

Description

@robjackstewart

Describe the bug
Upon opening any given repository in VSCode, I can see from the logs that the language server has started from the DevSkim VS Code Client output logs, however, nothing else happens.

To Reproduce
Steps to reproduce the behavior:

  1. Run devskim analyze -I . in a repository that has devskim items to address
  2. Confirm that there is some output from the previous command
  3. Open the repository in VSCode
  4. Install the DevSkim extensions if it is not already installed
  5. Click on Output tab (Ctrl+Shift+U)
  6. Select DevSkim VS Code Client form the sources dropdown on the right hand side
  7. Observe logs stating that language server has started
  8. Navigate to a file that contains problems identified in step 1
  9. Observe that nothing identifies the problem

Expected behavior
VSCode should visually identify the problems that were found by running devskim analyze -I . in the same repository.

Screenshots
image

Versions(please complete the following information):

  • OS:
    • Windows 10.0.22621 Build 22621
    • WSL - Ubuntu 20.04.6 LTS
  • Devskim CLI: 1.0.8
  • Devskim VSCode Extension: 1.0.8

Additional context
Example:

The following image shows a TODO comment that is not identified as a problem in VSCode with the DevSkim extension running:
image
But running the CLI identifies the problem correctly:
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions