jsynowiec / vscode-insertdatestring

An extension for Visual Studio Code that provides a configurable command for inserting the current date and time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems with Insert formated date

majkinetor opened this issue · comments

There are two problems

  1. When you use the command and press ESC, it still outputs date in the editor. It should do that only if I press ENTER

  2. Last command is in vscode is quick to run. When I use "Insert formated date" and edit format, and later rerun last command, it doesn't remember the last format I used so now I either have to change default or edit it each time. It would be good to offer the last format used and this could be tied to file path (so that defaults in config could still have sense). Alternative approach would be to let user defined in config various date formats that could be offered in a list box when running the command and used via hotkeys each.