My server is still windows based, which I know is a bit of a sin at this point, but just bear with me please

There seem to be a few options avaliable, but I can’t figure out if they all both support windows and C#, and a lot of the information I’m finding is linux specific.

Why? Well, I like to make little roguelikes and card battlers on my phone in pure c# code, it’s a fun way to pass the time that isn’t doom scrolling. A lot of my free time at work is spent sitting on a boat just waiting with no access to my PC

I’ve been using a C# ide on my phone, but Android as become such a fucking nightmare, most stuff seems locked down for some reason, and I can’t access the local files to sync with syncthing to move it my PC when I do want to work with my PC.

So I’d like to use a browser based solution that will just store everything locally on my server

  • Waluigis_Talking_Buttplug@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    I’ve looked into Code Server, which is a github project I’ve found for self hosting VS Code, but it only works on Linux

    Are you saying VS Code itself has a built in self hostable option?

      • MilderRichter@feddit.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 months ago

        i think this is the best solution

        Linux Docker Containers can run on Windows using WSL and if you later migrate the host to linux, you can also run the same container there natively

        • Corngood@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          8 months ago

          OP is looking for a browser based IDE. I don’t think vscode has anything like that.

    • fluckx@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      8 months ago

      Are you sure about that?

      https://coder.com/docs/code-server/latest/install#npm

      Below is quoted from the article

      We recommend installing with npm when:

      You aren’t using a machine with amd64 or arm64. You are installing code-server on Windows. You’re on Linux with glibc < v2.28 or glibcxx < v3.4.21. You’re running Alpine Linux or are using a non-glibc libc. See #1430 for more information.

      Installing code-server with npm builds native modules on install.

      This process requires C dependencies; see our guide on installing with npm for more information.