Skip to content

Clean up loc strings#56559

Merged
jmarolf merged 4 commits intodotnet:release/dev17.0from
jmarolf:ECUI-strings-cleanup
Sep 23, 2021
Merged

Clean up loc strings#56559
jmarolf merged 4 commits intodotnet:release/dev17.0from
jmarolf:ECUI-strings-cleanup

Conversation

@jmarolf
Copy link
Copy Markdown
Contributor

@jmarolf jmarolf commented Sep 20, 2021

ran some tooling to find duplicate loc strings. There are actually a lot duplication in the codestyle layer that I will follow up on

@jmarolf jmarolf requested a review from a team as a code owner September 20, 2021 22:34
@ghost ghost added the Area-IDE label Sep 20, 2021
@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

image

I'm curious why the directio here goes from Editor to VS.

yield return WhitespaceSetting.Create(CSharpFormattingOptions2.WrappingPreserveSingleLine, CSharpVSResources.Leave_block_on_single_line, editorConfigOptions, visualStudioOptions, updaterService, FileName);
yield return WhitespaceSetting.Create(CSharpFormattingOptions2.WrappingKeepStatementsOnSingleLine, CSharpVSResources.Leave_statements_and_member_declarations_on_the_same_line, editorConfigOptions, visualStudioOptions, updaterService, FileName);
}
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what caused this big add?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't an add this is a move. Github just doesn't know how to display moves correctly. I would review this PR one commit at a time

@jmarolf
Copy link
Copy Markdown
Contributor Author

jmarolf commented Sep 21, 2021

I'm curious why the directio here goes from Editor to VS.

Because all the strings live in the VS layer. I could work to move all the Tools-> options code down to editor but that does not really make sense to me

Copy link
Copy Markdown
Contributor

@CyrusNajmabadi CyrusNajmabadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@jmarolf jmarolf merged commit 3ac0b6a into dotnet:release/dev17.0 Sep 23, 2021
@jmarolf jmarolf deleted the ECUI-strings-cleanup branch September 23, 2021 21:02
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.

2 participants