title: How can I edit ansible-vault encrypted files in visual-studio-code?
body: <p>I am using the command line tool ansible-vault and try to edit an encrypted file.</p>
  
  <p><code>EDITOR=code ansible-vault edit test.txt</code></p>
  
  <p>It is expected that code opens with the decrypted content in the editor. After saving ansible-vault should decrypt the (changed) buffer. Works much like editing a git commit message.</p>
  
  <p>However, the buffer is empty. And changing/saving doesn't do much to the file.</p>
  
  <p>I also tried it with vim and subl, which both worked as expected. What do I have to do to use visual-studio-code for the task?</p>