LoginSignup
5
3

More than 3 years have passed since last update.

vscodeのMarkdownで ` backquoteが自動で閉じるようにする

Last updated at Posted at 2019-07-08

変更するファイル

$installDir/resources/app/extensions/markdown-basics/language-configuration.jsonの中身を書き換えます。

windowsの場合C:\Users\%username%\AppData\Local\Programs\Microsoft VS Code$installDirになっていました。

変更内容

autoClosingPairsに ` を付け足します。

"autoClosingPairs": [
    {
        "open": "`",
        "close": "`"
    },
]

同様に任意の言語でautoClosingを追加する事ができます。
なお、vscodeのUpdateでファイルの場所及び中身が変更される可能性があります。
追記:Updateで変更した中身が元に戻りました、毎回変更するの面倒!

参考

How to enable automatic quote wrapping when pressing " or ' with selected text in Markdown and text files?

5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3