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

Add keymaps the top-level Preferences menu #15159

Closed
kieferrm opened this issue Nov 8, 2016 · 9 comments
Closed

Add keymaps the top-level Preferences menu #15159

kieferrm opened this issue Nov 8, 2016 · 9 comments
Assignees
Labels
plan-item VS Code - planned item for upcoming
Milestone

Comments

@kieferrm
Copy link
Member

kieferrm commented Nov 8, 2016

Add keymaps the top-level Preferences menu

@kieferrm kieferrm added the plan-item VS Code - planned item for upcoming label Nov 8, 2016
@kieferrm kieferrm added this to the November 2016 milestone Nov 8, 2016
@chrmarti chrmarti reopened this Nov 22, 2016
@chrmarti
Copy link
Contributor

@sandy081 FYI: I've added a Keymaps entry to the Preferences menu, the command palette and the extension viewlet's context menu. When a keymap extension is installed and another keymap extension is still enabled the user is asked if the old keymap extension should be disabled.

@sandy081
Copy link
Member

Thanks for letting me know. I will update it in our standup today.

@sandy081
Copy link
Member

@chrmarti Keymaps action is not showing any key map extensions. Is it because the keymaps category is not yet available in Market place? And are there plans to get this available in this milestone?

@sandy081
Copy link
Member

sandy081 commented Nov 23, 2016

@chrmarti I talked about this addition in the stand up today and there was some feedback from the team.

Why can't be implemented / shown as how themes are shown?
What are the recommended key maps?

Mentioning @Microsoft/vscode to provide direct feedback.

@joaomoreno
Copy link
Member

IMO, this should be implemented the same way as the themes. Keymaps should not be mutually exclusive, in terms of extension enablement: it should just be that the user picks with some UI like the theme switcher.

Also, we want to go away from curated lists of extensions. Introducing a keymapExtensionTips section in our product.json is the wrong way to go. Isn't there a category or keyword we can search for in the Marketplace to find all keymaps? The theme picker presents an option to find more themes in the Marketplace and queries it with category:themes. Shouldn't we do the same here?

@chrmarti
Copy link
Contributor

There is a category:keymaps, but that list can quickly grow beyond what we want to offer a new user. That's why we use a curated list.

We've discussed the picker as an alternative, but went the Extension viewlet's route to start with.

@joaomoreno
Copy link
Member

joaomoreno commented Nov 23, 2016

A curated list will increase our maintenance overhead and make it hard for newcomers to be seen. The problem of having too many extensions is solved by sorting the results by popularity, which is the default anyway.

Extension disablement is a heavy-weight action: it requires a workbench reload. At the same time, I don't think it should be used as an implementation detail for what is basically an option picker. We should be consistent with icons and themes here instead of introducing a new concept.

chrmarti added a commit that referenced this issue Nov 24, 2016
@Tyriar
Copy link
Member

Tyriar commented Nov 26, 2016

@joaomoreno 👍 for not introducing another curated list. Sorting all "keymap" extensions by popularity will likely yield very similar results.

@chrmarti
Copy link
Contributor

Removing the curated list depends on having a better sorting criteria for extensions (#16156). On using a picker instead of the extensions viewlet without having to reload the workbench: This can't currently be done with extensions and would either need that as a depending feature or be done without extensions which would make everything baked-in which isn't the direction we want to take. Closing for November.

@egamma egamma mentioned this issue Dec 20, 2016
56 tasks
@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
plan-item VS Code - planned item for upcoming
Projects
None yet
Development

No branches or pull requests

6 participants