Releases: mylesmmurphy/prettify-ts
v0.1.6
What's Changed
- feat: un-aliased object types by @mylesmmurphy in #30
- fix: array parenthesis for unions and intersections by @mylesmmurphy in #31
Full Changelog: v0.1.5...v0.1.6
v0.1.5
Added optional function parameter support
Full Changelog: v0.1.4...v0.1.5
v0.1.4
Added function rest parameter support
Full Changelog: v0.1.3...v0.1.4
v0.1.3
Multiple bug fixes, including:
- Union order
- Multiple function signatures
Added new settings:
- Hide Private Properties
- Max union properties
Full Changelog: v0.1.2...v0.1.3
v0.1.2
Full Changelog: v0.1.0-alpha...v0.1.2
v0.1.0-alpha
- Project rewritten to utilize a custom TS LSP instead of ts-morph
- Rescoped to focus on hover previews
To install, download the vsix file under the release and install using the official VSCode instructions found here.
Features
- Hover Information: Just hover over a type, class, interface, etc., and you'll see a prettified version in the hover panel.
Extension Settings
Prettify TS can be configured to customize your TypeScript development experience. Visual Studio Code extension settings can be found by navigating to the Settings editor and searching for the specific extension by name.
The following settings are available:
- Type Indentation: Controls the indentation level of types.
- Max Depth: Sets the maximum depth to which types should be expanded.
- Max Properties: Limits the number of properties displayed for each type. Excess properties will be displayed with ellipsis.
- Max Sub-Properties: Limits the number of sub-properties (properties on nested objects) displayed for each property. Excess properties will be displayed with ellipsis.
- Unwrap Functions: If enabled, function parameters and return types will be expanded.
- Unwrap Arrays: If enabled, array element types will be expanded.
- Unwrap Promises: If enabled, Promise resolved types will be expanded.
- Skipped Type Names: A list of type names that should not be expanded.
- Max Characters: Sets the maximum number of characters for the prettified output. If the output exceeds this limit, it will be truncated.
Sidebar Type View
As of v0.1.0, Prettify TS has been rescoped to hover previews only and no longer supports a VSCode Type Preview View Container. For feature rich projects offering TypeScript Type View Containers, check out the following:
v0.0.19
v0.0.18
What's Changed
- fix: enum support, redundant undefined typings, ignored types validation, clear cache by @mylesmmurphy in #20
- feat: function and promise type expansion by @mylesmmurphy in #22
- fix: webview max type length by @mylesmmurphy in #23
Full Changelog: v0.0.17...v0.0.18