judge4c based on monaco-editor-lsp-next
Go to file
2025-02-19 17:18:56 +08:00
docker feat(docker): add service configuration for monaco-editor-lsp-next in Docker Compose 2025-02-19 17:18:56 +08:00
public chore: initialize the project 2025-02-19 09:00:15 +08:00
src fix(editor): resolve production error "Missing service editorService" by importing vscode 2025-02-19 16:39:30 +08:00
.dockerignore feat(docker): add Dockerfile and .dockerignore for containerized environment setup 2025-02-19 17:13:31 +08:00
.gitignore chore: initialize the project 2025-02-19 09:00:15 +08:00
bun.lock feat(deps): add @types/vscode package 2025-02-19 17:12:59 +08:00
components.json chore: initialize shadcn/ui 2025-02-19 09:07:30 +08:00
Dockerfile feat(docker): add Dockerfile and .dockerignore for containerized environment setup 2025-02-19 17:13:31 +08:00
eslint.config.mjs chore: initialize the project 2025-02-19 09:00:15 +08:00
next.config.ts feat(config): enable standalone output mode for Docker builds in Next.js 2025-02-19 17:14:25 +08:00
package.json feat(deps): add @types/vscode package 2025-02-19 17:12:59 +08:00
postcss.config.mjs chore: initialize the project 2025-02-19 09:00:15 +08:00
README.md docs: update README to reflect LSP integration setup and usage instructions 2025-02-19 13:55:33 +08:00
tailwind.config.ts chore: initialize shadcn/ui 2025-02-19 09:07:30 +08:00
tsconfig.json chore: initialize the project 2025-02-19 09:00:15 +08:00

monaco-editor-lsp-next

A demo project demonstrating LSP integration using Nextjs + @monaco-editor/react + monaco-languageclient.

Quick Start

  1. Start LSP Containers

    cd docker
    docker compose up -d
    cd ..
    
  2. Install Dependencies

    bun install
    
  3. Start Development Server

    bun run dev
    

LSP Configuration

The project includes preconfigured LSP servers for:

  • C (port 4594)
  • C++ (port 4595)

Using jsonrpc-ws-proxy to bridge Monaco Editor with clangd.