Open rmoesbergen opened 7 months ago
Tried this, but waay too slooow: https://github.com/Guyutongxue/clangd-in-browser
Clangd seems like an option again, it seems to be fast enough. Will be checking with more opinions and searching for alternatives soon.
We're using monaco as the code editor for both c++ and python views. It supports connecting to a 'language server' for code completion/intellisense/etc. However: the server component is not built for multi-user usage. It assumes it runs on the same pc as the dev environment and has local file access. This is not really an option for leaphy, since we don't run local software. Let's research if we can have a 'central' language server (on the leaphy server), instead of running it on de developer pc.
We'll need a solution for the 'multi-user' problem and a way to transport the code 'file' to the server so the language server can access it. It also needs to be resource efficient with many simultaneous users.
https://clangd.llvm.org/