Jaycee
Jaycee

Reputation: 99

How to edit tooltip opacity in vscode? (how to change the intellisense suggestions transparency)

I am a beginner in vscode. When I write code the tooltip annoys me, because I use divided screen in macOS so I want to make the tooltips semi-transparent without press ctrl like this image:

Description

Upvotes: 6

Views: 1617

Answers (3)

Jaycee
Jaycee

Reputation: 99

https://wannabedev.tistory.com/37

I found it, here is a screenshot:

enter image description here

Upvotes: 3

Mark
Mark

Reputation: 183134

Try this colorCustomization in your settings:

"workbench.colorCustomizations": {

  "editorSuggestWidget.background": "#ff000060"
}

The last two digits, in this case 60 are opacity. There a few more editorSuggestWidget options to change too.

Upvotes: 8

ultraGentle
ultraGentle

Reputation: 6347

Unfortunately, that's a visual studio feature not yet available in visual studio code.

At present, the only option is to disable the pop-up altogether, in which case you don't get the hinting, which is not ideal.

There are a lot of threads on GitHub about the position and opacity of the tool tip (search terms like 'tooltip intellisense position' you'll find a bunch). You can add your voice there.

Upvotes: 0

Related Questions