We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5a1a5e commit 8327049Copy full SHA for 8327049
editors/code/src/inlay_hints.ts
@@ -41,10 +41,11 @@ const typeHintDecorationType = vscode.window.createTextEditorDecorationType({
41
class HintsUpdater {
42
private pending: Map<string, vscode.CancellationTokenSource> = new Map();
43
private ctx: Ctx;
44
- private enabled = true;
+ private enabled: boolean;
45
46
constructor(ctx: Ctx) {
47
this.ctx = ctx;
48
+ this.enabled = ctx.config.displayInlayHints;
49
}
50
51
async setEnabled(enabled: boolean) {
0 commit comments