[vscode] 스니핏 만들때 수정항목(변수) 선택하게 하기
테스느 하는데 약간 다른것 같은데.
스니핏 만들때 위쪽에 설명이 있습니다.
$1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
이대로 해주면 됩니다. 탭키를 눌렀을때 순서는 $0 부터 시작을 해주면 됩니다.
위와 같이 변수나 특정 부분을 수정할 수 있게 하는 방법에 대한 것입니다.
* 참고자료
https://code.visualstudio.com/docs/editor/userdefinedsnippets#_variables
https://stackoverflow.com/questions/41191054/using-tm-selected-text-in-my-custom-snippets