sublime_merge icon indicating copy to clipboard operation
sublime_merge copied to clipboard

Load Packages from Sublime Text Portable

Open deathaxe opened this issue 5 years ago • 2 comments

Problem description

If both Sublime Text and Sublime Merge are installed in portable mode next to each other, Sublime Merge should use ST's Data folder instead of %APPDATA/Sublime Text% (or ~/.config/sublime-text).

Z:\Apps\Sublime Merge --> Z:\Apps\Sublime Text\Data

Preferred solution

SM portable should use the Data folder of the ST portable setup if available and fallback to %APPDATA%.

Alternatives

?

deathaxe avatar Sep 25 '20 18:09 deathaxe

You can create a directory symlink as a workaround.

For Windows: mklink /D "%APPDATA%\Sublime Text" "X:\Programs\Sublime Text 4\Data"

h0rn3z0r avatar Aug 11 '24 23:08 h0rn3z0r

Sure, but that's not portable.

The point is, ST & SM already find each other, if located in same directory. Means, you can start SM from ST and vice versa without configuration.

Same should be true for Package folder lookup - just for consistency and proper support of portable builds.

deathaxe avatar Aug 12 '24 15:08 deathaxe