playground-format-on-save
v0.1.0
Published
TypeScript Playground plugin to save on format
Downloads
516
Readme
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
- Click this link to install
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.