Search code examples
vscode-extensions

How do I turn off Sourcery's buttons above every class/funtion in VSCode?


How do I make VSCode not put these buttons above every class and function declaration? It's getting in the way of my reading over the script.

It's started appearing within maybe the past week or so, but I'm not exactly sure.

code snippet with Sourcery buttons


Solution

  • that line buttons is called Code Lens, you can just search in settings (Ctrl+,) the name of your extension (sourcery) then look for Code Lens, you can uncheck or change its value to hide/false