sublimelsp / LSP-ruff

LSP helper for ruff - an extremely fast Python linter, written in Rust.
https://packagecontrol.io/packages/LSP-ruff
MIT License
37 stars 4 forks source link

LSP-ruff on Windows: How to Set Python Interpreter Path #88

Closed andypal333 closed 3 weeks ago

andypal333 commented 4 weeks ago

I am using LSP and LSP-ruff packages in Sublime Text on Windows and encounter the following issues:

When I open Sublime Text, LSP-ruff fails to start with the error:

sublime_text_Dqd8atb5Gm

Questions:

Thank you for any guidance on configuring these settings!

rchl commented 4 weeks ago

This should be fixed in the latest version of lsp-utils dependency. Try restarting ST to trigger the update.

andypal333 commented 4 weeks ago

This should be fixed in the latest version of lsp-utils dependency. Try restarting ST to trigger the update.

Doesn't work i tried restarting it several times.

rchl commented 4 weeks ago

Try explicitly triggering update with "Package Control: Satisfy dependencies" (or "Package Control: Upgrade Package") form the command palette.

andypal333 commented 3 weeks ago

@rchl Thanks a lot this fixed the issue! Last question, can i configure LSP-ruff to provide code completions in Sublime Text?

rchl commented 3 weeks ago

No, ruff is a linter, it doesn't provide code intelligence. Try LSP-pyright for that.