question

ErichQuade-9278 avatar image
0 Votes"
ErichQuade-9278 asked ErichQuade-9278 commented

Single Procedure displayed

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.

vs-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ErichQuade-9278
I did not find the setting you mentioned in Visual Studio.
What does "Single Procedure displayed" mean? Can you provide more detailed information?

0 Votes 0 ·

1 Answer

Viorel-1 avatar image
0 Votes"
Viorel-1 answered ErichQuade-9278 commented

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.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.



Thanks I will use this as the old way is no longer an Option. Thank you for your reply.

Cheers

0 Votes 0 ·