Skip to content

Commit

Permalink
Identify AzP-related YAML files
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Feb 9, 2024
1 parent 420207f commit c70b656
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,16 @@
"editor.formatOnSave": true,
"[xml]": {
"editor.wordWrap": "off"
}
},
// Treat these files as Azure Pipelines files
"files.associations": {
"**/azure-pipelines/**/*.yml": "azure-pipelines",
"azure-pipelines.yml": "azure-pipelines"
},
// Use Prettier as the default formatter for Azure Pipelines files.
// Needs to be explicitly configured: https://github.com/Microsoft/azure-pipelines-vscode#document-formatting
"[azure-pipelines]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": false // enable this when the conform
},
}

0 comments on commit c70b656

Please sign in to comment.