Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.
This repository was archived by the owner on May 8, 2024. It is now read-only.

Gray out (disable) the Start ngrok Tunnel menu item depending on VS state #49

@astrohart

Description

@astrohart

Also, the menu item should really be initial-capitalized, instead of tunnel as the last word of the command, with a lowercase t, it should be uppercase T.

In any event, add an update handler to the command where the Start ngrok Tunnel menu item is disabled if any of the following are true:

(a) Visual Studio is open but no solution is currently loaded
(b) A solution is loaded and there are no Web projects in it

Ideally, there should also be settings via Tools -> Options that allows the user to override this behavior (say, if they are building a console or Windows Sockets app such as for Cybersecurity applications).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions