Document outline window is empty

Constantin, Adrian 10 Reputation points
2023-07-17T11:56:40.1066667+00:00

Hello

I am using VS Professional 2022, and the document outline window shows up empty.

IntelliSense is working properly, as autocomplete plus the drop-down list of functions (at the top of the text editor window) are both working as expected.

Is there a way to see the tags list (functions and global declarations) for the current file in a side-panel ?

--
Thank you,
Adrian Constantin

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,406 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 32,781 Reputation points Microsoft Vendor
    2023-07-18T08:02:52.28+00:00

    Hello @Constantin, Adrian,

    Welcome to Microsoft Q&A forum.

    Document Outline window is usually used in conjunction with designer views, such as the designer for a XAML page or a Windows Form designer, or with HTML pages. Are you using the corresponding project templates?

    Is there a way to see the tags list (functions and global declarations) for the current file in a side-panel?

    Does View => Class View meet your requirements? There are also some other windows/Views in VS, you may check if one of them meets your requirements by clicking View/View - Other Windows.

    BTW, I think Navigation bar and Solution Explorer have parts of the feature that you want.

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.