All notable changes to this extension will be documented in this file.
This Changelog uses the Keep a Changelog structure.
1.2.1 - 2026-09-07
- Changed README to include missing information about the new
logLevelsetting, and added a major changes section for v1.2.0.
1.2.0 - 2026-09-07
-
Added new icon artwork and differentiate the extension from the original (#40) by @yCodeTech
This pull request introduces a new and improved icon artwork with an update to the marketplace banner colour, and updates the extension description. These changes tries to prevent further confusion between the original and forked extensions, as demonstrated in #36 and kevb34ns#47, by establishing differentiating factors in the marketplace.
Visual changes:
- Replaced the old flat icon with an improved 3D icon artwork to differentiate the extension from the original (and it's other forked extensions), ensuring it's distinctive but also familiar.
- Changed the
galleryBanner.colorinpackage.jsonto use the dark blue#01092dfrom the new icon for improved appearance in the marketplace.
Other changes:
- Updated the
descriptionfield inpackage.jsonto clarify that block comment completion is now available for all auto-supported languages, not just officially supported ones. - Added
.envto.vscodeignoreto ensure environment files are excluded from VS Code extension packaging during testing. - Added
icon.psdto.gitignoreto prevent committing the Photoshop file of the icon.
Documentation changes:
- Added the new icon into the
README.mdtitle so the new logo/icon is visible on the docs too which creates a better distinction in the repo. - Updated the fork info to specify who publishes/maintains the extension, so that it's explicit that this extension is owned by me.
-
Added logging levels (#42) by @yCodeTech
This pull request introduces a configurable logging level to the extension, allowing users to control the verbosity of log output. It also improves logging practices by redacting sensitive or irrelevant information from logs, restructures some logging logic for clarity and safety, and enhances the handling of document events and JSON parsing. The most important changes are:
Logging Level Configuration and Handling:
- Added a new
auto-comment-blocks.logLevelsetting topackage.json, allowing users to set the logging level (debug,info,error,off) for the extension. - Refactored the
Loggerclass insrc/logger.tsto support log levels, including methods to set the log level, check if a message should be logged, and always emit "important" messages regardless of log level (ie. the extension name and version). - Updated extension activation logic in
src/extension.tsto initialize and update the logger's log level based on user configuration, and to log extension metadata on activation.
Configuration and Settings Integration:
- Extended the
Settingsinterface and related types to include the newlogLevelproperty, ensuring the log level is accessible throughout the extension.
Logging Data Redaction:
- Enhanced the
ExtensionDataclass to redact irrelevant or sensitive information (likepackageJSON) from logs, ensuring only necessary details are logged.
Event Handling Improvements:
- Improved the logic for handling document open events to avoid unnecessary reconfiguration for virtual documents and clarified logging messages.
Utility and Error Handling Enhancements:
- Refactored JSON file reading and parsing in
src/utils.tsto separate parsing logic and improve error handling, making it easier to maintain and debug.
- Added a new
-
Added redaction of username in logging paths (#45) by @yCodeTech
This pull request introduces a new warning log level and improves logging safety by redacting OS usernames in paths from log output. It also refines the handling of extension discovery paths and updates log level descriptions for clarity.
Logging improvements:
- Added a new
warnlog level, including support in the logger, log level comparisons, and thelogLevelsutils constant. - Implemented automatic redaction of the current OS username from all log messages and data to prevent accidental leaking of sensitive information. If the username cannot be determined, a warning is logged once per session while avoiding infinite recursion, and further redaction attempts are skipped.
Configuration and API updates:
- Updated log level descriptions in
package.jsonto reflect the newwarnlevel and clarify which messages are included at each level. - The
getAllExtensionDiscoveryPathsmethod now returns a newMapto prevent external mutation of internal state.
Other changes:
- Minor code formatting and comments for clarity in configuration and extension data classes.
- Added a new
-
Added support for auto commenting on closed linked issues after release (#50) by @yCodeTech
This PR adds automation to comment on closed issues that are referenced in a release's changelog entry, notifying users that their issues have been resolved and released. The main changes include introducing a new script to identify and comment on relevant issues, and integrating this script into the publish workflow.
Automation for commenting on referenced closed issues:
-
Added
comment-on-linked-issues.mjsscript which introduces several functions:-
commentOnLinkedIssuesis the main function that calls all other functions to extract the closing issues from the changelog version entry, and uses the Octokit GitHub API to create a comment on the issue to let the author know that the resolution of the issue has been published in a new release. -
extractChangelogEntryextracts the changelog section for a specified version. -
commentExistschecks if a comment already exists for the specific version on the issue, using the Octokit GitHub API to paginate through the issue's comments and filters the comments that matches the criteria.
-
Publish CI enhancements:
-
Updated
publish-extensionCI to run the new script in a new step after publishing, ensuring users are notified on closed issues that are included in the release. -
Updated the permissions to include
issues: write.
Other improvements:
- Added a new
matchMarkdownLinksparam in thefindClosingKeywordReferencesutils function to optionally match already linked references via Markdown links. This is specifically for usage in thecommentOnLinkedIssuesfunction of thecomment-on-linked-issues.mjsscript.
-
-
Added linkify issue/pr reference numbers with proper markdown links (#48) by @yCodeTech
This PR adds linkify functionality in the update changelog CI script to find all issue/PR references like
#NNin the changelog section it's adding, resolve the GitHub URLs, and linkify them as markdown links like[#NN](<url>).Linkify functions:
-
The
linkifyReferencesfunction is the main linkify function that calls all other intermediate functions and replaces the bare references with the markdown link. -
findBareReferencesfinds all bare issue or pr references (#NN) that aren't already linked within specified text, and collect the unique numbers. -
findClosingKeywordReferencesis a utils function in the newutils.mjsscript that finds all bare issue-closing keyword references likeclose(s/d) #NN,fix(es/ed) #NN,resolve(s/d) #NN, and collect the unique numbers. -
resolveClosingKeywordReferenceUrlresolves the URL for issue-closing keyword references. It only needs to construct the URL from the context and reference number without an API call since closing keywords always references issues. -
resolveBareReferenceUrlresolves the URL for all other bare references, using the GitHub REST API to lookup the reference number to determine whether it's an issue or a pull request, and retrieves the URL from the API.
Changelog CI enchancements:
-
Updated the changelog CI permissions to include
issues: read. -
Updated various CI steps to checkout and copy the new
utils.mjsscript.
Other improvements:
-
Moved various variables from the
update-changelog.mjsscript into the newutils.mjsscript for better organisation of cross-file variables. -
Moved various global variables in the
check-changelog-exclusions.mjsscript to be local variables in thecheckExclusionsfunction as they don't need to be global variables since they're not used anywhere else.
-
-
Added ability to auto-update the language definitions on settings change (#53) by @yCodeTech
This pull request introduces several improvements to how language comment block definitions are managed and updated in the extension. The most significant changes are the ability to auto update language definitions on settings change without requiring an extension host reload, the caching of configuration files for efficiency, and performance improvements. Below are the most important changes:
Auto-Update Language Definitions:
-
Added a new
updateLanguageDefinitionsmethod toConfiguration, allowing language comment block definitions to be updated at runtime without requiring an extension host reload. -
The extension now listens for changes to relevant configuration settings in the
activatefunction and automatically updates language definitions and reconfigures the comment blocks as needed, removing the pop-up message and the requirement for an extension reload.
Performance Improvements:
-
Accidental cached data mutation prevention and unnecessary disk read improvements:
-
The
setLanguageConfigurationmethod now deep-clones language configurations before modification to prevent accidental mutation of cached data. -
The default multi-line language configuration (
default-multi-line-config.json) and the languages to skip (skip-languages.jsonc) files are now read once during initialisation and cached for later use, improving efficiency and reducing redundant disk reads on every loop iteration.
-
-
Writing of Language Definition Files and Logging Enhancements:
-
The extension no longer writes the current language definitions to JSON files in
production, they are only written indevelopmentandtestingmodes for easier debugging and quick reference during development, and preventing unnecessary file writes in production. -
Refactored the debug logging in the
logDebugInfomethod to use the existing cached language definitions instead of reading from files, improving efficiency.
-
These changes collectively improve the maintainability, performance, and experience of the extension.
-
-
Refactored logging environment variables (#43) by @yCodeTech
This pull request updates the way environment and extension path information is logged in the
Configurationclass, streamlining the debug output and focusing on relevant environment variables. The most important changes are:Environment and Extension Path Logging:
- Removed the logging of the extension discovery paths from the
logDebugInfomethod as these are also logged inextension.ts, so they're technically redundant in the method. - Added logging of the
App Rootand filtered environment variables (only those starting withVSCODE_) underEnv Varsin the environment details, making the debug output more focused and relevant inlogDebugInfomethod.
Removal of dumping system environment variables into the logs
- Removed logging of the dumped system environment variables as they could potentially have some sensitive information like environment passwords, auth keys, etc. Majority of it wasn't relevant to debugging anyway.
- Removed the logging of the extension discovery paths from the
-
Refactored changelog ci scripts (#47) by @yCodeTech
This PR refactors various things in the changelog CI scripts: updates docblocks, changes various functions to
async, adds new params derived from the workflow itself, and reorders the functions for readability.Styling enhancements:
- Updated docblocks.
- Re-ordered functions to be in a logical and readable order (order of usage from top-bottom).
- Added
prettierandprettier-plugin-multiline-arraysdependencies, and added new option to the prettier config file to allow the vscode prettier extension to force wrapping of arrays onto multiple lines, for readability. This prevents prettier from defaulting to formatting all array elements on to 1 long single line.
Function improvements:
- Changed
formatPRDescriptionandbuildEntryfunctions to beasync, and their function calls nowawaitthem. - Added new params (
contextandgithub) toupdateChangelog,buildEntry, andformatPRDescriptionfunctions, so we can access the context of the workflow, and use the GitHub API via Octokit. The params are passed from the function call in the "Update Changelog" CI step. - Split the return statement in the
buildEntryfunction into multiple variables for ease and readability.
-
Removed test suite and dependencies. (#51) by @yCodeTech
This PR removes the entire test suite and dependencies because it is not used, and the tests are only example files.
-
Removed
@types/mochaandmochadependencies. -
Removed the
testscript from package.json. -
Removed the
Run Extension Testsconfiguration from the launch.json. -
Removed the test files:
extension.test.tsandindex.ts.
-
-
Fixed PR list is in numerical order in the update changelog CI (#52) by @yCodeTech
This PR fixes the changelog CI to sort the PR list in numerical order in the existing update changelog PR body, ensuring that PR numbers will always be in numerical order no matter the order they were added. This is so that if a CI run fails and a concurrent run succeeds, the PR number won't be in the wrong order when re-running the failed run.
1.1.17 - 2026-07-25
-
Fixed JSON parsing with trailing commas enabled (#37) by @yCodeTech
Fixes #36.
The issue
This extension uses jsonc-parser to make sure the syntax of the JSON is correct and not malformed. During parsing of JSON files, the parser will throw a
ValueExpectederror when it reaches a comma and unexpectedly encounters a closing bracket straight after. Trailing commas are disabled in the parser by default as it's not standard in JSON or JSONC. So it expects some kind of value after all commas.The fix
Luckily, the parser has an option to enable trailing commas. So the fix is to just pass the
allowTrailingComma: trueoption to the parser in thereadJsonFileutil function. This will then skip over and prevent theValueExpectederror for trailing commas.
Copilot Summary
This pull request improves the robustness and clarity of JSON file parsing in the
src/utils.tsutility functions. The key changes enhance error handling and allow for more flexible JSON syntax.JSON parsing improvements:
- The
readJsonFilefunction now allows trailing commas in JSON files by setting theallowTrailingComma: trueoption in thejsonc.parsecall. This makes the parser more permissive and user-friendly.
Error reporting enhancements:
- The
constructJsonParseErrorMsgfunction now includes both the raw error code (in brackets) and a more readable, space-separated error name in its output. This provides clearer and more informative error messages for debugging JSON parsing issues.
- The
1.1.16 - 2026-06-03
-
Fixed ENOENT error with the new VScode commit hash directory for Windows built in extensions in WSL (#33) by @yCodeTech
This pull request improves the way the extension discovers and handles the Windows built-in extensions path when running inside WSL (Windows Subsystem for Linux). It introduces robust detection logic to support both legacy and new VS Code installation paths, adds error handling and user notifications for failures, and ensures that discovery failures are only surfaced once per session/activation.
Fixes #32.
Windows built-in extensions path resolution improvements:
- Added logic in
ExtensionDatato detect both the legacy and new hashed commit-based install paths for built-in extensions under WSL, including directory scanning and caching of results to avoid repeated disk access. - Added error handling and user notification for failures to resolve the built-in extensions path, including logging and a one-time warning message with an option to open the output channel.
- Introduced new constructor options and internal flags in
ExtensionDatato control whether discovery path failures should notify the user, preventing duplicate warnings from multiple instances.
Integration and usage updates:
-
Updated the extension activation in
extension.tsto pass the new constructor parameter, enabling user notification for the main extension instance only. -
Updated
Configurationlogic to handle cases where the Windows extensions paths are not resolved, preventing errors by falling back to empty arrays.<!-- end -->
- Added logic in
1.1.15 - 2026-04-19
-
Fixed update vscode types package and clean up now unused line comment types (#26) by @yCodeTech
VScode updated their types to include the LineComment typings and released 1.110 of @types/vscode package. So our temporary custom
LineCommenttype andLineCommentConfiginterface is now redundant.- Updated @types/vscode package to 1.110.
- Removed the temporary
LineCommenttype andLineCommentConfiginterface, and removed the references in configuration file.
-
Refactored extension activation and performance improvements (#29) by @yCodeTech
-
Refactored the
activatefunction 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
showReloadMessagehelper function, reducing code duplication. -
Improved performance and event handling to prevent memory leaks by properly disposing of old comment configurations.
-
-
Refactored configuration class (#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. ThesetBladeCommentsmethod now only sets the configuration and no longer returns values based on anonStartflag (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
varwithletfor variable declarations in several places to align with modern best practices.
-
1.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.
View the full changelog.
-
See fixes from 1.1.13 Pre-release 1
-
Fix typings and introduce interfaces to improve type safety, code maintainability and readability via PR #20.
1.1.13 Pre-release 1 - 2025-12-08
- Fixes various errors brought up in comments in #14 via PR #17
- Fixes
Invalid Symbolparsing error due to the file being encoded with a Byte Order Mark (BOM). Removed the BOM and explicitly read files as UTF-8 encoding. - Fixes
Value Expectedparsing error due to the parser erroring on empty files. Added an extra option to prevent erroring and allow empty files.
- Fixes
1.1.12 - 2025-12-05
-
The extension crashes on startup with the
Cannot convert undefined or null to objecterror. This is caused by theObject.keysinConfiguration::setLanguageConfigDefinitionsmethod because the config JSON file failed to parse in thereadJsonFileutil function which made the confignull.When the "jsonc-parser" package encounters a problem parsing the JSON via its
parsefunction, it just returnsnullinstead of erroring.-
Fixed by adding proper error handling, logging and showing a user error dialog when parse errors occur, directly from
readJsonFilefunction.If errors occur, the error will be thrown from
readJsonFilewhich will fail extension startup and crash, this is to provide easier debugging, instead of waiting for subsequent code that relies on the function from crashing the extension with an unrelated error.
-
1.1.11 - 2025-10-17
-
Fixes yCodeTech/auto-comment-blocks#13
VScode has inconsistencies between it's API and the language configuration JSON files. In the onEnter rules, JSON files have the property
action.indentwhereas the API hasaction.indentAction. When merging the auto-found language config files and the extension's onEnter comment rules, VScode couldn't handle the mixed formats properly, causing the braces to not expand correctly as documented in the issue.Fixed by normalizing the property to the API format and converting it's values.
1.1.10 - 2025-07-21
-
VS Code's
vscode.extensions.allAPI doesn't find any built-in extensions on the Windows-side when running in WSL. It only gets the WSL-installed extensions, which causes the extension not to work at all because the language configuration file is not found.The workaround fix is to manually read the Windows extensions directories when running in WSL and merge them with the WSL-installed extensions.
-
Fixed language support detection to properly respect disabled language settings.
Custom language configurations now correctly check if a language is disabled before applying support, preventing unwanted language activation.
-
Fixed support for languages with multiple extension configuration files by merging their configurations instead of overwriting them, ensuring complete language support. Also improved language configuration merging by properly handling comment configurations.
-
Added the ability to get the all extensions directly from the directory on non-WSL systems (eg. Windows) because VS Code's
extensions.allAPI only gets enabled extensions and doesn't include disabled ones, which could prevent language configs being found.- Removed
vscode.extensions.allAPI call fromfindAllLanguageConfigFilePathsmethod in favour of getting the extensions directly from the directories.
- Removed
-
Added new dependencies:
is-wslfor detecting WSL environments.package-json-typefor TypeScript type definitions of package.json.
-
Added macOS keybinding support (
cmd+shift+m) for the Blade override comments command.
-
Refactored extension architecture with improved separation of concerns.
Major code reorganisation including extraction of utility functions, centralised extension data management, and improved debugging capabilities.
-
Added new
ExtensionDataclass to centralize extension metadata management.This new class provides a clean interface for accessing extension details like ID, name, version, and various system paths, improving code organisation and maintainability.
-
Added new
utils.tsfile with shared utility functions.Extracted common functionality into reusable utility functions including JSON file operations, regex reconstruction, array merging, and data conversion utilities.
-
-
Updated debug logging to provide more comprehensive environment and configuration information. Enhanced diagnostic output now includes detailed extension paths for both WSL and native environments, making troubleshooting easier.
1.1.9 - 2025-07-12
-
Fixes #10
The
lineCommentlanguage config key has changed to be either a string or an object. With the object havingcommentandnoIndentkeys, which was introduced in VS Code's June 2025 release. This breaks the extension when encountering themakefilelanguage, and an error occurs:lineComment.includes is not a function
To fix:
- Added a check to see if the
lineCommentis an object with acommentkey inside, if it does then use the string value of thecommentkey. Otherwise, it will use the string value of thelineComment.
- Added a check to see if the
1.1.8 - 2025-06-19
-
Fixed
Logger::logMessagenot logging regex meta data. When a log's extradebugdata contains aRegExpobject,JSON.stringifycan not convert it to a string, so it just outputs an empty object{}in the Output channel. This is useless for debugging.Fixed by adding a new
Logger::metaReplacermethod to use as a replacer function in theJSON.stringifymethod's replacer arg. This new method will convert all instances ofRegExpto it's string representation ready for output in the channel.
-
Refactor
Logger::logMessageby moving theJSON.stringifycall to a newformatMetamethod. -
Refactored the logging of
debugmeta data objects in theConfiguration::constructormethod:-
Removed all
Object.fromEntriescalls from the debug logging in theConfiguration::constructormethod. -
Added a new
ifcondition in theLogger::metaReplacermethod, to allow allMapobjects to be converted to plain objects viaObject.fromEntries.
This prevents having to wrap multiple variables evaluating to
Mapobjects insideObject.fromEntriesthemselves, like it was done previously. -
-
Added the logging of:
- The extension's user config settings.
- Various VS Code environment info.
- Various System environment info.
This allows for a more complete debugging diagnostic report.
1.1.7 - 2025-06-13
- Added the ability to log debug information to a dedicated
Auto Comment Blockschannel in the Output panel. This is to help diagnose issues quicker.-
Added new
Loggerclass to implement the functionality of the logging info to the Output panel.Uses VScode's
OutputChannelinterface under the hood for logging, and creating the dedicatedAuto Comment BlocksOutput channel.Using this class we can log
info,debug, anderrormessages to the channel. Thedebugmethod can output objects and arrays. -
Added a call to the new Logger class in the main
extensionfile to initialise the logger, and setup the channel. -
Added a
infologger to theonDidOpenTextDocumentevent in the mainextensionfile, to make sure we can identify in the Output when the active language has changed before any other debug info is logged. -
Added the Logger's
disposeLoggermethod call to thedeactivatemethod in the mainextensionfile. -
Added a new private property and a new param in the
constructormethod of theConfigurationclass, to allow the instance of the logger created in the mainextensionfile to be carried over without being re-initialised. -
Added
infologs for the extension id and version to theconstructormethod of theConfigurationclass. -
Changed all
console.logto use the new logger.
-
1.1.6 - 2025-05-01
-
Added the ability to auto-publish to Open VSX Registry as well as VS Code Marketplace upon release (via GitHub Action) as requested in yCodeTech/auto-comment-blocks#5.
-
Added the ability for the extension to automatically create the
auto-generated-language-definitionsdirectory if it doesn't exist.This is because the auto-generated files will no longer be packaged into the .vsix file, therefore the directory won't exist either.
-
Added new
autoGeneratedDirproperty inConfigurationclass to define theauto-generated-language-definitionsdirectory. -
Changed both
singleLineLangDefinitionFilePathandmultiLineLangDefinitionFilePathproperties inConfigurationclass to use the newautoGeneratedDirproperty. -
Changed
writeJsonFilemethod inConfigurationclass to check if theauto-generated-language-definitionsdirectory exists, and to create it if it doesn't. This uses the newautoGeneratedDirproperty.
-
1.1.5 - 2025-03-02
- Fixes an
ENOENT: no such file or directoryerror in yCodeTech/auto-comment-blocks#4. When trying to find the extension's package.json. The file path used the current directory./, which is redundant while using__dirnameas well, and certain OS could interpret the file path/extensions/ycodetech.automatic-comment-blocks-1.1.4/out/src./../../package.jsondifferently, hence the ENOENT error. Fixed by removing the.before the slash.
1.1.4 - 2025-01-06
-
When
singleLineBlockOnEntersetting istrue, and when then cursor is in the middle of the text, eg.// text | text, the comment would not be continued on the next line whenenteris pressed. Therefore the text after the cursor would not be a comment on the new line and be classed as code. This makes commenting tedious when keeping it clean and tidy with max line lengths.Fixed by adding new regex rules to identify when there is text after the cursor. The rules are now merged and duplicates removed instead of just
concating. -
Fixed the known issue: if you enable the
singleLineBlockOnEntersetting, for some languages, including C, C++, Sass - pressingtabimmediately after breaking out of a comment block, will insert a commented line.This seems to only happen in languages without
indentationRules, so it's fixed by adding default indentation rules with empty strings.Note: Using empty strings shouldn't have any side effects, but please report an issue if you have any problems with indentation.
-
Fixed an undocumented change that was part of commit 504ce5b, which changed some regexes within the
handleSingleLineBlockmethod to use the default onEnterRules config regexes. This accessed the items using array indexes. However, adding more regex rules breaks this functionality for theauto-comment-blocks.singleLineBlockkeybinding command and will insert the wrong comment style by accessing the wrong array index.Reverted back to hardcoding these regexes instead, to keep them separated.
1.1.3 - 2024-12-29
Fixed single-line comments onEnter not working when indented.
Single-line comments when indented didn't add new commented lines when pressing enter. Due to more regex patterns not been recognised by VScode internally, and therefore doesn't work properly.
Fixed by reconstructing the regexes for the previousLineText property. Also reconstructed regexes for the remaining config properties: folding and indentationRules.
1.1.1 and 1.1.2 - 2024-12-27
Fixed single-line comments were not inserting new commented lines for any languages when pressing enter (when singleLineBlockOnEnter was set to true). This is caused by an unknown bug when setting configs with vscode.languages.setLanguageConfiguration() and it has regexes in the configs. The regexes weren't been used. By reconstructing the regex before the config is set, it fixes the issue. This also helps when the internal config has some malformed regexes, or regex as strings.
Also, in JavaScript and TypeScript files, pressing tab on an empty line may insert a * on that line. Probably the same bug as above, which fixes it. The above regex fix inadvertently fixes #2
Note: v1.1.1 of the extension was released on the marketplace by mistake without a changelog. The official bug fix is v1.1.2.
1.1.0 - 2024-12-22
A complete overhaul to enable automatic support for all languages that vscode finds internally (via built-in or 3rd party extensions) that has both a language configuration file, and a comments key in the file.
For a full changelog, view the release PR.
- All language configuration files and package.json contribution declaration, in favour of auto-supported languages. So this extension no longer needs to keep adding language support, as the extension does it automatically.
-
Added 3 new settings:
-
multiLineStyleBlocksto add support of multi-line block comment to the specified unsupported languages. -
overrideDefaultLanguageMultiLineCommentsto override the style of multi-line comments for a language for the native vscodeblockCommentcommand. -
bladeOverrideComments, to switch between HTML style<!-- -->comments, and Blade style{{-- --}}comments, when the file is using the Blade language.
-
-
Added a keyboard binding to enable/disable the
bladeOverrideCommentssetting, and a user information message appears to state whether enabled or disabled. -
Added support for
/* */. -
Added an event to reconfigure the comment blocks everytime a document is opened OR the document language has been changed, so that other extensions (that are activated after this one) don't override the language configurations which could disable some of the custom comment blocks (e.g
/*! */). -
Added a config file to define the default multi-line config comments and autoClosingPairs; and a config file to define language IDs the need to be skipped when auto finding the languages to support (because these languages are known not to have any config properties we're interested in.)
-
Added support for double semicolon
;;and double hash##comments.
v1.0.3 - 2022-09-17
- Added support for JavaScript and TypeScript multi-line block comments - a pull request by a-stewart for the original plugin. Fixes issue kevb34ns#27.
- Created a new language config file for Blade to use blade's comments as well as the multi-line block comments
- Updated various language config files to reflect a pull request by a-stewart for the original plugin.
- Added support for protocol buffers - a pull request by jun-sheaf for the original plugin.
- Added support for
//!comments - a pull request by Lucretiel for the original plugin and fixes the issue kevb34ns#25 - Added support for csharp(c#) (using the cpp(c++) config file) - Fixes the issue kevb34ns#41.
- Updated the support for
/*! */comments and including the!on every line.
- Added support for PHP Blade.
Forked by @yCodeTech from here upwards.
- Add multi-line support for Rust, Go
- Add single-line support for YAML
- Add multi-line comment support for Less, Objective-C/C++, and Swift.
- Add single-line comment blocks for most officially supported languages. See README for more information.
- Fix a bug that broke the extension, caused by the previous bugfix.
- Fix bug that that caused every language to have single-line block comments.
- Add single-line blocks for C/C++ (disabled by default).
- Add comment completion for PHP files.
- Add Javadoc-style comments for Groovy files.
- Fixed misspelled filename leading to C functionality breaking.
- Change extension description to include support for new languages.
- Added block comment completion for CSS/Sass files.
- Add QDoc (Qt-style) comment block completion for C and C++.
- Fix major typo that caused an asterisk to be inserted following any indented line.
- Changelog now starts with the latest update rather than the oldest.
- Fixed an issue that caused asterisk insertion and indentation bugs when indenting using an odd number of spaces.
- Changed
galleryBanner.theme, again.
- Changed
galleryBanner.theme.
- Initial release