Code Replayer
Code Replayer is a Visual Studio Code extension designed to help Git beginners understand code changes through visualized commit histories.
Features
- Visualize Git commit history on an interactive timeline
- Switch between Git branches
- Compare past commits with the selected branch
- Compare any two commits
- Compare two branches
- Display code differences with additions and deletions
- Classify commits by modification type
- Analyze code complexity using Lizard
Requirements
- Visual Studio Code 1.118.0 or later
- Git installed and available in PATH
- Python 3 and Lizard (optional, for code metrics)
To install Lizard:
python3 -m pip install lizard
How to Use
- Open a local Git repository in VS Code.
- Open the Command Palette (Cmd+Shift+P or Ctrl+Shift+P).
- Search for Code Replayer and launch it.
- Select a commit from the history.
- Explore code changes using the timeline and comparison features.
Notes
Code Replayer is intended for educational use and Git history visualization.
Code comparisons are based on committed Git history. Uncommitted working tree changes are not included in the comparison.
License
Code Replayer is licensed under the MIT License.
See the LICENSE file for details.
| |