Launch contextual aware Sublime Merge commands from VS Code.
You can launch these commands from command palette:
- View File History
- View Line History
- Blame Line
- Open Repository
ext install ajitid.sublime-merge-x
Ensure the smerge
command is in your $PATH
.
Details can be found here
Path to Sublime Merge (smerge) command. If not set, the extension will check your $PATH
instead to find it.
You can make "Open in Editor…" in Sublime Merge to open VS Code. To do that, first open your terminal and run code -v
. If it prints anything, great! Otherwise, open command palette using ctrl+shift+p (or cmd+shift+p on a Mac) and search for "Shell Command: Install 'code' command in PATH" and run it.
Then, open Sublime Merge and Preferences › Edit Settings… and type in:
{
"editor_path": "code",
"editor_argument_format": "--goto ${file}:${line}:${col}",
"editor_wait_args": "--wait"
}
"Open in Editor…" will open VS Code now.
- Amit Dhamu for creating the original extension