用 monaco-editor 编写 c/c++ 代码,底层用到了 clangd 作为 language server protocal,支持智能补全、跳转等功能 prerequisites: install llvm/clang change the path in src/server.ts const clangdPath = path.join(process.cwd(), 'bin/clangd.exe'); yarn yarn build yarn start:server open dist/index.html in your browser