提交 17c7a92a 编写于 作者: T Tomas Vik

Merge branch '399-expand-glob-pattern' into 'main'

399 - expand glob pattern for gitlab-ci.yml file

See merge request gitlab-org/gitlab-vscode-extension!270
......@@ -62,7 +62,7 @@ Supports multiple GitLab instances [Read more](#multiple-gitlab-instances).
Published also on [Open VSX Registry](https://open-vsx.org/extension/GitLab/gitlab-workflow).
You can use [autocompletion of GitLab CI variables](#ci-variable-autocompletion) in your `.gitlab-ci.yml`.
You can use [autocompletion of GitLab CI variables](#ci-variable-autocompletion) in your `.gitlab-ci.yml` pipeline file. If you have additional pipeline files you would like to use autocomplete with, it matches on any file beginning with `.gitlab-ci` and ending with `.yml` or `.yaml`. For example: `.gitlab-ci.production.yml`.
## Setup
......
......@@ -99,7 +99,7 @@ const registerCommands = (context, outputChannel) => {
const registerCiCompletion = context => {
const subscription = vscode.languages.registerCompletionItemProvider(
{ pattern: '**/.gitlab-ci.{yml,yaml}' },
{ pattern: '**/.gitlab-ci*.{yml,yaml}' },
new CiCompletionProvider(),
'$',
);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册