playground-format-on-save

0.1.0 • Public • Published

TypeScript Playground Plugin

TypeScript Playground plugin to save on format

Features

  • Format code with prettier with CTRL+S
  • Customizable prettier config
  • Prevents playground link to be copied into clipboard
  • Support for prettifying dts output (check the .D.TS panel)

Running this plugin

or

  • Open up the TypeScript Playground
  • Go the "Plugins" in the sidebar
  • Look for "Plugins from npm"
  • Add "[name]"
  • Reload the browser

Then it will show up as a tab in the sidebar.

Contributing

See CONTRIBUTING.md for the full details, however, TLDR:

git clone ...
yarn install
yarn start

Then tick the box for starting plugin development inside the TypeScript Playground.

Readme

Keywords

Package Sidebar

Install

npm i playground-format-on-save

Weekly Downloads

139

Version

0.1.0

License

MIT

Unpacked Size

1.42 MB

Total Files

4

Last publish

Collaborators

  • anuraghazra