TimeMachine — Your project's flight recorderSee what happened between a passing test or build and a later failure. TimeMachine also keeps local command history, file saves, checkpoints, and coding time in one project timeline. Install from the VS Code Marketplace · Getting started · Report a bug Free to use · VS Code 1.93+ · No account required · Preview release TimeMachine helps you answer practical questions: What did I work on? Which command failed? What changed since it last passed? How much time did I label as my own coding or AI-assisted work?
Product screenshots use illustrative data from an example project. Coding time, directly in the sidebarChoose My coding or AI-assisted in the Coding Time panel. Switch modes as you work, pause when finished, and review Today, 7 days, or All time. Expand the daily breakdown to see both modes for each of the past seven calendar days. The timer counts while the VS Code window is focused. It pauses while unfocused and starts paused after reloading VS Code. Modes are labels you select; TimeMachine does not detect AI authorship of individual edits.
Searchable terminal command historyFind an earlier command by its text, folder, terminal, or result. See running, passed, failed, and unknown results, with exit codes and duration where available. Copy command retrieves the command text. View in graph brings its surrounding project activity into view. Busy days keep routine commands together: Git runs collapse into a Git commands group, and repeated commands from the same tool form their own groups. Expand a group to inspect every run. Test/build results, dependency installs, running commands, and failures stay visible. Searching shows matching commands individually. The activity graph opens in compact view; use Compact view to switch back to larger cards.
Commands must run in a shell-integrated terminal inside an open project. Start a new integrated terminal after installation. External terminals and commands run before activation are not captured. Inspect the changes before a failureRun a test or build such as Select a failed command to see files saved since the previous passing run of that command in the same project. Compare available before/after snapshots or restore an earlier version into the editor for review. Without an earlier passing run, TimeMachine suggests the latest preceding save. Dashed links are timing clues, rather than proof of the cause. Try the repeatable failure example. Use TimeMachine: Create Checkpoint to save up to 200 eligible source files locally, then TimeMachine: Compare With Checkpoint to open a built-in VS Code diff for a chosen file. TimeMachine: Show Session Summary reports activity since this extension session started, including tests/builds, passes/failures, checkpoints, current branch, and the latest Last Known Good. Project context and local activity reportsThe sidebar and graph show the opened folder's name and full path. Browse nested project folders, filter activity by folder or time range, and use the arrow keys to browse events. Older opening records also show the current project folder name; newer records explain whether the folder was added or the extension started with it open. Export the selected project's retained activity and daily coding totals as JSON or CSV, directly from the sidebar, graph, or Command Palette. Reports contain command text and paths; saved source contents and snapshot files are excluded. Report export is independent of the graph's current filters. Get started in three steps
To install the local release, open Extensions → … → Install from VSIX, choose Useful commands
Privacy and practical limitsTimeMachine stores its records in VS Code's extension storage. It does not upload your activity, add analytics, require an account, or create Git commits. Remote-workspace storage follows the extension host. Read the data and privacy details.
Frequently asked questionsDoes TimeMachine automatically track AI coding? You select My coding or AI-assisted. It tracks the time spent in the mode you choose while VS Code is focused; it does not analyze edits or connect to an AI provider. Why are my commands missing? Use a new integrated terminal inside an open project. Run TimeMachine: Check Setup and check terminal shell integration troubleshooting. Does this replace Git? TimeMachine records local activity and available saved-file snapshots. It does not create commits, import Git history, or provide a backup service. Can I clear my recorded history? The graph offers confirmed deletion for an event, a project's commands, or all activity and time totals for that project. Project source files are not deleted. Is it open source? The repository is public, and the unmodified extension is free to use. Modification and redistribution require permission under the source license. Support and developmentReport a bug or request a feature · Troubleshooting · Development guide · Changelog · Publishing |


