sundgrenView, understand and measure what git repositories contain, and how they compare with each other. When there is more text than anyone can read, it has to be digested in a meaningful way before the details make sense. That was true before, too: when I wrote all my code by hand, I still forgot things I had written, choices I had made and why I made them, what exactly happened at a certain point in time. Nobody can remember everything, and LLMs only amplify the noise. sundgren is a toolkit of personal utilities for making sense of that: where code is, what happened to it, what depends on what, where a text originated and why it was written the way it was. It is built on git, and reads some languages as code for more meaningful comparisons. It is for technical people who do code review. Reviewing in the browser is a drag; sundgren brings it closer to the environment where the code runs, where you can visualize and measure. Historysundgren: Show History draws the branches around a base branch as a vertical map, newest on
top: where each forked and merged, next to the commits in fixed columns. Show local branches
first, recent activity, your own, or those most like a branch, then tick or untick any in the
Branches list. Filter by author and by date (a calendar). Quiet runs of commits are folded
(click ×N). Click a commit's hash to open it on GitHub or GitLab (from the sundgren: Show History With Another Repository… adds the branches of a clone of a related repository (a copy, a fork, a mirror), and marks where the two split and synced.
Containmentsundgren: Show Containment compares every branch with a target branch you pick: how much of
each branch's work is already in the target, and how much of the target's is in it. A branch's
work is what it added since it left the canonical branch (
InspectInspect on a branch shows what is different: every line it added that the target doesn't have, or has edited, next to the target's line, with the changed characters marked. The rest is folded.
Originsundgren: Show Origin says where the file in the editor comes from in another repository: for each commit you pick there (branches, tags), the file its lines are most found in, and how far ahead of the next file it is. Click a row to inspect the file against it line by line. Outlinesundgren: Show Outline shows the file in the editor as sundgren reads it: its functions and classes, and its comments and strings. Buttons and menusEverything sundgren adds to VS Code's own UI says "sundgren:". Each place can be turned off in Settings, under sundgren; the commands are always in the Command Palette.
RepositoriesWith several repositories to choose from (open folders, repositories in folders below them, their
submodules, the active file's), the commands ask which one once and remember it for the workspace.
Languages
Settings
Next
PlatformsLinux (x64, arm64) and macOS (Intel, Apple silicon); the More: documentation, with live demos · source · issues. Apache-2.0. |


