Skip to content

Commit 044b758

Browse files
authored
Update ruff server contributing guide (#23060)
1 parent aa9c9bf commit 044b758

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

crates/ruff_server/CONTRIBUTING.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,9 @@ If you want to test any changes you've made to `ruff server`, you can simply mod
2929

3030
#### Testing In VS Code
3131

32-
At the moment, the [pre-release version](https://github.com/astral-sh/ruff-vscode/tree/pre-release) of Ruff's new VS Code extension only has the option to use the bundled Ruff binary. Configuration to use a custom Ruff executable path will be ready soon.
32+
You can use a local build of Ruff in VS Code by setting the `Ruff: Path` user preference (or `ruff.path` in your JSON config)
33+
to the full path to your Ruff binary, like `<path to your ruff source>/target/debug/ruff`. Once you save your user preferences,
34+
the VS Code extension should automatically reload its server with the new binary.
35+
36+
If you make changes to Ruff during development, you will need to rebuild your binary with `cargo build -p ruff`, and then execute
37+
the `Ruff: Restart Server` action to pick up any changes.

0 commit comments

Comments
 (0)