在keybindings.json文件中添加如下代码:
{ "key": "ctrl+enter", "command": "cursorEnd", "when": "editorTextFocus" }
保存后就可以按ctrl+enter跳至行尾了。 (其实默认直接按End键既可以了)
更多快捷键指令可以去vscode官网查看:https://code.visualstudio.com/docs/getstarted/keybindings
(转自https://blog.csdn.net/GaoShang_Up/article/details/106633525)