Skip to content

Commit b446b55

Browse files
committed
chore(release): bump version to 1.2.0
- update README to document new features and usage instructions
1 parent 3124178 commit b446b55

3 files changed

Lines changed: 13 additions & 9 deletions

File tree

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# Git Diff Viewer
22

3-
A Visual Studio Code extension that lets you inspect Git diffs directly from the sidebar and copy the currently selected diff output.
3+
A Visual Studio Code extension that lets you inspect Git diffs directly from the sidebar and copy the selected raw diff output.
44

55
## Features
66

77
- **Diff Modes**: Switch between **All changes**, **Staged only**, and **Unstaged only** from the sidebar header.
8-
- **Sidebar View**: View your current workspace diff in the VS Code sidebar without mutating the Git index.
9-
- **Syntax Highlighting**: Basic syntax highlighting for diff outputs, separating additions, deletions, and hunks.
10-
- **Copy Button**: Copy the raw diff output for the currently selected mode.
8+
- **Changed Files Checklist**: Choose exactly which files are included in your diff using the interactive file checklist.
9+
- **Copy Selected**: Copy the raw Git diff for exactly the files you checked.
10+
- **Copy Current File**: Instantly copy the raw Git diff of your currently active file editor.
11+
- **Large Diff Warning**: Protects your clipboard by warning you before copying diffs larger than 500 KB.
12+
- **Raw Git Diff Output**: The copied output is pure raw Git diff only.
13+
- **Sidebar View**: View your current workspace diff with syntax highlighting in the VS Code sidebar without mutating the Git index.
1114
- **Stats**: View a quick summary of files changed, additions, and deletions.
1215

1316
## Usage
@@ -18,8 +21,9 @@ A Visual Studio Code extension that lets you inspect Git diffs directly from the
1821
- **All changes**: staged + unstaged tracked changes, plus untracked files.
1922
- **Staged only**: only staged changes.
2023
- **Unstaged only**: only unstaged tracked changes.
21-
4. Click **Reload** or switch modes to load the selected diff immediately.
22-
5. Click **Copy** to copy the raw diff for the current mode.
24+
4. Use the **Changed files** checklist to select or unselect files.
25+
5. Click **Copy Selected** to copy the raw diff for the checked files.
26+
6. Alternatively, click **Current File** to copy the diff of the file currently active in your editor.
2327

2428
## Requirements
2529

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "git-diff-viewer",
33
"displayName": "Git Diff Viewer",
44
"description": "Load and copy git diff output from the sidebar",
5-
"version": "1.1.0",
5+
"version": "1.2.0",
66
"publisher": "EithonX",
77
"repository": {
88
"type": "git",

0 commit comments

Comments
 (0)