Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Use the same instance to open several files from the command line #44

Open
grayswandyr opened this issue Jun 29, 2019 · 3 comments
Open

Comments

@grayswandyr
Copy link

grayswandyr commented Jun 29, 2019

Sorry, this question is perhaps rather a flatpak question but it occurred for me in the context of VS Code OSS (thanks for the good work BTW): if I type :

$ flatpak run com.visualstudio.code.oss file1.ml
$ flatpak run com.visualstudio.code.oss file2.ml

I will end up with 2 separate instances of VS Code OSS running instead of file2.ml be also opened in the same process as file1.ml. When using MS' VS Code (as a plain app, not a flatpak), both files are opened in the same editor: is this possible to achieve the same result with VS Code OSS or is it an intrinsic limitation of flatpak?

@amtlib-dot-dll
Copy link
Collaborator

Run flatpak run --filesystem=/tmp com.visualstudio.code.oss file1.ml twice and it should be right

@grayswandyr
Copy link
Author

Thanks for the help but it doesn't work.

@subins2000
Copy link

This is very annoying. Please provide a fix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants