CommandID for 'Debug: evaluate' in Visual Studio Code not found

生来就可爱ヽ(ⅴ<●) 提交于 2020-03-02 12:58:40

问题


I want to add a keyboard shortcut for the command 'Debug: evaluate' in Visual Studio Code. Unfortunately, the command ID for the command 'Debug: evaluate' is not documented. Did someone know where to find the commandId ?


回答1:


editor.debug.action.selectionToRepl is what you are looking for. It will execute the current selected text in the debugger console.

https://github.com/Microsoft/vscode/blob/d2b6bbb46fbdf535e2c96b3e00ac56ac1d427a69/src/vs/workbench/parts/debug/browser/debugEditorActions.ts#L141



来源:https://stackoverflow.com/questions/38898660/commandid-for-debug-evaluate-in-visual-studio-code-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!