VsCode

应用

vscode extension
vscode remote免密登录

教程

vscode remote免密登录

VSCode
VSCode Python Tutorial
VSCode Editing Code
VSCode USER GUIDE Basic Editing
VSCode Debug
VSCode REMOTE SSH
VSCode Vim
VSCode 个性化配置快捷键

vscode 查看源码快捷键

keybindings.json

// Place your key bindings in this file to override the defaults
[
    //关闭窗口
    { "key": "ctrl+q",        "command": "workbench.action.closeActiveEditor" },
    //添加窗口和移动光标到指定窗口
    { "key": "ctrl+w v",      "command": "workbench.action.splitEditorRight" },
    { "key": "ctrl+w s",      "command": "workbench.action.splitEditorDown" },
    { "key": "ctrl+w h",      "command": "workbench.action.focusLeftGroup" },
    { "key": "ctrl+w l",      "command": "workbench.action.focusRightGroup" },
    { "key": "ctrl+w j",      "command": "workbench.action.focusBelowGroup" },
    { "key": "ctrl+w k",      "command": "workbench.action.focusAboveGroup" },
    { "key": "ctrl+t",      "command": "workbench.action.terminal.toggleTerminal" },
    { "key": "ctrl+e",      "command": "workbench.action.focusActiveEditorGroup" },//光标移动到editor
    //多行选择
    { "key": "shift+k",           "command": "editor.action.insertCursorAbove",
        "when": "editorTextFocus" },
    { "key": "shift+j",         "command": "editor.action.insertCursorBelow",
        "when": "editorTextFocus" },
    //显示注释详情
    { "key": "ctrl+enter",            "command": "toggleSuggestionDetails",
        "when": "suggestWidgetVisible && textInputFocus" },
    //补全提示选择
    { "key": "tab", "command": "-acceptSelectedSuggestion", "when": "suggestWidgetVisible && textInputFocus"},
    { "key": "tab", "command": "selectNextSuggestion", "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"},
    //debug
    { "key": "ctrl+f5",               "command": "workbench.action.debug.restart" },
    //python插件会自动将shift+enter发送给jupyter,禁用jupyter后shift+enter失效,所以要重新配置
    { "key": "shift+enter",           "command": "python.execSelectionInTerminal",
        "when": "editorTextFocus && !findInputFocussed && !python.datascience.ownsSelection && !replaceInputFocussed && editorLangId == 'python'" },

]

setting.json

{
	//禁用jupyter
    "python.dataScience.sendSelectionToInteractiveWindow": false
}
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值