In Visual Studio Code open File->Preferences->Keyboard Shortcuts, find the command you want, right-click it and Copy Command Id. eg.: workbench.action.tasks.runTask