title: VS Code: How to convert snippet placeholder to uppercase or lowercase?
body: <p>In VS Code, the docs for creating <a href="https://code.visualstudio.com/docs/editor/userdefinedsnippets" rel="noreferrer">user defined snippets</a> mentions some <a href="https://code.visualstudio.com/docs/editor/userdefinedsnippets#_grammar" rel="noreferrer">Grammar</a> which includes options for <code>/upcase</code>, <code>/downcase</code>, and <code>/capitalize</code>, but I can't figure out how to use it.</p>
  
  <p>I'm using the latest version of VS Code: <code>Version 1.25.0</code> on Mac.</p>
  
  <p>It seems like this snippet should convert the value of the placeholder to uppercase and to lowercase after typing it and hitting tab, but it doesn’t:</p>
  
  <pre><code>"test": {
      "prefix": "test",
      "body": "${1} -&gt; ${1:/upcase} ${1:/downcase}"
  },
  </code></pre>
  
  <h2>Flow and Expected Result</h2>
  
  <ol>
  <li>type <code>test</code></li>
  <li>hit <kbd>tab</kbd> to get the snippet.</li>
  <li><p>type <code>Asdf</code> to result in:</p>
  
  <pre><code>Asdf -&gt; Asdf Asdf
  </code></pre></li>
  <li><p>hit <kbd>tab</kbd> to get expected result of:</p>
  
  <pre><code>Asdf -&gt; ASDF asdf
  </code></pre></li>
  </ol>
  
  <h2>Current Result</h2>
  
  <pre><code>asdf -&gt; asdf asdf
  </code></pre>