Single Procedure displayed

Erich Quade 21 Reputation points
2021-07-19T19:39:54.85+00:00

I am using VS 2017 and I wanted to ask is there a setting so that in your code window you display only the procedure you are working on. I get every procedure I have touched even if there is no code in the sub it is this long list. I seem to remember in days gone bye that you only saw the very procedure you were working on. You could select any other procedure simply by clicking the drop down arrow and then code away as much as you wish.
I have looked in the options but the best I found was the separator turn it on or off. Any help would be greatly appreciated.

Cheers.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,110 questions
{count} votes

Accepted answer
  1. Viorel 117.3K Reputation points
    2021-07-20T08:05:35.243+00:00

    It seems that such feature was used in the past. Currently it is available in VBA (in Excel, for example). There is a “Default to Full Module View” option.

    According to https://social.msdn.microsoft.com/Forums/en-US/de49c6c7-9f58-4a0c-b65f-d47ca125d5c1, try selecting “Collapse to Definitions” from menu, EDIT, Outlining (or use the corresponding shortcut key). Then expand the required function by clicking [+] at left side, or select the function from the dropdown list.


0 additional answers

Sort by: Most helpful

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.