Перейти к файлу
Johannes Rieken 753b040e6f README.md 2016-11-03 15:29:28 +01:00
.vscode initial commit 2016-11-03 15:03:36 +01:00
src initial commit 2016-11-03 15:03:36 +01:00
.gitignore initial commit 2016-11-03 15:03:36 +01:00
.vscodeignore initial commit 2016-11-03 15:03:36 +01:00
README.md README.md 2016-11-03 15:29:28 +01:00
package.json typescript as dependency 2016-11-03 15:13:03 +01:00
tsconfig.json initial commit 2016-11-03 15:03:36 +01:00

README.md

Good and Bad Formatter

This is a sample for a simple (and stupid) formatter that integrates into VS Code in two way: Once as a command and once (better) via the formatter-api. The latter as the following advantages:

  • is less code
  • is invoked from the formatter actions and keybindings
  • is invoked from format on save
  • is future proof for things like format all files in folders etc