From c58c320aeef54a2dd1c528f19db7a606b31d5c82 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 15 Mar 2026 02:18:05 +0000 Subject: [PATCH 1/3] docs: update changelog for PR #26 --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1df92b0..c5752bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ All notable changes to this extension will be documented in this file. This Changelog uses the [Keep a Changelog](http://keepachangelog.com/) structure. +## [Unreleased] + +### Fixed + +- Fixed update vscode types package and clean up now unused line comment types ([#26](https://github.com/yCodeTech/auto-comment-blocks/pull/26)) by @yCodeTech + + VScode updated their types to include the LineComment typings and released 1.110 of @types/vscode package. So our temporary custom `LineComment` type and `LineCommentConfig` interface is now redundant. + - Updated @types/vscode package to 1.110. + - Removed the temporary `LineComment` type and `LineCommentConfig` interface, and removed the references in configuration file. + + ## [1.1.14](https://github.com/yCodeTech/auto-comment-blocks/releases/tag/v1.1.14) - 2026-02-23 This release focuses on improving the code quality, maintainability and readability of the code. There are no new features or breaking changes in this release, but it includes various fixes from the previous pre-release. From 63c9d057d1ce1a22c38a304bf42c284f31da16fe Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 19 Apr 2026 17:08:50 +0000 Subject: [PATCH 2/3] docs: update changelog for PR #29 --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5752bb..4c25cad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,18 @@ This Changelog uses the [Keep a Changelog](http://keepachangelog.com/) structure VScode updated their types to include the LineComment typings and released 1.110 of @types/vscode package. So our temporary custom `LineComment` type and `LineCommentConfig` interface is now redundant. - Updated @types/vscode package to 1.110. - Removed the temporary `LineComment` type and `LineCommentConfig` interface, and removed the references in configuration file. + + +### Changed + +- Refactored extension activation and performance improvements ([#29](https://github.com/yCodeTech/auto-comment-blocks/pull/29)) by @yCodeTech + - Refactored the `activate` function to set up the logger first, initialize extension data and configuration. + + - Ensured that development environment variables are only loaded when not in production mode, i.e. in development or testing modes. + + - Consolidated multiple configuration change handlers into a single handler that checks for a list of settings requiring extension reload. If any are changed, a single reload prompt is shown using the new `showReloadMessage` helper function, reducing code duplication. + + - Improved performance and event handling to prevent memory leaks by properly disposing of old comment configurations. ## [1.1.14](https://github.com/yCodeTech/auto-comment-blocks/releases/tag/v1.1.14) - 2026-02-23 From c436a856011ec510a2ec7bf6cfaa89e750dba170 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 19 Apr 2026 21:52:13 +0000 Subject: [PATCH 3/3] docs: update changelog for PR #30 --- CHANGELOG.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c25cad..84864b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ This Changelog uses the [Keep a Changelog](http://keepachangelog.com/) structure VScode updated their types to include the LineComment typings and released 1.110 of @types/vscode package. So our temporary custom `LineComment` type and `LineCommentConfig` interface is now redundant. - Updated @types/vscode package to 1.110. - Removed the temporary `LineComment` type and `LineCommentConfig` interface, and removed the references in configuration file. - + ### Changed @@ -25,6 +25,14 @@ This Changelog uses the [Keep a Changelog](http://keepachangelog.com/) structure - Consolidated multiple configuration change handlers into a single handler that checks for a list of settings requiring extension reload. If any are changed, a single reload prompt is shown using the new `showReloadMessage` helper function, reducing code duplication. - Improved performance and event handling to prevent memory leaks by properly disposing of old comment configurations. + + +- Refactored configuration class ([#30](https://github.com/yCodeTech/auto-comment-blocks/pull/30)) by @yCodeTech + - Extracted the logic for determining the appropriate Blade or HTML comment style into a new private method `getBladeOrHtmlComments`, simplifying the public API and improving clarity. The `setBladeComments` method now only sets the configuration and no longer returns values based on an `onStart` flag (the flag was removed in favour using the new private method directly). + + - Replaced repetitive code for adding custom single-line comment languages with a new private method `addCustomSingleLineLanguages`, reducing duplication and improving maintainability. + + - Replaced `var` with `let` for variable declarations in several places to align with modern best practices. ## [1.1.14](https://github.com/yCodeTech/auto-comment-blocks/releases/tag/v1.1.14) - 2026-02-23