Skip to content

Multiple editor instances #424

@glor

Description

@glor

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.

Activity

jeanp413

jeanp413 commented on Sep 5, 2022

@jeanp413
Member

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

hyunsukj89

hyunsukj89 commented on Oct 21, 2022

@hyunsukj89

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

jeanp413 commented on Oct 21, 2022

@jeanp413
Member

@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

hyunsukj89 commented on Oct 24, 2022

@hyunsukj89

@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

jeanp413 commented on Oct 24, 2022

@jeanp413
Member

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

added a commit that references this issue on Oct 31, 2022
e52ba1e
linked a pull request that will close this issue on Oct 31, 2022
Verhoeckx

Verhoeckx commented on Mar 1, 2023

@Verhoeckx

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

mickeyperlstein

mickeyperlstein commented on Feb 4, 2025

@mickeyperlstein

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

glor commented on Feb 4, 2025

@glor
Author

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

glor commented on Feb 4, 2025

@glor
Author

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @mickeyperlstein@glor@jeanp413@Verhoeckx@hyunsukj89

      Issue actions

        Multiple editor instances · Issue #424 · gitpod-io/openvscode-server