2016-11-14 132 views

回答

3

我發現這個擴展工作https://marketplace.visualstudio.com/items?itemName=ow.vscode-subword-navigation

有趣的是,你需要單獨配置每個組合:

{ 
    "key": "alt+left", 
    "command": "subwordNavigation.cursorSubwordLeft", 
    "when": "editorTextFocus" 
}, 
{ 
    "key": "alt+right", 
    "command": "subwordNavigation.cursorSubwordRight", 
    "when": "editorTextFocus" 
}, 
{ 
    "key": "alt+shift+left", 
    "command": "subwordNavigation.cursorSubwordLeftSelect", 
    "when": "editorTextFocus" 
}, 
{ 
    "key": "alt+shift+right", 
    "command": "subwordNavigation.cursorSubwordRightSelect", 
    "when": "editorTextFocus" 
}, 
{ 
    "key": "alt+backspace", 
    "command": "subwordNavigation.deleteSubwordLeft", 
    "when": "editorTextFocus" 
}, 
{ 
    "key": "alt+delete", 
    "command": "subwordNavigation.deleteSubwordRight", 
    "when": "editorTextFocus" 
} 
+0

但是,Visual Studio或Visual Studio代碼? –

+1

請忽略我以前的評論。當然是VS碼。完全是我的不好。事實上,我只是測試它,它的工作花哨。謝了哥們! –