Skip to content

Releases: mylesmmurphy/prettify-ts

v0.1.6

11 Aug 17:58
b9f4b2c
Compare
Choose a tag to compare
v0.1.6 Pre-release
Pre-release

What's Changed

Full Changelog: v0.1.5...v0.1.6

v0.1.5

30 Jun 21:44
Compare
Choose a tag to compare

Added optional function parameter support

Full Changelog: v0.1.4...v0.1.5

v0.1.4

28 Jun 15:13
Compare
Choose a tag to compare
v0.1.4 Pre-release
Pre-release

Added function rest parameter support

Full Changelog: v0.1.3...v0.1.4

v0.1.3

27 Jun 03:48
Compare
Choose a tag to compare
v0.1.3 Pre-release
Pre-release

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

19 Jun 22:19
Compare
Choose a tag to compare
v0.1.2 Pre-release
Pre-release

Full Changelog: v0.1.0-alpha...v0.1.2

v0.1.0-alpha

22 May 03:41
Compare
Choose a tag to compare
v0.1.0-alpha Pre-release
Pre-release
  • 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

06 May 04:02
28a9252
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.18...v0.0.19

v0.0.18

06 May 03:51
c94b481
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.17...v0.0.18

v.0.0.17

10 Jan 22:59
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.0.16...v0.0.17

v0.0.16

05 Jan 20:22
72cf592
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.15...v0.0.16