Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,37 @@ 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.
<!-- end -->

### 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.
<!-- end -->

- 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.
<!-- end -->

## [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.
Expand Down
Loading