[ty] Support for notebooks in VS Code by MichaReiser · Pull Request #21175 · astral-sh/ruff (original) (raw)

@AlexWaygood added server

Related to the LSP server

ty

Multi-file analysis & type inference

labels

Oct 31, 2025

MichaReiser

MichaReiser

MichaReiser

MichaReiser

MichaReiser

@MichaReiser MichaReiser changed the base branch from main to micha/lsp-fallible-range-conversion

November 6, 2025 20:43

Base automatically changed from micha/lsp-fallible-range-conversion to main

November 7, 2025 14:44

@MichaReiser MichaReiser changed the base branch from main to micha/refactor-notebook-index

November 7, 2025 16:44

Base automatically changed from micha/refactor-notebook-index to main

November 11, 2025 09:43

dhruvmanila

@MichaReiser

Implement comprehensive notebook document support:

This enables the LSP server to work with Jupyter notebooks by treating each cell as a separate text document while maintaining the notebook context for type checking and cross-cell references.

Discard changes to crates/ty_ide/src/importer.rs

Discard changes to crates/ty_server/src/server/api/requests/diagnostic.rs

Discard changes to crates/ty_server/src/server/api/semantic_tokens.rs

@MichaReiser

@MichaReiser

@MichaReiser

@MichaReiser

@MichaReiser

@MichaReiser

@MichaReiser

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})