Home Download Buy Blog Forum Support

Portable Sublime upgrade procedure?

Portable Sublime upgrade procedure?

Postby jakobud on Wed Aug 03, 2011 4:41 pm

I use SublimeText 2's portable version. Whenever a new build is released and I download it, I basically extract it right over the old folder. As long as I keep all my own snippets in the data/Packages/User directory, they don't get overwritten. But I'm pretty sure other files get overwritten, like default preferences, etc... I realize that certain preferences I should move to user-specific preferences.

Anyways, my question, is there a specific procedure to upgrading the portable version of Sublime where you keep all your existing settings, snippets, etc? Do all custom snippets and packages need to be stored in the User directory and all program-related settings need to be stored in user-specific profiles (which I assume are stored in the User directory also)? What about macros? Build scripts? Etc?

Basically I just want to upgrade versions without loosing settings and custom features...
jakobud
 
Posts: 37
Joined: Wed Feb 17, 2010 6:05 pm

Re: Portable Sublime upgrade procedure?

Postby adzenith on Wed Aug 03, 2011 5:14 pm

I do the same thing—copy the new portable version over the old.
If you upgrade the non-portable (installer version) it will over-write your default prefs in the same way that copying the new portable version will. Because of this, any user prefs should be in the User directory (e.g. user file settings instead of default file settings).
However, you are free to put other folders in the Packages directory—Sublime won't delete them or anything. The only thing you need to put in the user directory is extra copies of any files that Sublime is packaged with that you're editing.
Let me know if that's clear.
adzenith
 
Posts: 1213
Joined: Mon Oct 19, 2009 9:12 pm


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 20 guests