Skip to content

Disable/grey out/hide command when no file is open in the editor (current is UI/UX anti-pattern) #18

@astrohart

Description

@astrohart

image
Figure 1. The Convert Case command shows up on the Edit, Advanced menu even though no text-based file is currently open and available in the editor.

Issue Summary

The Convert Case command is displayed and not greyed out when there is currently no file open in the Visual Studio editor, even though this should not be the case.

Expected Behavior

When the extension is installed, and there is currently no active text-based document open, the command either should not be visible and/or it should be greyed out.

Steps to Reproduce

  1. Install the extension.
  2. Launch Visual Studio.
  3. Open a Solution if you wish, but make sure there are no document tabs showing, or that there are no text-based or source files currently open in the Editor (i.e., those sorts of files to which this command might apply)..
  4. Click the Edit menu, and then point to Advanced.
  5. The Convert Case command is shown and selectable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions