Skip to content

Commit

Permalink
fix #209
Browse files Browse the repository at this point in the history
  • Loading branch information
vtbassmatt authored Oct 28, 2020
1 parent d7f3124 commit e0139d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ It'll give you autocompletes for your custom tasks.

## Document formatting

Since this extension defines a new file type ("`azure-pipelines`"), the native YAML formatting provided by VS Code no longer applies to pipelines documents.
Hat tip to @mgexm and @dotnetcanuck for [sharing how they restored this functionality](https://github.com/microsoft/azure-pipelines-vscode/issues/209#issuecomment-718168926):
Since this extension defines a new file type ("`azure-pipelines`"), any YAML formatter you've installed no longer applies to pipelines documents.
Hat tip to @mgexm and @dotnetcanuck for [sharing how they restored this functionality](https://github.com/microsoft/azure-pipelines-vscode/issues/209#issuecomment-718168926).
We'll demonstrate with the [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) VS Code extension:

1. Install the [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) VS Code extension
2. Add this to your `settings.json`:
Add this to your `settings.json`:
```json
"[azure-pipelines]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
Expand Down

0 comments on commit e0139d0

Please sign in to comment.