Skip to content

feat(lsp): jupyter cell continuity using classic scripts #28769

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 42 commits into from
Apr 17, 2025

Conversation

nayeemrmn
Copy link
Contributor

@nayeemrmn nayeemrmn commented Apr 6, 2025

Fixes #21709.
Fixes denoland/vscode_deno#932.

VSCode's node/TS server also relies on classic scripts to share variables between cells. But in their case if you use a static import in some cell it will trigger module detection and the variables in that cell will not be shared. Our implementation will bypass this!

@nayeemrmn nayeemrmn marked this pull request as ready for review April 9, 2025 14:06
@nayeemrmn nayeemrmn requested review from dsherret, bartlomieju and nathanwhit and removed request for bartlomieju April 9, 2025 17:20
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good! I just have a couple comments.

@nayeemrmn nayeemrmn requested a review from dsherret April 11, 2025 16:04
@nayeemrmn
Copy link
Contributor Author

@dsherret PTAL

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get a lot of popup errors trying this out. Maybe it's a windows only issue?
image

@nayeemrmn nayeemrmn requested a review from dsherret April 16, 2025 22:23
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@nayeemrmn nayeemrmn merged commit 0cb2ec2 into denoland:main Apr 17, 2025
18 checks passed
@nayeemrmn nayeemrmn deleted the lsp-jupyter-continuity branch April 17, 2025 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants