Vscode support for ~H triple quotes

It’s kind of trivial, but does anyone know of a good way, using vscode, to type the beginning and ending triple quotes required for coding ~H sigils? You can’t just type in one double quote; you always get two of them.

FWIW, I use a user snippet (Command-Control-P > “Configure User Snippets”):

"sigil_H": {
  "scope": "elixir",
  "prefix": "sh",
  "body": ["~H\"\"\"", "\t<div>$0</div>", "\"\"\""]

I wondered about snippets for this. I haven’t used them before. Guess I should start. This works well. Thanks

1 Like