diff --git a/src/extension.ts b/src/extension.ts index 6c68a0c..5a9d4fa 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -112,7 +112,7 @@ class EffektCapturesProvider implements vscode.InlayHintsProvider { // Truncate long captures ourselves. // TODO: Does this make sense? Shouldn't we at least show the first one? // TODO: Can the backend send them in a list so that we can have a somewhat stable (alphabetic?) order? - const hintText = response.captureText.length > 24 ? "{…}" : response.captureText; + const hintText = response.captureText.length > 30 ? "{…}" : response.captureText; const hint = new vscode.InlayHint(position, hintText, vscode.InlayHintKind.Type); // This tooltip is useful when there are a lot of captures.