From ea2d51c2bb902a909b349051f43d658ff3cf4d7c Mon Sep 17 00:00:00 2001 From: Dhruv Manilawala Date: Mon, 22 Jul 2024 21:40:30 +0530 Subject: [PATCH] Add note to include notebook files for native server (#12449) ## Summary Similar to https://github.com/astral-sh/ruff-vscode/pull/547 but for the online docs. Refer to https://github.com/astral-sh/ruff-vscode/issues/546 ## Preview Screenshot 2024-07-22 at 14 51 40 --- docs/editors/features.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/editors/features.md b/docs/editors/features.md index 3ce5ff4d7f..4e977ddda3 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. +