Skip to content

Untransform workspace/applyEdit so edits reach the client as notebook edits - #17

Merged
thomasjm merged 2 commits into
masterfrom
applyedit-untransform
Oct 15, 2026
Merged

thomasjm merged 2 commits into
masterfrom
applyedit-untransform

Conversation

@thomasjm

Copy link
Copy Markdown
Contributor

Depends on codedownio/notebook-language-server-core#4.

workspace/applyEdit reached the client naming the shadow document, at the shadow document's coordinates, so the client refused it. Core untransforms it now, which makes transformServerReq monadic — hence the one-line change in app/Main.hs.

This also picks up core#2, which made textDocument/formatting opt-in. StripDirective and HeadTailTransformer both implement unproject, so notebookConfigHandlesFormatting = True keeps formatting working.

@thomasjm
thomasjm merged commit ceff042 into master Oct 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant