mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-22 04:43:02 +07:00
Route Jupyter notebooks through the LSP notebook protocol so Python language servers work with cell subdocuments instead of the whole .ipynb file. The adapter maps host positions and ranges to cell URIs, sends notebook open/change/close/save notifications, and keeps python-lsp-core decoupled from Jupyter through a notebook language resolver EP. Register the Jupyter resolver from the Python/Jupyter plugin and let Python LSP descriptors opt into notebook-backed files. Skip Ty pull diagnostics for notebooks until Ty supports notebook diagnostics, while keeping diagnostics enabled for regular Python files. Add Ty and Pyrefly notebook LSP environment coverage for protocol notifications, code insight requests, range mapping, type inference, and the Ty diagnostics regression. Fix the Python test-env UV bootstrap used by that coverage by handling flat Windows zip archives separately from Unix archives with a root directory. GitOrigin-RevId: f958d48142cc376473a2be47b618e00366643f18