Sublime Forum

How to launch ST3 instance with alternative profile (for plugin development) along with another instance with regular profile (for editing)?

#1

Hello!

I want to setup a development environment for developing a plugin for ST3. And in what I’m particularly interested is how to launch a instance of ST3, which would use “clean” profile with only the only plugin installed, that I’m developing, along with another instance of ST3 with my regular profile which I would use for editing the code.

1 Like

#2

If you are on Windows you could just use the portable version as well as the installed version (or another portable version), as portable versions have completely separate data folders.

0 Likes

#3

I’m using Linux.

0 Likes

#4

do you want to launch both versions of ST simultaneously/have both open side by side?

maybe launch one under a different user account?

0 Likes

#5

Yes, this is exactly what I want. But it seems, like there is no options in ST3 itself, for specifying custom profile directory. I think, I’m going to experiment with chroot.

0 Likes

#6

I don’t know if it’ documented anywhere, but you can use a “portable” version of Sublime under linux as well.

If you download and extract the tarball version and then make a directory inside the extracted sublime_text_3 named Data (case is important, I would expect), when you run sublime from that location it will use that data directory instead ~/.config/sublime-text-3

Note however that if you do this you can’t have other versions running because the executable seems to communicate with an already running copy; possibly specifying -n to open a new window works around this, I never tried that.

3 Likes

Testing a package -- portable Sublime for Mac or Linux?
Index ldb file path
#7

also see the undocumented --multiinstance flag

2 Likes

#8

A few years ago I made a request to be able to launch ST using a specific config directory - but I can’t now find the request nor remember where I made it. Why don’t you make a request in the Interface Suggestions thread?

0 Likes

ST with different user profiles?