Uploaded image for project: 'SonarLint for Visual Studio Code'
  1. SonarLint for Visual Studio Code
  2. SLVSCODE-276

Do not trigger an analysis when definition preview is opened

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.3
    • Component/s: None
    • Labels:
      None

      Description

      When hitting Ctrl+Hover over a symbol, a little popup is displayed to show the 'symbol definition preview'. This is treated as a document opening as it triggers the textDocument/didOpen call, which in our language server triggers an analysis. This is by design as explained in this issue.

      It does not make sense to trigger an analysis for this preview, so we should find a way to prevent it (there are some suggested workarounds at the end of the linked issue).

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jeanbaptiste.lievremont Jean-Baptiste Lievremont
              Reporter:
              damien.urruty Damien Urruty
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: