0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【vsnotes】vscodeのメモ用プラグインvsnotesの設定メモ

Posted at

個人的な設定のメモです。

vsnotesとは

vscodeエディタ上のコマンドで、サクッとメモファイルを作成できる便利なプラグインです。
便利な割には使っている人は割と少ないかも?

参考記事

下記の設定で「任意のタイトル」+「作成日時」が作成されるようになります。

「settings.json」を出して変更する手順

  1. Shift + Ctr(Command) + P でコマンドパレットを開き、「setting」と入力します。
  2. 「Preferences: Open User Settings」と補完されるので、Enter キーで確定します。
  3. 設定右上の「{}」マークをクリックし、setting.json を開きます。次の内容を追記して、保存します。
settings.json
{
    "vsnotes.noteTitleConvertSpaces": " ",
    "vsnotes.defaultNoteTitle": "{title} {dt}.{ext}",
    "vsnotes.tokens": [
        {
            "type": "datetime",
            "token": "{dt}",
            "format": "mm_YYYY-MM-DD",
            "description": "Insert formatted datetime."
        },
        {
            "type": "title",
            "token": "{title}",
            "description": "Insert note title from input box.",
            "format": "Untitled"
        },
        {
            "type": "extension",
            "token": "{ext}",
            "description": "Insert file vsnotes.",
            "format": "txt"
        }
    ],
    
}

補足

ちなみに、{ext}の部分をmdからtxtに変更すると、txtの拡張子のメモ帳が作成されるようになります。

0
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
0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?