- VS Code: multi line keybindings
- keybindings.json
{
"key": "cmd+shift+f7",
"command": "editor.action.insertSnippet",
"args": {
"snippet": "<< \" ${TM_SELECTED_TEXT}:\" << ${TM_SELECTED_TEXT} "
},
"when": "editorTextFocus && !editorReadonly"
},
- before
std::cout
aaa
bbbcccdd
ccceebags
<< std::endl;
- after
std::cout
<< " aaa:" << aaa
<< " bbbcccdd:" << bbbcccdd
<< " ccceebags:" << ccceebags
<< std::endl;