Learn extra at:
The preview of the expandable hovers characteristic, in the meantime, provides “fast data verbosity.” Builders utilizing an editor like Visual Studio Code now will now see + and – buttons on the left of those hover tooltips. Clicking on the + button will develop out varieties extra deeply, whereas clicking on the – button will return to the earlier view, in keeping with Microsoft.
Additionally in TypeScript 5.9, the language server helps a configurable hover size, which could be configured in VS Code by way of the js/ts.hover.maximumLength
setting. This addresses a scenario wherein fast data tooltips turn into so lengthy that TypeScript will truncate them to make them extra readable.
Different options in TypeScript 5.9: