Diff Viewer
View and compare file changes
Athas includes a powerful diff viewer.
Viewing Diffs
From Source Control
- Open the Source Control panel
- Click on any changed file
- The diff viewer opens showing changes
From Commit History
- Open the commit history
- Click on any commit
- Click on a file to view its diff
Diff Modes
Inline Diff
Shows additions and deletions inline:
- Green background for additions
- Red background for deletions
Side-by-Side Diff
Shows old and new versions side by side:
- Left pane: original
- Right pane: modified
Gutter Indicators
In the editor, the gutter shows Git change indicators:
- Green bar: Added lines
- Red bar: Deleted lines
- Yellow bar: Modified lines
Click on these indicators to see the original content.
Inline Blame
Enable inline blame in Settings > Editor or toggle with Cmd/Ctrl+Shift+B.