-
Notifications
You must be signed in to change notification settings - Fork 27.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vscode does not start a separate instance when different --user-data-dir is passed #42514
Comments
|
why on earth close the ticket ? there is a functionality that is 1) documented somewhere else to be what i am expecting and 2) is a clear need. Please don't just close the ticket and push it on someone else plate here :( |
@ymolists I closed it as you're suggesting a feature/change which we will not implement. |
@Tyriar there is an option in gihub to actually reword the title. Is that all it takes to reopen this because i can definitely do that instead of creating a new ticket ? |
@ymolists it is a much larger change than you likely envision to support launching multiple main processes and we generally discourage the user of |
Duly noted. I am assuming this already came up and was closed as a no op because of the Hefty amount of engineering required. In the future it would help if you just say that this is a no-fix please take a look at this issue why we decided to not fix this. It helps people like me with absolutely no context or the experience you have :) I am assuming this was already debated elsewhere ! |
I've verified that the following works on macOS and Windows but does not work on linux (ubuntu 16.04 LTE):
On linux the second command activates the first window. So there seems to be a bug. In addition, I don't think that use of |
@Tyriar @joaomoreno do we prevent this on Linux for some reason? |
Not that I am aware of... It should work. |
This might be related to @weinand is that variable set in your system? |
If confirmed, I suggest to do it similarly to Windows: hash the userDataPath and use that for the sockets paths. |
@joaomoreno yes, both Ubuntu 16.04 and 17.10 have a variable XDG_RUNTIME_DIR defined. This seems to be the default since I didn't change my environment in any way. |
Steps to Reproduce:
./code-insiders --verbose --user-data-dir /tmp/vscode/000
./code-insiders --verbose --user-data-dir /tmp/vscode/001
Nothing happens. And the logs on term 1 console shows that vscode tried to use the same instance
Does this issue occur when all extensions are disabled?: NA
This comment explains what was the original intent
The text was updated successfully, but these errors were encountered: