Skip to content

Conversation

gerhardol
Copy link
Member

Follow up to #11276

Proposed changes

Several manual changes, type alias, indentations, casing
A few IDE0090 was addressed too (that appeared after applying IDE0008

A few occurrences with anonymous types remains

I have not reviewed the changes (other than my manual overrides), it compiles and started up.

Test methodology

Compile

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

@ghost ghost assigned gerhardol Oct 17, 2023
Several manual changes.
A few IDE0090 was addressed too.
@gerhardol gerhardol force-pushed the feature/var-to-type-pt2 branch from 9670bdc to a7b3362 Compare October 17, 2023 22:57
Copy link
Member

@RussKie RussKie left a comment

Choose a reason for hiding this comment

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

+0

@vbjay
Copy link
Contributor

vbjay commented Oct 18, 2023

I would then update editor config file to be at least a warning if not an error if you are taking this stance fully.

Copy link
Member

@mstv mstv left a comment

Choose a reason for hiding this comment

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

👍

@@ -248,11 +248,11 @@ public void Error_raised_via_event_and_not_marked_as_handled_faults_task()

Exception ex = new();

var loadTask = ThreadHelper.JoinableTaskFactory.RunAsync(() => _loader.LoadAsync(
Microsoft.VisualStudio.Threading.JoinableTask loadTask = ThreadHelper.JoinableTaskFactory.RunAsync(() => _loader.LoadAsync(
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Microsoft.VisualStudio.Threading.JoinableTask loadTask = ThreadHelper.JoinableTaskFactory.RunAsync(() => _loader.LoadAsync(
using Microsoft.VisualStudio.Threading;
JoinableTask loadTask = ThreadHelper.JoinableTaskFactory.RunAsync(() => _loader.LoadAsync(

Copy link
Member Author

Choose a reason for hiding this comment

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

Also did this change in a general way, fixing IDE0001

@gerhardol
Copy link
Member Author

I would then update editor config file to be at least a warning if not an error if you are taking this stance fully.

Will change this to warning. Error is not seen in AppVeyor builds.
At least this will simplify for those of us contributors that do not have the habit to scan adjacent lines for var.
But will do that after this PR.

@gerhardol gerhardol force-pushed the feature/var-to-type-pt2 branch from d40663f to 8df953a Compare October 18, 2023 21:58
@gerhardol
Copy link
Member Author

Would like to merge this tomorrow to avoid merge conflicts - most other prs are affected by #11276 anyway.

@RussKie
Copy link
Member

RussKie commented Oct 19, 2023 via email

@gerhardol gerhardol merged commit 89962d9 into gitextensions:master Oct 19, 2023
@gerhardol gerhardol deleted the feature/var-to-type-pt2 branch October 19, 2023 11:36
@ghost ghost added this to the vNext milestone Oct 19, 2023
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.

4 participants