Code ForestGrow a forest from your coding. Code Forest adds its own icon to the Activity Bar (the strip of icons at the side of the window). Click the tree icon to open the forest. Every git branch grows its own forest from the work you actually do: typing, saving, committing and passing tests. Animals move in as the forest grows. When a branch is merged into main, an excavator and a crew of workers clear the forest, leave a "shipped" sign, and your next branch starts on fresh ground. The trees are drawn by code, so every forest is different, and the sky follows your system clock from dawn to dusk to a starry night. How it worksOne forest per git branch. Switch branches and you switch forests. The forests on Trees grow from what you do:
A tree is fully grown at 250 points. At 200 points the next sapling sprouts and takes over, so a busy day grows several trees and a forest never stops getting bigger. Each new tree is a random species: oak, pine, birch, cherry blossom or bamboo. Test runs are recognised from your terminal commands ( Errors become pests. Every error in your Problems panel shows up as a little bug crawling on the tree you are growing. Fix the error and the bug flies away. Pests never hurt a tree. Animals move in on their own as trees finish growing:
They wander, rest, perch in the treetops and sleep at night. Merging clears the forest. When the last commit you made on a branch reaches main (a merge, a fast-forward, or a pull request you have pulled), the view plays a short scene: the excavator and workers arrive, the animals run off, the trees come down, and a signpost reads "feature/login · 14 trees · shipped". The footer counts your shipped forests. Squash merges leave no trace on main, so when the remote branch disappears Code Forest asks whether it was merged. Commands
Settings
The Code Forest view has its own place in the side bar, so it never takes space from your file tree. You can also drag it into the Explorer or into the bottom panel. If your system uses reduced motion, animals stay still and the clearing scene becomes a simple fade. PrivacyCode Forest stores only counts (lines, saves, commits, test runs), commit hashes, and branch and repository names, in VS Code's own extension storage on your machine. It never reads or stores your code, file names or file contents. It makes no network requests and sends no telemetry. Good to know
Development
Press F5 in VS Code to start an Extension Development Host. The "Code Forest" output channel logs what is being counted. LicenseMIT |