From 6addcb780a4ce6fc58b89e12a208334c68cdf0f6 Mon Sep 17 00:00:00 2001 From: Dhruv Manilawala Date: Mon, 22 Jul 2024 14:51:58 +0530 Subject: [PATCH] Add note to include notebook files for native server --- docs/editors/features.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/editors/features.md b/docs/editors/features.md index 3ce5ff4d7ff92..4e977ddda3754 100644 --- a/docs/editors/features.md +++ b/docs/editors/features.md @@ -94,6 +94,12 @@ alt="Hovering over a noqa code in VS Code" Similar to Ruff's CLI, the Ruff Language Server fully supports Jupyter Notebook files with all the capabilities available to Python files. +!!! note + Unlike [`ruff-lsp`](https://github.com/astral-sh/ruff-lsp) and similar to the Ruff's CLI, the + native language server requires user to explicitly include the Jupyter Notebook files in the set + of files to lint and format. Refer to the [Jupyter Notebook discovery](https://docs.astral.sh/ruff/configuration/#jupyter-notebook-discovery) + section on how to do this. +