From c58e62d081e89b3663e2493dac765c52da13cc09 Mon Sep 17 00:00:00 2001 From: Kilian Tyler Date: Thu, 29 Feb 2024 19:04:19 -0500 Subject: [PATCH] chore: version bump & changelogs --- CHANGELOG.md | 6 ++++++ README.md | 13 +++++++++++++ package.json | 6 +++++- 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9790374..a5dcbcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to the "kubernetes-yaml-formatter-x" extension will be docum Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. +## 2.0.0 (29 Feb 2024) + +Ansible is now a targetable format! + +Also this exension will set itself as the default for ansible files the same way that it does for yaml. (You can disable this) + ## 1.4.0 (29 Feb 2024) Hello from a day that doesn't exist! diff --git a/README.md b/README.md index 68e03e6..38f90cb 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,19 @@ It makes format yaml on save default to `true`, you can disable it: } ``` +## Default Language settings + +```json +"[yaml]": { + "editor.defaultFormatter": "kiliantyler.kubernetes-yaml-formatter-x", + "editor.formatOnSave": true +}, +"[ansible]": { + "editor.defaultFormatter": "kiliantyler.kubernetes-yaml-formatter-x", + "editor.formatOnSave": true +} +``` + ## Config Precidence ``` diff --git a/package.json b/package.json index 27f4d9e..63d1308 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Kubernetes YAML Formatter X", "icon": "images/icon.png", "description": "An even better YAML formatter for DevOps like Kubernetes, Ansible, CI/CD, etc.", - "version": "1.4.0", + "version": "2.0.0", "publisher": "kiliantyler", "repository": { "url": "https://github.com/kiliantyler/kubernetes-yaml-formatter-x.git", @@ -124,6 +124,10 @@ "[yaml]": { "editor.defaultFormatter": "kiliantyler.kubernetes-yaml-formatter-x", "editor.formatOnSave": true + }, + "[ansible]": { + "editor.defaultFormatter": "kiliantyler.kubernetes-yaml-formatter-x", + "editor.formatOnSave": true } } },