Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>TS Union DocsNew to Visual Studio Code? Get it now.
TS Union Docs

TS Union Docs

Serveny

|
2 installs
| (0) | Free
Shows JS documentation comments of TypeScript union types in VSCode quick info
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🟦 TypeScript Union Docs VSCode Extension

A VSCode TypeScript extension that displays JSDoc comments from union type members directly in your editor's quick info (hover) tooltips.

image

[!IMPORTANT] Issues please to the TS language plugin repository

💡 The Problem

By default, when you use a value from a union type, TypeScript's quick info just shows the literal value or the base union type. Documentation associated with that specific member of the union is ignored.

✨ The Solution

It wraps the TS compiler plugin ts-union-docs-plugin and acivates it for the VSCode internal TypeScript compiler. The real magic happens here: https://github.com/Serveny/ts-union-docs-plugin

Extension Settings

None

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft