You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -283,7 +289,7 @@ This Changelog uses the [Keep a Changelog](http://keepachangelog.com/) structure
283
289
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.
284
290
- Updated @types/vscode package to 1.110.
285
291
- Removed the temporary `LineComment` type and `LineCommentConfig` interface, and removed the references in configuration file.
286
-
<!-- end -->
292
+
<!-- end -->
287
293
288
294
### Changed
289
295
@@ -295,15 +301,15 @@ This Changelog uses the [Keep a Changelog](http://keepachangelog.com/) structure
295
301
- 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.
296
302
297
303
- Improved performance and event handling to prevent memory leaks by properly disposing of old comment configurations.
298
-
<!-- end -->
304
+
<!-- end -->
299
305
300
306
- Refactored configuration class ([#30](https://github.com/yCodeTech/auto-comment-blocks/pull/30)) by @yCodeTech
301
307
- 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).
302
308
303
309
- Replaced repetitive code for adding custom single-line comment languages with a new private method `addCustomSingleLineLanguages`, reducing duplication and improving maintainability.
304
310
305
311
- Replaced `var` with `let` for variable declarations in several places to align with modern best practices.
0 commit comments