ruff/crates/ruff_server/src
Jane Lewis ffc98522cd
ruff server: Defer notebook cell deletion to avoid an error message (#11864)
## Summary

Fixes https://github.com/astral-sh/ruff-vscode/issues/496.

Cells are no longer removed from the notebook index when a notebook gets
updated, but rather when `textDocument/didClose` is called for them.
This solves an issue where their premature removal from the notebook
cell index would cause their URL to be un-queryable in the
`textDocument/didClose` handler.

## Test Plan

Create and then delete a notebook cell in VS Code. No error should
appear.
2024-06-18 03:37:40 +00:00
..
edit Rename document module to text_document (#11571) 2024-05-27 18:32:21 +02:00
server ruff server: Defer notebook cell deletion to avoid an error message (#11864) 2024-06-18 03:37:40 +00:00
session ruff server: Defer notebook cell deletion to avoid an error message (#11864) 2024-06-18 03:37:40 +00:00
edit.rs ruff server: Add support for documents not exist on disk (#11588) 2024-05-31 08:34:10 +02:00
fix.rs Use real file path when available in ruff server (#11800) 2024-06-07 22:48:53 -07:00
format.rs ruff server: Formatting a document with syntax problems no longer spams a visible error popup (#11745) 2024-06-04 17:18:21 -07:00
lib.rs ruff server: Tracing system now respects log level and trace level, with options to log to a file (#11747) 2024-06-11 11:29:47 -07:00
lint.rs Build CommentRanges outside the parser (#11792) 2024-06-09 09:55:17 +00:00
message.rs ruff server: Tracing system now respects log level and trace level, with options to log to a file (#11747) 2024-06-11 11:29:47 -07:00
server.rs Add supported commands in server capabilities (#11850) 2024-06-13 09:32:43 +05:30
session.rs ruff server: Introduce the ruff.printDebugInformation command (#11831) 2024-06-11 11:42:46 -07:00
trace.rs ruff server: Tracing system now respects log level and trace level, with options to log to a file (#11747) 2024-06-11 11:29:47 -07:00