Skip to content
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

Add file header template editorconfig #9615

Merged
merged 36 commits into from
Aug 3, 2023

Conversation

LeafShi1
Copy link
Member

@LeafShi1 LeafShi1 commented Jul 31, 2023

Proposed changes

  • Add file_header_template to .editorconfig file for .cs and .vb files
  • Change all cs and vb files to use 2-line header

Risk

  • Minimal
Microsoft Reviewers: Open in CodeFlow

Simon Zhao (Beyondsoft Corporation) and others added 16 commits July 25, 2023 15:51
* Port MonthCalendarDesigner to runtime

* Delete unnecessary namespace

* Delete redundant assertions and redundant judgment conditions

* Update MonthCalendarDesigner.cs to use file-scoped namespaces
Fixes #9464
* Fix Cursor.ToString - do not look up user-provided cursors in the well known list.
* Add test 
* Fix WinformsControlsTest not showing System.Drawing.Design editors
…ayed in properties window #5337 (#9570)

Fix items property for multiple checked list boxes should not be displayed in properties window #5337
* Implement ImageListDesigner

* Refactoring ImageListActionList

* Move AssemblyRef to common

* Changes from review

* Few missed changes

* Revert "Move AssemblyRef to common" and add required changes

---------

Co-authored-by: Devendar Reddy Adulla <dreddy@microsoft.com>
merge main into feature/9.0 branch
@ghost ghost assigned LeafShi1 Jul 31, 2023
@LeafShi1 LeafShi1 changed the base branch from main to feature/9.0 July 31, 2023 10:17
@LeafShi1
Copy link
Member Author

LeafShi1 commented Jul 31, 2023

Wait for the build to complete and the Unit tests to pass. So add the draft label.

@ghost ghost added the draft draft PR label Jul 31, 2023
.editorconfig Outdated Show resolved Hide resolved
.editorconfig Outdated Show resolved Hide resolved
SimonZhao888
SimonZhao888 previously approved these changes Aug 2, 2023
@Tanya-Solyanik
Copy link
Member

can I only add template for the cs file?

Sure!

@Tanya-Solyanik
Copy link
Member

Does the VB crash repro locally?

@LeafShi1
Copy link
Member Author

LeafShi1 commented Aug 2, 2023

Does the VB crash repro locally?

No

@LeafShi1 LeafShi1 marked this pull request as ready for review August 2, 2023 09:58
@LeafShi1 LeafShi1 requested a review from a team as a code owner August 2, 2023 09:58
@LeafShi1 LeafShi1 removed the draft draft PR label Aug 2, 2023
Epica3055
Epica3055 previously approved these changes Aug 2, 2023
Tanya-Solyanik
Tanya-Solyanik previously approved these changes Aug 2, 2023
@Tanya-Solyanik
Copy link
Member

@LeafShi1 - Could you please add a comment to .editorconfig that explains why .vb files are excluded. `Bvc.dll crashed in the CI build when this rule is enabled for VB." This can be done in a new PR.

@LeafShi1 LeafShi1 changed the base branch from feature/9.0 to main August 3, 2023 01:14
@LeafShi1 LeafShi1 dismissed stale reviews from Tanya-Solyanik and Epica3055 August 3, 2023 01:14

The base branch was changed.

@LeafShi1
Copy link
Member Author

LeafShi1 commented Aug 3, 2023

@LeafShi1 - Could you please add a comment to .editorconfig that explains why .vb files are excluded. `Bvc.dll crashed in the CI build when this rule is enabled for VB." This can be done in a new PR.

OK, I will add that in next PR

Copy link
Member

@Tanya-Solyanik Tanya-Solyanik left a comment

Choose a reason for hiding this comment

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

Thank you!

@Tanya-Solyanik Tanya-Solyanik added the ready-to-merge PRs that are ready to merge but worth notifying the internal team. label Aug 3, 2023
@LeafShi1 LeafShi1 merged commit 1d7467b into main Aug 3, 2023
9 checks passed
@LeafShi1 LeafShi1 deleted the Add_file_header_template_editorconfig branch August 3, 2023 06:05
@ghost ghost added this to the 8.0 RC1 milestone Aug 3, 2023
@ghost ghost removed the ready-to-merge PRs that are ready to merge but worth notifying the internal team. label Aug 3, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants