Skip to content

Commit c436a85

Browse files
docs: update changelog for PR #30
1 parent 63c9d05 commit c436a85

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This Changelog uses the [Keep a Changelog](http://keepachangelog.com/) structure
1313
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.
1414
- Updated @types/vscode package to 1.110.
1515
- Removed the temporary `LineComment` type and `LineCommentConfig` interface, and removed the references in configuration file.
16-
<!-- end -->
16+
<!-- end -->
1717

1818
### Changed
1919

@@ -25,6 +25,14 @@ This Changelog uses the [Keep a Changelog](http://keepachangelog.com/) structure
2525
- 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.
2626

2727
- Improved performance and event handling to prevent memory leaks by properly disposing of old comment configurations.
28+
<!-- end -->
29+
30+
- Refactored configuration class ([#30](https://github.com/yCodeTech/auto-comment-blocks/pull/30)) by @yCodeTech
31+
- 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).
32+
33+
- Replaced repetitive code for adding custom single-line comment languages with a new private method `addCustomSingleLineLanguages`, reducing duplication and improving maintainability.
34+
35+
- Replaced `var` with `let` for variable declarations in several places to align with modern best practices.
2836
<!-- end -->
2937

3038
## [1.1.14](https://github.com/yCodeTech/auto-comment-blocks/releases/tag/v1.1.14) - 2026-02-23

0 commit comments

Comments
 (0)