Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative command discoverability issue #8533

Closed
kieferrm opened this issue Jun 29, 2016 · 3 comments
Closed

Alternative command discoverability issue #8533

kieferrm opened this issue Jun 29, 2016 · 3 comments
Assignees
Labels
ux User experience issues

Comments

@kieferrm
Copy link
Member

Testing #8197.

  • VSCode Version: 6/29
  • OS Version: Mac

I experimented with the following package.json.

{
    "name": "name",
    "description": "description",
    "author": "author",
    "version": "1.0.0",
    "publisher": "kieferrm",
    "engines": {
        "vscode": "^1.0.0"
    },
    "dependencies": {},
    "contributes": {
        "commands": [
            {
                "command": "rudi",
                "title": "Rudi Now",
                "category": "Category 1"
                // "icon": {
                //  "dark": "darkRudi.png",
                //  "light": "lightRudi.png"
                // }
            },
            {
                "command": "blitzen",
                "title": "Blitzen Now",
                "category": "Category 1"
            }
        ],
        "menus": {
            "editor/context": [
                {
                    "command": "rudi",
                    "group": "myGroup",
                    "when": "editorHasSelection"
                }
            ],
            "explorer/context": [
                {
                    "command": "rudi",
                    "group": "navigation@1"
                }
            ],
            "editor/title": [
                {
                    "command": "rudi",
                    "group": "navigation@2",
                    "alt": "blitzen"
                }
            ]
        }
    }
}

When I want to use the alternative command, I first need to hover over the action and then I can press Option/Alt to see the alternative.

For exploring the UI it would be more intuitive if both sequences work:

  1. Hover then press Option/Alt
  2. Keep Option/Alt pressed and hover of menu actions
@jrieken jrieken added the ux User experience issues label Jun 30, 2016
@jrieken
Copy link
Member

jrieken commented Jun 30, 2016

@bgashler1 ideas?

@bgashler1
Copy link
Contributor

bgashler1 commented Jun 30, 2016

I agree with @kieferrm 's approach--if we decide to keep the alt key approach.

We might also consider trying (just an idea) showing alternate commands for any area that is focused and/or hovered over when the Alt key is pressed (i.e. if you are focused in an editor group, any time the key is pressed you'd see the alternate commands).

This could be distracting each time you press Alt for say multi-cursor, but we seldom have alternate commands, and this may help with discoverability. I don't think people are holding down the alt key and hovering over each command to explore our UI, so this may help.

@jrieken
Copy link
Member

jrieken commented Aug 30, 2016

Closing as it is now working both sequences alt + hover and hover + alt

@jrieken jrieken closed this as completed Aug 30, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ux User experience issues
Projects
None yet
Development

No branches or pull requests

3 participants