Visual Studio 2022, code outlining no longer shows first line of function def

John Richter 21 Reputation points
2022-11-03T13:00:55.69+00:00

When I close up outline on a function, I no longer have ellipsis (3 dotes) at end of first line of function (def statement), but just ellipsis. So I can't read the function name itself, and I prefer earlier behavior. Hopefully the attached screen grabs will make sense as to issue / preferred behavior:

256774-screenshot-2022-11-03-085657.png

Not sure if somehow a change in settings or in system. I don't seem to have problem on another machine set-up (running VS 2022, same build).

Any thoughts? I tried a reinstall, fishing around for setting that might affect it, etc.

Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2022-11-04T10:50:40.8+00:00

    Hi @John Richter ,

    Welcome to Microsoft Q&A!

    You can select the code block after “:” and right click on it to select “Outlining” > Hide Selection.

    Sincerely,
    Anna
    *
    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.


1 additional answer

Sort by: Most helpful
  1. Michael Taylor 60,331 Reputation points
    2022-11-03T14:22:04.877+00:00

    The editor in VS is tied to the language extension that implements it. What language are you using? Have you reported the issue using VS's Report a Problem?


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.