我使用具有绑定功能的javascript代码段。
我在下面有此代码:
{
"key": "alt+c",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus",
"args": {
"snippet": " const $TM_CURRENT_WORD = $1"
}
},
如果我键入box
,然后按alt + c,我得到...
box const box =
但是我期望
const box =
我该如何实现?
box
文本,然后选择alt