Toolbar Variables - Subroutines

chris dal 21 Reputation points

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


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?


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

Accepted answer
  1. Tianyu Sun-MSFT 14,551 Reputation points Microsoft Vendor

    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,

    • 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 additional answers

Sort by: Newest