Skip to content
New issue

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

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

Already on GitHub? # to your account

Shortcuts for actions added via editor.addAction don't show up in the Command Palette #386

Closed
alexdima opened this issue Mar 1, 2017 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug
Milestone

Comments

@alexdima
Copy link
Member

alexdima commented Mar 1, 2017

editor.addAction({
	id: 'my-unique-id',
	label: 'My Label!!!',
	keybindings: [monaco.KeyMod.CtrlCmd | monaco.KeyCode.F10],
	contextMenuGroupId: 'navigation',
	contextMenuOrder: 2.5,
	run: function(ed) {
		console.log("i'm running => " + ed.getPosition());
	}
});
  • Open Command Palette:
    image

image

@alexdima alexdima added the bug Issue identified by VS Code Team member as probable bug label Mar 1, 2017
@alexdima alexdima added this to the v0.8.x milestone Mar 1, 2017
@alexdima alexdima self-assigned this Mar 1, 2017
alexdima added a commit to microsoft/vscode that referenced this issue Mar 1, 2017
…itor.addAction don't show up in the Command Palette
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 29, 2019
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

1 participant