Skip to content

Conversation

@datacute
Copy link
Owner

@datacute datacute commented Jul 27, 2025

This pull request introduces updates to the AdditionalTextConstantGenerator project, including a dependency upgrade, improvements to code generation templates, and versioning updates. These changes aim to fix issues with multi-line constants and enhance maintainability.

Dependency Updates:

  • Updated the Datacute.IncrementalGeneratorExtensions package from version 1.0.0 to 1.0.2 in AdditionalTextConstantGenerator.csproj.

Code Generation Improvements:

  • Refactored Templates.cs by splitting the StringConstantTemplate into two templates: StringConstantDocCommentTemplate for doc comments and a simplified StringConstantTemplate for the constant declaration itself.

@datacute datacute merged commit 2c45452 into main Jul 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants