https://code.visualstudio.com/docs/editor/userdefinedsnippets#_choice
${1|one,two,three|}
所以我是片段的新手,我注意到完成选项列表前面的数字是正确显示选项菜单所必需的(如果省略,它会将选项列表填充为文字字符串 - https://github. com/infosec-intern/textmate-yara/pull/29)。
这个号码有什么作用,为什么需要它?(文档没有解释)
是默认选择吗?
谢谢,