deno
f3720330 - feat(lsp): truncate inlay hints with inlayHints.maximumLength setting

Commit
174 days ago
feat(lsp): truncate inlay hints with inlayHints.maximumLength setting Adds a `javascript.inlayHints.maximumLength` / `typescript.inlayHints.maximumLength` LSP setting that truncates inlay hint labels longer than the configured number of characters, appending an ellipsis. The full, untruncated label is surfaced as the hint's tooltip so no information is lost. This mirrors the behavior VTSLS provides via `vtsls.experimental.maxInlayHintLength`. When unset (or non-positive) inlay hints are never truncated, preserving the existing behavior. Co-Authored-By: Divy Srivastava <me@littledivy.com>
Author
Parents
Loading