Trace the complete history of any code snippet — WHO wrote it, WHEN, WHY, and how it evolved.
Select any lines of code, right-click, and instantly see:
| ⏱ Timeline | Every commit that touched those lines, with expandable diffs |
| 🌱 Evolution Story | When the code was born, how many times it changed, and what it looks like now |
| 👥 Authors | Ranked contributors with GitHub links and % ownership |
| 🔗 Related Files | Files that always change alongside yours — hidden coupling revealed |
| 🚨 Risk Insights | Hotspot detection, complexity score, and smart recommendations |
| 🔍 Diff Viewer | Near-selection and full-file diff views per commit |
- Go to Releases
- Download
code-chronicle-0.0.1.zipand extract it — you'll getcode-chronicle-0.0.1.vsix - In VS Code: Extensions panel →
···menu → Install from VSIX... → select the file - Reload VS Code when prompted
# After extracting the .vsix from the .zip:
code --install-extension code-chronicle-0.0.1.vsixgit clone https://github.com/Pranav140/CodeChronicle.git
cd CodeChronicle
npm install
npm run compilePress F5 in VS Code to launch the Extension Development Host.
- Open any file inside a Git repository
- Select one or more lines of code
- Right-click → Show CodeChronicle
- The panel opens to the right — explore the tabs:
Timeline → Author rows with diffs
Authors → Ranked contribution chart
Related → Co-changed files
Tip: Click a commit hash to copy it. Click an author name to open their GitHub profile.
- VS Code 1.80.0 or higher
- A Git repository (the file must be tracked by git)
npm install # install dependencies
npm run compile # one-time TypeScript compile
npm run watch # auto-compile on savePress F5 to open the Extension Development Host.
After editing source files, press Ctrl+R in the host window to reload.
See CONTRIBUTING.md to learn how to contribute.
MIT — see LICENSE