Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Auto Time StampNew to Visual Studio Code? Get it now.

Auto Time Stamp

lpubsppop01

|
4,260 installs
| (10) | Free
Update timestamp in file content on save
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Auto Time Stamp

Build status

A Visual Studio Code extension that update time stamp in file content when saving document.

Features

When saving document:

  • Update last modified time field
  • Fill birth time field by file time stamp if it is empty

Each of the fields will be detected with condition of settings. By default settings, lines like the following will be detected:

// Created: 2018/02/04 12:24:41
// Last modified: 2018/02/09 11:41:41

If this extension does not work, please check the followings:

  • The Line Limit setting is 5 lines from the beginning of the file by default, so it may be too small for your file.
  • There is also the setting of the target file name (Filename Pattern), and .vscode/settings.json is ignored by default.
    • The default value changed in version 0.0.5. If you have been using 0.0.4 or earlier and have changed this setting, please check it.
  • This extension does not work if your VS Code Auto Save setting is afterDelay.

Download

vscode-auto-timestamp Latest Build - AppVeyor

Author

lpubsppop01

License

zlib License

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft