Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Descriptor UpdaterNew to Visual Studio Code? Get it now.
Descriptor Updater

Descriptor Updater

sza

|
2 installs
| (0) | Free
При сохранении *.js файла обновляет поле ModifiedOnUtc в соседнем descriptor.json. При откате изменений восстанавливает descriptor.json из git.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Descriptor Updater

VS Code extension that automatically updates ModifiedOnUtc in descriptor.json when a nearby .js file is saved, and reverts it when changes are undone.

How it works

  • On save of any *.js file, looks for descriptor.json in the same directory.
  • If the .js file has uncommitted changes (git) → updates ModifiedOnUtc to current UTC unix timestamp.
  • If the .js file has no changes (reverted) → restores descriptor.json to its git state.

Expected descriptor.json format:

{
  "Descriptor": {
    "UId": "...",
    "Name": "...",
    "ModifiedOnUtc": "\/Date(1762427921000)\/"
  }
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft