An open API service indexing awesome lists of open source software.

https://github.com/adrielcodeco/vscode-formact-prettier


https://github.com/adrielcodeco/vscode-formact-prettier

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          



Formact + Prettier



VSCode extension to enable run the Prettier action when formatting

## Installation

You can install this extension by one of the following options

- Search for `formact-prettier` on vscode marketplace
- Launch vscode quick open (Ctrl+p) and paste the following command

`ext install codeco.formact-prettier`

## How to use it _?_

This extensions add an action that can be called in vscode command (Crtl+Shift+p)

![command](assets/formact.command.png)

Can be used with [formact extension](https://github.com/adrielcodeco/vscode-formact) passing `formact.prettier.format` action

![formact config](assets/formact.config.png)

Or can be used on `editor.codeActionsOnSave` passing `formact.prettier.format` action

![editor.codeActionsOnSave](assets/codeActionsOnSave.png)