Closed rejithtechver closed 6 years ago
This can be done by editing the keybindings.json and adding
{
"key": "ctrl+shift+d",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'cfml'",
"args": {"snippet": "<cfdump var=\"#${TM_SELECTED_TEXT}#\">"}
},
{ "key": "ctrl+shift+o",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'cfml'",
"args": {"snippet": "<cfoutput>#${TM_SELECTED_TEXT}#</cfoutput>"}
}
Is there any way setup shortcuts for
<cfoutput>
(CTRL + SHIFT + O
) and<cfdump>
(CTRL + SHIFT + D
) like we have in Sublime Text?