You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/ruff_server/CONTRIBUTING.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,4 +29,9 @@ If you want to test any changes you've made to `ruff server`, you can simply mod
29
29
30
30
#### Testing In VS Code
31
31
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