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

Time Capsule

John Susek

|
2,112 installs
| (1) | Free
Welcome to the future, and the past.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Time Capsule

Welcome to the future, and the past.

This extension interacts with Time Machine on MacOS to give you the ability to see previous versions of files you are working on.

Great for:

  • Source code you thought you lost
  • Previous config file values
  • Text data (JSON, SQL) changes
  • Anything you can open!

Screen Shot 2019-09-28 at 8 51 04 PM-1

Installation

  • Enable Time Machine in System Preferences.

  • Select Full Disk Access in the Privacy tab of the Security & Privacy preference pane, and add Code to the list of applications which are allowed Full Disk Access.

58cec9053286eb73163c980d5eb1975a _Screen+Shot+2019-09-28+at+1 22 46+AM

Usage

Activate the Time Capsule panel, by clicking its icon in the Activity Bar, or with the "Show Time Capsule" command in the Cmd-Shift-P palette.

When you open a file for editing, Time Capsule will check local APFS snapshots, along with any Time Machine backups on external storage. You do not need an external drive connected to use the local snapshots feature.

Screen Shot 2019-09-28 at 6 42 14 PM-1

Click one of the dates in the sidebar to see a read-only copy of the file from that date. You can also display a diff by clicking on the diff icon you'll see when hovering over a date.

Snapshots are created (and removed) automatically by the OS, but you can manually make a snapshot if you want, with the camera icon in the snapshot panel. Making a snapshot doesn't guarantee it will stay around forever, it will get cleaned up by the OS automatically following the normal Time Machine rules.

Donate

If you've found this extension useful, please consider donating.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft