No problems have been detected in the workspace

  • Operating system: Ubuntu 22
  • SonarLint plugin version: v4.7.0
  • Programming language you’re coding in: python 3.11
  • Is connected mode used:
    • Connected to SonarQube (optional)

I am trying to use SonarLint for Python Django in VS Code. I am unable to see suggestions from SonarLint in Python code in the editor, nor in the ‘Problems’ section of the Output.

In the Output, I am getting:
‘No problems have been detected in the workspace.’

It does not scan the overall code or show anything new in VS Code. This issue still persists whether I use SonarQube or not.

Hey there, welcome to Sonar Community! :wave: :sonar:

Thanks for raising the topic. I would like to clarify a couple of things :blush:

  1. ‘No problems have been detected in the workspace.’ message does not sound like it’s coming from SonarLint. Would you be able to share SonarLint logs? You can find the instructions on how to get them here.
  2. Do you see issues being raised on SonarQube for the same file? What is the rule that is violated? (it should look something like python:Sxxx
  3. It would be ideal if you could share with us an example snippet where you expect to see an issue but don’t.

Thanks in advance,
Sophio :hibiscus:

1 Like