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

Stylistic cleanup of some solution explorer code #74806

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

CyrusNajmabadi
Copy link
Member

Cleaning this up before some upcoming refactoring (to ensure we no longer load AnlayzerReferences within VS).

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner August 19, 2024 17:15
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Aug 19, 2024
@@ -5,29 +5,19 @@
using System.ComponentModel;
Copy link
Member Author

Choose a reason for hiding this comment

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

view with whitespace off.

{
// Construction of BulkObservableCollection requires the main thread
Copy link
Contributor

Choose a reason for hiding this comment

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

// Construction of BulkObservableCollection requires the main thread

Is this not something needing checked anymore?

Copy link
Member Author

Choose a reason for hiding this comment

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

i just don't care :)

return new SourceGeneratedFileItemSource(item, _workspace, _asyncListener, _threadingContext);
}
[Export(typeof(IAttachedCollectionSourceProvider))]
[Name(nameof(SourceGeneratedFileItemSourceProvider)), Order]
Copy link
Contributor

Choose a reason for hiding this comment

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

Order

Definitely a nit, but I'm curious why this is preferred. I assume it's because there is a relation between this attributes, but it seems easier to miss the OrderAttribute in this form.

Copy link
Member Author

Choose a reason for hiding this comment

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

yes. that's basically it. (imo, they should have been merge din the first place :)).

Copy link
Contributor

@ToddGrun ToddGrun left a comment

Choose a reason for hiding this comment

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

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants