Skip to content

support pipeline directory as well see #525

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Sep 17, 2020
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
2 changes: 1 addition & 1 deletion vscode-extensions/vscode-concourse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ 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` : activates support for editing pipelines
- `**/*pipeline*.yml` | `**/pipeline/*.yml` : activates support for editing pipelines
- `**/tasks/*.yml` | `**/*task.yml` : activates support for editing tasks.

You can also define your own patterns and map them to the language-ids `concourse-pipeline-yaml`
Expand Down
3 changes: 2 additions & 1 deletion vscode-extensions/vscode-concourse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
"Concourse Pipeline"
],
"filenamePatterns": [
"*pipeline*.yml"
"*pipeline*.yml",
"**/pipeline/*.yml"
],
"firstLine": "^#(\\s)*pipeline(\\s)*",
"configuration": "./yaml-support/language-configuration.json"
Expand Down