# partial-diff

## Features

Take a diff of 2 parts of text(s).

![Select 2 texts and take diff](./images/select-2-texts-and-take-diff.gif)

## Commands

* `PartialDiff: Mark 1st text`: Mark the selected text as the 1st text to compare.
* `PartialDiff: Mark 2nd text and Take diff`: Mark the selected text as the 2nd text and compare it with the 1st.

Diff will be taken only after selecting the 2nd text.

## Keyboard Shortcuts

You can quickly mark a selected text by registering the `partial-diff` commands to your keyboard shortcut settings. For example:

```json
  { "key": "ctrl+1", "command": "extension.partialDiff.markSection1",
                        "when": "editorTextFocus" },
  { "key": "ctrl+2", "command": "extension.partialDiff.markSection2AndTakeDiff",
                        "when": "editorTextFocus" }
```

## Release Notes

### 0.0.1

Initial release of partial-diff

# partial-diff

## Features

Take a diff of 2 parts of text(s).

![Select 2 texts and take diff](https://raw.githubusercontent.com/ryu1kn/vscode-partial-diff/master/images/select-2-texts-and-take-diff.gif)

## Commands

* `PartialDiff: Mark 1st text`: Mark the selected text as the 1st text to compare.
* `PartialDiff: Mark 2nd text and Take diff`: Mark the selected text as the 2nd text and compare it with the 1st.

Diff will be taken only after selecting the 2nd text.

## Keyboard Shortcuts

You can quickly mark a selected text by registering the `partial-diff` commands to your keyboard shortcut settings. For example:

```json
  { "key": "ctrl+1", "command": "extension.partialDiff.markSection1",
                        "when": "editorTextFocus" },
  { "key": "ctrl+2", "command": "extension.partialDiff.markSection2AndTakeDiff",
                        "when": "editorTextFocus" }
```

## Release Notes

### 0.0.1

Initial release of partial-diff

Fix the problem that gif animation is not shown
Fix the problem that gif animation is not shown
