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

Sort unimported items from System.* ahead of other unimported items #67083

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

genlu
Copy link
Member

@genlu genlu commented Feb 28, 2023

Fix #67081

@genlu genlu requested a review from a team as a code owner February 28, 2023 00:21
// Note the additional space as prefix to the System namespace,
// to make sure items from System.* get sorted ahead.
private const string OtherNamespaceSortTextFormat = "{0} {1}";
private const string SystemNamespaceSortTextFormat = "{0} {1}";
Copy link
Member

Choose a reason for hiding this comment

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

lol

@genlu genlu enabled auto-merge March 1, 2023 22:49
@genlu genlu merged commit 670e404 into dotnet:main Mar 1, 2023
@ghost ghost added this to the Next milestone Mar 1, 2023
@RikkiGibson RikkiGibson modified the milestones: Next, 17.6 P2 Mar 2, 2023
@genlu genlu deleted the ImportCompletionSort branch March 6, 2023 19:44
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.

Intellisense "Show Items From Unimported Namespaces" Sort Order Leads To Unwanted Using Directives
4 participants