![]() You can define snippets for specific languages. Unfortunately you can't use anything more than tab stops or variables in snippets so you'll have to enter the title and date/time manually. You can specify any valid ISO 8601 format. "insertDateString.format": "YYYY-MM-DD hh:mm:ss", But if you want to change the datetime format, look for insertDateString.format option in user settings. Press ⇧+ ⌘+ I (OS X) or Ctrl+ Shift+ I (Windows and Linux), or open Command Palette by pressing F1 and type Insert DateTime then press Enter.īy default you don't have to set anything. To insert current date and/or time at the cursor position you can: Open Command Palette by pressing F1, type ext install + press Enter and then look for Insert Date String extension. ![]() I have created an extension for you that allows to insert formatted date and/or time string - Insert Date String.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |