What is the difference from the VS Code official by server-main.js or server-cli.js startup? #6222
-
Through the source code, I learned that code-server(this project) use However, I also have a certain understanding of the official code of VS Code. It seems that such remote mode can be run directly through the official entry file Both startup methods seem to be the same, is there any reason for code-server to implement it (about startup method on server) all over again? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You could run upstream's server directly if you want. We make these changes to it: https://github.com/coder/code-server/blob/main/docs/FAQ.md#whats-the-difference-between-code-server-and-github-codespaces Some of those changes are patches and some of them are in the wrapper. Part of the reason we did it this way instead of patching everything into Code is that maintaining patches is more difficult so we prefer to patch as little as possible and have the rest in the wrapper. |
Beta Was this translation helpful? Give feedback.
You could run upstream's server directly if you want. We make these changes to it: https://github.com/coder/code-server/blob/main/docs/FAQ.md#whats-the-difference-between-code-server-and-github-codespaces
Some of those changes are patches and some of them are in the wrapper. Part of the reason we did it this way instead of patching everything into Code is that maintaining patches is more difficult so we prefer to patch as little as possible and have the rest in the wrapper.