jsynowiec / vscode-insertdatestring

An extension for Visual Studio Code that provides a configurable command for inserting the current date and time
MIT License
63 stars 14 forks source link

Can I call this from a snippet? #1

Closed Tranberry closed 8 years ago

Tranberry commented 8 years ago

I'm a total vs-code n00b, if this is a silly question please tell me.

I'm trying to make a snippet add some code and the current datetime, as I need to keep track of things in a unorthodox way.

jsynowiec commented 8 years ago

Hi, thanks for asking. Unfortunately, there's no way to do this right now. I've explained this and proposed a workaround in the answer on Stack Overflow: http://stackoverflow.com/a/38859575/6103920 and there is a feature-request for vscode for this functionality: https://github.com/Microsoft/vscode/issues/10561