【VS Code】在VisualStudio Code中设置eclipse快捷键

作为一个重度eclipse患者,vs code纵有千万好有些快捷键还是很想延用eclipse的。

【Preferences】–>【Keyboard Shortcuts】–>【For advanced customizations open and edit keybindings.json

// Place your key bindings in this file to overwrite the defaults 
[ 
{ "key": "alt+/", "command": "editor.action.triggerSuggest","when": "editorTextFocus" }, 
{ "key": "ctrl+d", "command": "editor.action.cutLines","when": "editorTextFocus" }, 
{ "key": "ctrl+alt+down","command": "editor.action.copyLinesDownAction", "when": "editorTextFocus" }, 
{ "key": "ctrl+alt+up", "command": "editor.action.copyLinesUpAction", "when": "editorTextFocus" }, 
{ "key": "shift+alt+r","command": "editor.action.rename","when": "editorTextFocus" }, 
{ "key": "ctrl+shift+c","command": "editor.action.commentLine","when": "editorTextFocus" }, { "key": "ctrl+d","command": "editor.action.deleteLines","when": "editorTextFocus" }, { "key": "ctrl+k","command": "editor.action.addSelectionToNextFindMatch","when": "editorFocus"},
{ "key": "alt+shift+2","command": "workbench.action.splitEditor"}, 
{ "key": "ctrl+shift+f","command": "editor.action.format","when": "editorTextFocus"}
]

你可能感兴趣的:(Visual,Studio,Code,工具)