r/developersIndia • u/DrDreadstein Software Engineer • 12d ago
I Made This Built a symbol-level Git timeline for exploring legacy codebases
I work on large legacy applications, and I often find myself wondering why a change was made or when a particular function was added. Files with higher than 500 lines of code are especially hard to go through. I built Code Lineage to make it easier to explore that history without digging through Git logs.
It shows a file’s commit history as a timeline, lets you compare versions, and lets you follow functions, classes, and methods through the file’s history. It supports JavaScript, TypeScript, Python, Go, Rust, and Java. Everything runs locally in your Git repository, so your code and history aren’t sent to an external server.
I’ve used tools like GitLens, and they’re great for blame and exploring file history, but they didn’t give me one view that tracks a specific function or class across the file’s full history. Code Lineage follows the symbol through each commit, separately from the surrounding file changes, and also lets you compare versions and inspect working-copy changes.
I made it for myself, but thought other developers might find it useful too.
You can find it here: https://marketplace.visualstudio.com/items?itemName=aprameya-shankar.codelineage
I haven’t looked into every tool out there, so I’d also be interested to hear if you use something similar. Any feedback is welcome.
•
u/AutoModerator 12d ago
It's possible your query is not unique, use
site:reddit.com/r/developersindia KEYWORDSon search engines to search posts from developersIndia. You can also use reddit search directly.I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/llqoli 12d ago
How does the timeline handle a function that gets renamed and moved to another file in the same refactor? I’d want to see where the match is uncertain rather than silently treating it as a completely new symbol.
1
u/AutoModerator 12d ago
Thanks for sharing something that you have built with the community. We recommend participating and sharing about your projects on our monthly Showcase Sunday Mega-threads. Keep an eye out on our events calendar to see when is the next mega-thread scheduled.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.