From 05ebb1b8b94ee29b955c4a98dab79c598d3609ba Mon Sep 17 00:00:00 2001 From: Lanqing Huang Date: Mon, 17 Nov 2025 11:54:06 +0800 Subject: [PATCH 1/6] feat: Register `ansible` and `ansible-jinja` languages for formatter --- package.json | 4 +++- src/extension.ts | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7cbf21a5..7583acbb 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,9 @@ "onLanguage:dockercompose", "onLanguage:github-actions-workflow", "onLanguage:yaml-textmate", - "onLanguage:yaml-tmlanguage" + "onLanguage:yaml-tmlanguage", + "onLanguage:ansible", + "onLanguage:ansible-jinja" ], "keywords": [ "kubernetes", diff --git a/src/extension.ts b/src/extension.ts index b2509243..c83e94ee 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -123,6 +123,8 @@ export function startClient( { language: 'github-actions-workflow' }, { language: 'yaml-textmate' }, { language: 'yaml-tmlanguage' }, + { language: 'ansible' }, + { language: 'ansible-jinja' }, { pattern: '*.y(a)ml' }, ], synchronize: { From 27a5d4dbc1d25e648027033e84d96699892b28eb Mon Sep 17 00:00:00 2001 From: Lanqing Huang Date: Mon, 17 Nov 2025 11:58:48 +0800 Subject: [PATCH 2/6] docs: Add changelog after getting issue number --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c20e0aa..61a4bb1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### 1.19.2 + +- Add: Support `ansible` and `ansible-jinja` languages [#1179](https://github.com/redhat-developer/vscode-yaml/pull/1179) + ### 1.19.1 - Fix: Revert change that modified user settings on each launch [#1157](https://github.com/redhat-developer/vscode-yaml/issues/1157) - Fix: QuickFix to replace value with integer/number appears blank and doesn't work [#1116](https://github.com/redhat-developer/yaml-language-server/issues/1116) From 90f37c471f3dfc542c01c52041cfa849fb3ffcd5 Mon Sep 17 00:00:00 2001 From: Lanqing Huang Date: Fri, 28 Nov 2025 00:46:38 +0800 Subject: [PATCH 3/6] refactor: Change yaml pattern and release tag to follow upstream --- CHANGELOG.md | 3 +-- src/extension.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61a4bb1a..0e060668 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,4 @@ -### 1.19.2 - +### 1.20.0 - Add: Support `ansible` and `ansible-jinja` languages [#1179](https://github.com/redhat-developer/vscode-yaml/pull/1179) ### 1.19.1 diff --git a/src/extension.ts b/src/extension.ts index c83e94ee..94ae9b01 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -125,7 +125,7 @@ export function startClient( { language: 'yaml-tmlanguage' }, { language: 'ansible' }, { language: 'ansible-jinja' }, - { pattern: '*.y(a)ml' }, + { pattern: '**/*.{yaml,yml}' }, ], synchronize: { // Notify the server about file changes to YAML and JSON files contained in the workspace From e7b59377151f9cef99df25b72e93405ea0522672 Mon Sep 17 00:00:00 2001 From: Lanqing Huang Date: Fri, 28 Nov 2025 10:42:45 +0800 Subject: [PATCH 4/6] docs: Remove version entry in changelog --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e060668..5ebb1dd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,3 @@ -### 1.20.0 - Add: Support `ansible` and `ansible-jinja` languages [#1179](https://github.com/redhat-developer/vscode-yaml/pull/1179) ### 1.19.1 From fe1545720ffc2a06326b0c6786aee4ee0eacaf5e Mon Sep 17 00:00:00 2001 From: Lanqing Huang Date: Fri, 28 Nov 2025 10:55:53 +0800 Subject: [PATCH 5/6] docs: Improve changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ebb1dd9..808cc3c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -- Add: Support `ansible` and `ansible-jinja` languages [#1179](https://github.com/redhat-developer/vscode-yaml/pull/1179) +- Add: Support `ansible` and `ansible-jinja` languages and fix final fallback of yaml glob patten [#1179](https://github.com/redhat-developer/vscode-yaml/pull/1179) ### 1.19.1 - Fix: Revert change that modified user settings on each launch [#1157](https://github.com/redhat-developer/vscode-yaml/issues/1157) From c1ad23631cfcf5cafee319942c26cf317e27b2b9 Mon Sep 17 00:00:00 2001 From: Lanqing Huang Date: Sat, 29 Nov 2025 11:36:52 +0800 Subject: [PATCH 6/6] docs: Clear update entry --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 808cc3c0..3c20e0aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,3 @@ -- Add: Support `ansible` and `ansible-jinja` languages and fix final fallback of yaml glob patten [#1179](https://github.com/redhat-developer/vscode-yaml/pull/1179) - ### 1.19.1 - Fix: Revert change that modified user settings on each launch [#1157](https://github.com/redhat-developer/vscode-yaml/issues/1157) - Fix: QuickFix to replace value with integer/number appears blank and doesn't work [#1116](https://github.com/redhat-developer/yaml-language-server/issues/1116)