Skip to content

Run command from Command ID #84011

@amelio-vazquez-reina

Description

@amelio-vazquez-reina

Say I want to invoke a command with a specific command ID. For some commands, like workbench.action.toggleEditorVisibility the command palette does not return any results (e.g. if I type toggleEditorVisibility nothing comes out).

How can I invoke a command by directly typing its command ID?

Note: I opened this issue as a feature request. This is also tracked in this question in SO.

Metadata

Metadata

Assignees

Labels

*questionIssue represents a question, should be posted to StackOverflow (VS Code)menusMenu items and widget issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions