Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ This is a VS Code extension that enables format on save for Dart projects. Ultim

## Setting up the extension
1. __Install the extension:__ The extension is installed via the `.vsix` file. In this package, there is a `over-react-format-on-save-x.x.x.vsix` file. Download that file locally, and follow [these instructions](https://code.visualstudio.com/api/working-with-extensions/publishing-extension#packaging-extensions) to install it.

Or just install it:

```
pushd /tmp
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/tmp is a temporary filesystem on RAM

pushd is cd but with a history stack that can be popded

wget https://github.com/Workiva/vs-code-format-on-save/archive/refs/tags/1.0.3.zip && unar 1.0.3.zip
code --install-extension vs-code-format-on-save-1.0.3/over-react-format-on-save-1.0.2.vsix
popd
```

1. __Enable the formatter:__ Open the Command Palette (__⌘ + ⇧ + P__ by default) and search for `OverReact Format on Save: Enable`. This will allow the formatter to be run, and can be disabled by using the `OverReact Format on Save: Disable` command.
1. You're good to go!

Expand Down
Loading