Skip to content

Migrate LSP out of React#12452

Open
franknoirot wants to merge 7 commits into
mainfrom
franknoirot/migrate-lsp-out-of-react
Open

Migrate LSP out of React#12452
franknoirot wants to merge 7 commits into
mainfrom
franknoirot/migrate-lsp-out-of-react

Conversation

@franknoirot

@franknoirot franknoirot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Our LSP has been mounted via React since the beginning, but it hasn't needed to be since #9448. This refactor PR does the following:

  1. Consolidates all LSP logic into /src/lang/lsp
  2. Replaces use of React Context to provide LSP lifecycle method with use of our registry service pattern (see /src/lang/lsp/service.ts)
  3. Removes LspProvider, instead attaching the LSP extension immediately to KclManager (this should speed up LSP connection times)

This is a pretty important subsystem to be moving around, so it's done in step-by-step commits that you should be able to follow along with to get a sense of how we go from

  • a React component providing a CodeMirror extension to KclManager

to

  • an extension that registers a service and a CodeMirror extension.

@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
modeling-app Ready Ready Preview, Comment Jul 15, 2026 3:27pm

Request Review

@franknoirot
franknoirot force-pushed the franknoirot/migrate-lsp-out-of-react branch from c1e2042 to 129df23 Compare July 14, 2026 23:07
@franknoirot
franknoirot marked this pull request as ready for review July 14, 2026 23:34
@franknoirot
franknoirot requested a review from a team as a code owner July 14, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant