Skip to content

Instantly share code, notes, and snippets.

@imadx
Created July 8, 2024 15:17
Show Gist options
  • Save imadx/2ac0127d61c42da1d7b212cb606a11e2 to your computer and use it in GitHub Desktop.
Save imadx/2ac0127d61c42da1d7b212cb606a11e2 to your computer and use it in GitHub Desktop.
This gist details how to configure Sublime Merge to open files in VS Code and Webstorm. It provides the Editor Path and Editor Argument Format for each text editor. This allows you to seamlessly switch between Sublime Merge and your preferred editor to work on specific files.

Opening a file with the text editors for Sublime Merge

VSCode

Settings > Editor > Editor Path

code

Settings > Editor > Editor Argument Format

-g ${file}:${line}:${col}

Webstorm

Settings > Editor > Editor Path

webstorm

Settings > Editor > Editor Argument Format

--line ${line} --column ${col} ${file}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment