diff --git a/vscode-extensions/vscode-concourse/README.md b/vscode-extensions/vscode-concourse/README.md index c3fbd6e47..ea07bf277 100644 --- a/vscode-extensions/vscode-concourse/README.md +++ b/vscode-extensions/vscode-concourse/README.md @@ -9,7 +9,7 @@ The Concourse editor automatically activates when the name of the `.yml` file y follows a certain pattern: - `**/*pipeline*.yml` : activates support for editing pipelines - - `**/tasks/*.yml` : activates support for editing tasks. + - `**/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` or `concourse-task-yaml` by defining `files.associations` in workspace settings. diff --git a/vscode-extensions/vscode-concourse/package.json b/vscode-extensions/vscode-concourse/package.json index ac53585c3..9fbfa5be0 100644 --- a/vscode-extensions/vscode-concourse/package.json +++ b/vscode-extensions/vscode-concourse/package.json @@ -52,7 +52,7 @@ "Concourse Task" ], "filenamePatterns": [ - "*task*.yml", + "*task.yml", "**/tasks/*.yml" ], "firstLine": "^#(\\s)*task(\\s)*",