https://github.com/lukewestby/code-formatter-purescript
my personal visual studio code formatting extension for purescript
https://github.com/lukewestby/code-formatter-purescript
Last synced: 3 months ago
JSON representation
my personal visual studio code formatting extension for purescript
- Host: GitHub
- URL: https://github.com/lukewestby/code-formatter-purescript
- Owner: lukewestby
- Created: 2018-02-22T23:26:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-22T23:30:19.000Z (over 7 years ago)
- Last Synced: 2025-02-09T12:26:27.155Z (5 months ago)
- Language: TypeScript
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 [comm](https://github.com/jrieken/vscode-formatter-sample/blob/master/src/extension.ts#L8)[and](https://github.com/jrieken/vscode-formatter-sample/blob/master/package.json#L31) and once (better)
via the [formatter](https://github.com/jrieken/vscode-formatter-sample/blob/master/src/extension.ts#L23)-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