Skip to content

Multiline string handling#49

Merged
HenraL merged 3 commits intomainfrom
multiline-string-handling
Feb 16, 2026
Merged

Multiline string handling#49
HenraL merged 3 commits intomainfrom
multiline-string-handling

Conversation

@HenraL
Copy link
Contributor

@HenraL HenraL commented Feb 16, 2026

This pull request introduces version 1.0.19 of the asperheader extension, focusing on bug fixes related to header processing and description handling. The main improvements are in correctly handling description entries with carriage returns and making header detection more robust, particularly when the header's opening or closing lines are misplaced or missing. Additionally, the update is documented in changelogs and the README, and the version number is incremented.

Bug fixes and header processing improvements:

  • Fixed processing of the description entry to properly handle carriage returns and prepend comments in front of description content. (vscode/asperheader/src/modules/commentGenerator.ts, README.md, CHANGELOG.md) [1] [2] [3]
  • Improved header checking logic to handle cases where the closing line appears before the opening line, and added "grace lines" scanning to find the header closer if the opener is found but the closer is not within the initial scan range. (vscode/asperheader/src/modules/commentGenerator.ts, README.md, CHANGELOG.md) [1] [2] [3]
  • Added localized messages for "grace lines" scanning in multiple languages. (vscode/asperheader/src/modules/messageReference.ts) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]

Versioning and documentation:

  • Updated the extension version to 1.0.19 in package.json and package-lock.json. [1] [2]
  • Added release notes for 1.0.19 in both root and extension CHANGELOG.md files and updated the README to reflect the new fixes. [1] [2] [3]

These changes enhance the reliability of header detection and description handling, and ensure users are informed about the improvements and fixes in the new version.

@HenraL HenraL self-assigned this Feb 16, 2026
@HenraL HenraL merged commit abe0377 into main Feb 16, 2026
2 checks passed
@HenraL HenraL deleted the multiline-string-handling branch February 16, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant