JanitorTechnology / janitor

The fastest development system in the world.
https://janitor.technology
GNU Affero General Public License v3.0
128 stars 22 forks source link

Add code-server as IDE option #470

Open sr229 opened 5 years ago

sr229 commented 5 years ago

code-server builds upon the open source vscode to make it accessible for the web.

We should be able to provide this an option since its more flexible the Cloud9 at major parts. This'll also improve developer UX since we can use VSCode extensions in place of custom Cloud9 plugins (for example, the C++ extension has good IntelliSense that'll help out Chromium developers know what's wrong immediately via Clang).

Note: We should be waiting for the web branch to merge since we can just change the route where code-server can serve, eliminating the need for a seperate subdomain to serve the IDE. You may try the web branch feature here.

etiennewan commented 5 years ago

Good idea. We already got Theia IDE and Cloud9 IDE running in the environments (though we do not use Theia IDE as the default right now). We can look to add code-server in the ubuntu-dev dockerfile as a new alternative. We should leave the choice of the IDE to the user at some point, that would mean we would have to choose a default option for the IDE. (relevant for a future discussion) But for the moment, I think Cloud9 IDE is the only one that supports live collaboration, which is a feature we would need if we enable sharing containers between users. If code-server has it too, then code-server would be a good candidate.

sr229 commented 5 years ago

@etiennewan judging from web branch's source, it uses the web version of VSCode so Microsoft Live Share is supposed to work.