-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Solution explorer should be smarter about sorting file names. #52920
Comments
dotnet-issue-labeler
bot
added
Area-IDE
untriaged
Issues and PRs which have not yet been triaged by a lead
labels
Apr 26, 2021
@jasonmalinowski @davkean Do you know who this should route to? |
tag @lifengl. I've run into the same issue, what if we automatically nested these under the core file? Currently we just do alpha sorting, with zero smarts. |
jinujoseph
added
Concept-Continuous Improvement
Area-External
and removed
untriaged
Issues and PRs which have not yet been triaged by a lead
Area-IDE
labels
Apr 28, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In cases like this:
The third item should actually be sorted first, as with normal .net naming here, it's considered the most important part. In other words, we shoudl think of file names as being broken into dotted pieces, where the extension is always last, and the pieces shoudl be compared. In this case, as the third item has no second piece, it comes before all the effectively nested items which do.
This should work regardless of how many layers of nesting there are.
I have no idea who owns this. It might be roslyn, it might be project system, it might be platform. But i'm opening here in case it is us.
The text was updated successfully, but these errors were encountered: