Skip to content

Document Outline for C#: selected sort is lost when switching document #63859

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


Repro:

  • Open a C# class.

  • Of course, make sure Document Outline window is opened.

  • Problem Initial port and addition of README.md #1: whichever sort is currently in effect in the outline is not visible and none of the 3 icons (Sort by Name, Sort by Order, Sort by Type) is selected :
    image

  • Select a sort (e.g. Sort by Name).

  • Open another C# class.

  • Problem Update links in README.md with ported wiki content #2: the previously selected sort in the outline has been lost and the previously selected sort icon is no longer selected. Furthermore, it looks like Sort by Order is silently used.

Context:

  • Visual Studio Professional 2022 Preview, v17.4.0 Preview 1.0.

Original Comments

Feedback Bot on 9/5/2022, 01:23 AM:

(private comment, text removed)


Original Solutions

(no solutions)

Metadata

Metadata

Assignees

Labels

Area-IDEIDE-NavigationNavigation and searchNavigation-Document Outlinelabel to groups issues reported for the document outline featureResolution-FixedThe bug has been fixed and/or the requested behavior has been implemented

Type

No type
No fields configured for issues without a type.

Projects

Status

Complete

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions