Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions vscode-extensions/vscode-concourse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ for editing [Concourse](https://concourse-ci.org/) Pipeline and Task configurati
The Concourse editor automatically activates when the name of the `.yml` file you are editing
follows a certain pattern:

- `**/*pipeline*.yml` | `**/pipeline/*.yml` : activates support for editing pipelines
- `**/ci/**/tasks/*.yml` | `**/*task.yml` : activates support for editing tasks.
- `**/*pipeline*.yml` | `**/pipeline/*.yml` | `**/*pipeline*.yaml` | `**/pipeline/*.yaml`: activates support for editing pipelines
- `**/ci/**/tasks/*.yml` | `**/*task.yml` | `**/ci/**/tasks/*.yaml` | `**/*task.yaml` : activates support for editing tasks.

You can also define your own patterns and map them to the language-ids `concourse-pipeline-yaml`
or `concourse-task-yaml` by defining `files.associations` in workspace settings.
Expand Down
10 changes: 8 additions & 2 deletions vscode-extensions/vscode-concourse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@
],
"filenamePatterns": [
"*pipeline*.yml",
"**/pipeline/*.yml"
"**/pipeline/*.yml",
"*pipeline*.yaml",
"**/pipeline/*.yaml"
],
"firstLine": "^#(\\s)*pipeline(\\s)*",
"configuration": "./yaml-support/language-configuration.json"
Expand All @@ -84,7 +86,11 @@
"**/ci/*task.yml",
"**/ci/**/tasks/*.yml",
"**/concourse/*task.yml",
"**/concourse/**/tasks/*.yml"
"**/concourse/**/tasks/*.yml",
"**/ci/*task.yaml",
"**/ci/**/tasks/*.yaml",
"**/concourse/*task.yaml",
"**/concourse/**/tasks/*.yaml"
],
"firstLine": "^#(\\s)*task(\\s)*",
"configuration": "./yaml-support/language-configuration.json"
Expand Down