Run it on save instead of manually
rbfonbuena opened this issue · comments
Can this be integrated to something like a script that will automatically run it on an onSave event, instead of manually?
I'm new to VSCode and currently using Sublime where I have a python script that replaces a tag you place anywhere in your file, i.e. {@timestamp}, which is replaced by a date stamp or updates it if it exists whenever the file is saved.
Was wondering if this is possible on VSC using your extension.
Since vscode 1.20 you can now use some new snippet variables. Please see release notes. Unfortunately there is not timestamp variable, but you can compose a formatted date instead.