snakemake / snakemake-lang-vscode-plugin

Language support and snippets for Snakemake workflows (Snakefile, *.smk) for Visual Studio Code and Apache Theia.
MIT License
13 stars 13 forks source link

Fix auto closing quotes for raw & f-strings #6

Closed calebthomas259 closed 2 years ago

calebthomas259 commented 2 years ago

Currently, when I type r" in a Snakefile, then VS code doesn't automatically add the second " . But, when I manually type this second " , then VS code performs auto-closing on it (so I end up with three double quotes, like r""").

This is a bit annoying, but it can be fixed by adding r" to the list of characters in autoClosingPairs (and similarly for f" and b").

Cheers!