Skip to content
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

Multiple editor instances #424

Open
glor opened this issue Sep 2, 2022 · 9 comments · May be fixed by #455
Open

Multiple editor instances #424

glor opened this issue Sep 2, 2022 · 9 comments · May be fixed by #455
Labels
documentation Improvements or additions to documentation

Comments

@glor
Copy link

glor commented Sep 2, 2022

Can I have multiple editor instances without problems e.g. having multiple users accessing the same server? Microsofts VS Code Server seems not to support this.

Could you specify this in the documentation? I think it is of interest to everyone using the project.

@jeanp413 jeanp413 added the documentation Improvements or additions to documentation label Sep 5, 2022
@jeanp413
Copy link
Member

jeanp413 commented Sep 5, 2022

Hi @glor, yes it's fine for multiple users to connect to the same server as you are the one hosting it

@hyunsukj89
Copy link

Hi @jeanp413.
Actually, I'm trying to use this for education. And I also thought same as @glor. When I read the documents, I understood "This is for individuals who wants to make their own server to use personally, not for multiple people."
For example, I make an instance for my students.(Maybe around 100?) And they use this through link which I shared.
Is it possible to use this?

@jeanp413
Copy link
Member

jeanp413 commented Oct 21, 2022

@hyunsukj89 it's fine for multiple users to access the same server though I haven't tested with that many clients (100) it should work, beware that because all the clients are accessing the same filesystem if they start editing the same file at the same time, they will overwrite it from each other

@hyunsukj89
Copy link

@jeanp413 Thanks for your answer!
I have one more thing that I want to ask you.
Is the license totally different from MS VSCode and OpenVSCode?
Or some of them are different?
If it is a bit different, where can I find the documentation?

@jeanp413
Copy link
Member

openvscode-server license is MIT license, MS Vscode server license is here

glor added a commit to glor/openvscode-server that referenced this issue Oct 31, 2022
@glor glor linked a pull request Oct 31, 2022 that will close this issue
@Verhoeckx
Copy link

I don't see an option to create multiple accounts, so I think this is not possible? Would be great though!

@mickeyperlstein
Copy link

mickeyperlstein commented Feb 4, 2025

as a single developer, how can i lock it down so it doesn't create multiple instances of vscode?

GIVEN : i have a vscode nodejs server open in a browser tab
WHEN: i open a new tab with the same http://localhost:3000
THEN:
ACTUAL: I get a new vscode editor
EXPECTED I get the same vscode editor open in the other tab.

@glor
Copy link
Author

glor commented Feb 4, 2025

Well, that's not quite how that works. The frontend is running in your browser tab and a new tab loads independantly of that just like you wouldn't expect to see your last search results if you open a new tab with google. The question would be if there is a way to suspend, save and reload the frontend like it is possible in VSCode/-ium on the desktop. I think that's interesting.

But as this is far out of scope for this issue (which is about documenting behavior), I'd propose that you open a new issue for your question.

@glor
Copy link
Author

glor commented Feb 4, 2025

@mickeyperlstein Also do check out https://github.com/coder/code-server which has this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants