-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Exclude localize files from newline check and remove trailing newlines from templatestrings.*.json #64911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: javiercn <6995051+javiercn@users.noreply.github.com>
…te.json files Co-authored-by: javiercn <6995051+javiercn@users.noreply.github.com>
|
@copilot var filesWithoutNewlineEnding = new List(); This diff should be undone. The changes for adding new lines to all the |
…s from templatestrings.*.json files Co-authored-by: javiercn <6995051+javiercn@users.noreply.github.com>
Co-authored-by: javiercn <6995051+javiercn@users.noreply.github.com>
Done in commits f7359d7 and 3d7e32e. Updated NewlineEndingTest.cs to exclude .template.config/localize/ files from the newline check, and removed trailing newlines from all 350 templatestrings.*.json files. |
javiercn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undo the deletion of all the template.json files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot Undo the delete of this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restored in commit b35f514.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot Undo the delete of this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restored in commit b35f514.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot Undo changes to this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted to original state in commit b35f514.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot Undo changes to this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted to original state in commit b35f514.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot Undo the delete of this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restored in commit b35f514.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Undo this change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted in commit b35f514.
…leted Co-authored-by: javiercn <6995051+javiercn@users.noreply.github.com>
Restored all template.json files in commit b35f514. |
javiercn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot wasn't able to review any files in this pull request.
|
/ba-g |
Undo newline-related changes from PR #64829
Description
PR #64829 added trailing newlines to auto-generated localization files and included them in newline validation tests. This PR reverts only those specific newline-related changes while preserving all other improvements from that PR.
Changes:
NewlineEndingTest.csto exclude.template.config/localize/directory files from newline validation checks, as these are auto-generated localization filestemplatestrings.*.jsonfiles in.template.config/localize/directories across Web.ProjectTemplates, Web.ItemTemplates, and Web.Client.ItemTemplatesAll changes from PR #64829 are preserved:
template.jsonfiles across Web.ProjectTemplates, Web.ItemTemplates, and Web.Client.ItemTemplatesUsingToolTemplateLocalizerconfiguration in all template project.csprojfilesShared/BlazorTemplateTest.csandShared/TestOutputLogger.cstest helper classesThe changes restore the original state where auto-generated localization files are excluded from newline validation and do not have trailing newlines.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.