Double-click on issue should reposition source code

New thread based on the last comment of this thread.

VS Code 1.105.1 on Windows - SonarQube for IDE 4.33 - sonarlint-vscode repository opened in VS Code

Opening extension.ts raise 68 issues in the SonarQube tab:

If I double-click on the “Remove this unused import” issue, I’d expect extension.ts to be repositioned at line 17, but that’s not the case. The rule description is automatically opened in split mode. Clearly a matter of taste, but my preference would be to jump to the right location, and not open the rule description (that could be done with a right-click).

Hello @gquerret :waving_hand:

Thanks for creating the topic!

Here is what the behaviour looks like on my machine (Mac). So normally, clicking the issue (single click) should take you to the issue location AND open the rule description.

navigate_to_issue

I will check on a Windows machine if the behaviour is the same. If it was working the way my GIF describes, would it meet your expectations? Or would you still prefer to just go to the issue location and not have rule description be open by default?

Thanks for the feedback,
Sophio

Update: I managed to reproduce the issue on Windows. The ticket is HERE

Thanks a lot for your continued feedback @gquerret :person_bowing:

2 Likes

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