I want to remove this suggestion in VS Code which comes on hover, as it disrupts my scrolling.
Question posted in Visual Studio Code
View the official documentation.
View the official documentation.
I want to remove this suggestion in VS Code which comes on hover, as it disrupts my scrolling.
2
Answers
That area of the UI is called the explorer. What you’re seeing is generally called a "tooltip" in UI terminology. Looking through the available settings at the time of this writing, I do not see a setting to disable tooltips for the explorer listitems.
I looked through settings containing "tooltip" and ones starting with
explorer.
andworkbench.list.
and didn’t find such a configuration point.If you open the developer tools with the
Developer: Toggle Developer Tools
command, you’ll see that that particular tooltip is just implmeneted with the HTMLtitle
attribute. The way that it is rendered is up to the browser, which in this case is chromium, and the particular style it appears in differs by platform / OS.I don’t think it’s possible to write an extension that removes those title attributes. See https://code.visualstudio.com/api/extension-capabilities/overview, which states:
What you can do is write a feature-request issue ticket to the VS Code GitHub repo asking for such a setting to be created to disable these and explaining why you think that would be a desirable thing to have. Bear in mind that for feature-requests to make it into their backlog, it needs to get enough thumbs-up reactions from the rest of the community. If you do create such an issue ticket, add a link to it here for posterity.
There is work in progress to make an option to disable/modify that Explorer tooltip, see A option which can modify the path hover in vscode file explorer and a good discussion here: Polish explorer tooltip rendering. It quickly got enough votes to get on the Backlog but is being worked on.
There is this setting:
which I believe will be released to Stable early March 2023. For some weird reason, my Insiders Build is not showing that option so that I could test it, so it is unclear to me exactly what it will change.
In any case, that setting should appear in Stable in early March 2023 so you can see what it changes.