anuraghazra / playground-format-on-save

TypeScript playground plugin to save on format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

TypeScript playground plugin to save on format


Languages

Language:TypeScript 65.4%Language:JavaScript 34.6%