Search code examples
visual-studio-codecodelens

How can I disable the popup window that appears when I click on a SCM diff decoration in the editor gutter?


In Visual Studio Code I wish to permanently hide the window that pops up with an inline diff in my text editor. It appears after clicking on the blue bar next to the line numbers.

window popup example

Is there a setting to disable this?

I have disabled the codelens setting, but it doesn't resolve my problem.


Solution

  • Put the following in your settings.json file:

    "scm.diffDecorationsGutterAction": "none"
    

    The description for that settings says:

    Controls the behavior of Source Control diff gutter decorations.