Toolbar Variables - Subroutines

chris dal 21 Reputation points
2021-11-17T08:23:50.937+00:00

Hi to all,
i am new to Studio (i work vb6) and i have a question.

149960-vstudio.jpg

I have a new form with 2 dim variables and 1 subroutine.
At right combobox (red) how to remove show the variables (a1, b1) and show only subroutines (subRoutine1) and others?

thanks

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

Accepted answer
  1. Tianyu Sun-MSFT 27,431 Reputation points Microsoft Vendor
    2021-11-17T13:18:54.997+00:00

    Hi @chris dal ,

    Welcome to Microsoft Q&A forum.

    This is called Navigation bar, in Visual Studio, it appears when you edit code. In a partial class, members defined outside the current code file will be disabled(appear in gray).

    There is no single setting in VS to let it only show specific variables.

    If you really need to change it, I may recommend you suggest this feature on our Developer Community.

    Besides, this feature can be disabled(enabled) from Tools > Options… > Text Editor > Basic > General > Navigation bar.

    Best Regards,
    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.
    0 comments No comments

0 additional answers

Sort by: Most helpful