Clicking links in OUTPUT/SonarLint is broken

Please provide

  • Operating system: Windows 10 (also seen on Linux)
  • SonarLint plugin version: v3.18.0
  • Programming language you’re coding in: does not matter
  • Is connected mode used: does not matter

And a thorough description of the problem / question:

The file links in the log are not clickable (well it is but it does not lead to the files). I think this worked some time ago (not sure). The reason is, that the trailing '-character is added to the link.


image

Hi @KUGA2 ,

Thank you for reporting this and being an active member of our Community forum :sonar:.

The SonarLint extension doesn’t have power over how VSCode detects URLs in the logs output, so we cannot resolve this issue on our side. To fix this, I could recommend opening an issue with VSCode.

We noticed that VSCode parses URLs correctly when a double quote is used instead of a single quote. I’ve created a ticket on our side to consider switching from single quotes to double quotes when logging file names. If progress is made, you will be able to track it directly in the ticket.

Best,

Vojtech from :sonarlint:

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.