Skip to content

RAWSEQ/vscode-merge-n-paste

Repository files navigation

merge-n-paste

Merge before pasting.

Features

Compare(editor <=> clipboard) and paste using the diff tool or external merge tool.

Tested on Windows platform only

Like this:

  • diff tool Image

  • external merge tool Image

Requirements

Set this Configure to Settings (Example: KDiff3)

{
  // The path to Merge tool. 
  // replace: %E = EditorFile, %C = ClipboardFile, %M = MergedOutput 
  // ex: "\"C:\\Program Files\\KDiff3\\KDiff3.exe\" %E %C -o %M" 
  "merge-n-paste.pathToMergeTool": ""
}

Command Name: Merge and Paste

Extension Settings

We recommend key binding to: Ctrl + Alt + v

Set this Configure to Settings

{
  // Reflect source File to editor. 
  // replace: %E = EditorFile, %C = ClipboardFile, %M = MergedOutput 
  // ex: "Reflect clipboard text" = %C
  "merge-n-paste.reflectFile": "%M"
}

Contacts

License

  • MIT

About

VSCode Extension - Compare(editor <=> clipboard) and paste using the external diff-merge tool

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •