How to insert current date time in vscode?

前端 未结 7 1754
旧时难觅i
旧时难觅i 2020-12-24 01:27

Does anyone know of a way that I can insert the current date & time in a visual studio code by snippets?

I have looked docs but did not get any information abou

7条回答
  •  无人及你
    2020-12-24 01:39

    The env variable TM_FILENAME will fill the title with the file name automatically.

    For example:

    "title: ${1:$TM_FILENAME_BASE}"
    

提交回复
热议问题