forked from microsoft/vscode
-
Notifications
You must be signed in to change notification settings - Fork 491
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
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.
Verhoeckx
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
jeanp413 commentedon 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 commentedon Oct 21, 2022
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 commentedon 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 commentedon Oct 24, 2022
@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 commentedon Oct 24, 2022
openvscode-server license is MIT license, MS Vscode server license is here
Update README.md
Verhoeckx commentedon Mar 1, 2023
I don't see an option to create multiple accounts, so I think this is not possible? Would be great though!
mickeyperlstein commentedon 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 commentedon 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 commentedon Feb 4, 2025
@mickeyperlstein Also do check out https://github.com/coder/code-server which has this feature