2017-11-21 3 views
0

은 내가 니펫 위치에 위치 $ 1에 입력되는 뭐죠 반복 할 수 있는지 알고 싶은 조각 본체에 지정된 위치에 무엇을 입력되는 것을 반복은 다음과 같습니다 :vscode 조각이 :

"BootstrapCol": { 
     "prefix": "BSCol", 
     "body": [ 
      "<div class="col-$1">$0</div><!-- ./col-{REPEAT WHAT IS BEING TYPED HERE} -->" 
     ], 
     "description": "Create a Bootstrap Grid col Markup" 
    } 

그렇다면, 어떻게?

답변

2
"<div class=\"col-${1}\">$0</div><!-- ./col-${1} -->" 
+0

멋진데. 고맙습니다! – darksoulsong