title: Visual studio code snippet choices and variables
body: <p>I am writing my own snippet to console.log</p>
  <pre><code>{  
    &quot;Print to console&quot;: {
      &quot;scope&quot;: &quot;javascript,typescript&quot;,
      &quot;prefix&quot;: &quot;debug&quot;,
      &quot;body&quot;: [
        &quot;console.log('${1|[Debug],[Server],[$TM_FILENAME]|}','${2:~Line: $TM_LINE_NUMBER ~ File:$TM_FILENAME}',${3:$TM_SELECTED_TEXT}); //debug&quot;,
        &quot;$4&quot;
      ],
      &quot;description&quot;: &quot;Log output to console&quot;
    }
  }
  </code></pre>
  <p>Everything is ok except instead of file name static text TM_FILENAME is getting displayed in choices for placeholder '$1'
  <code>${1|[Debug],[Server],[$TM_FILENAME]|}</code>.
  How can I make filename to be displayed here?
  Thanks for suggestions</p>