astral-sh/ruff-vscode

Enabling `ruff.nativeServer` doesn't respect `ruff.importStrategy: useBundled`

T-256 opened this issue ยท 0 comments

  1. install ruff-vscode 2024.30.0 (which bundled with ruff 0.5)
  2. put ruff 0.4.x in PATH
  3. set ruff.importStrategy: useBundled and ruff.nativeServer: true
  4. restart vscode
  5. ๐Ÿ› run command ruff.printDebugInformation

Actual

2024-06-28 13:51:00.630 [info] 1604.842777s ERROR ruff_server::server::api An error occurred with result ID 50: Invalid command `ruff.printDebugInformation`

I verified vscode spawned process uses ruff 0.4.x