LSP-ruff icon indicating copy to clipboard operation
LSP-ruff copied to clipboard

fix: ignore REPL views and Python syntax test files

Open jfcherng opened this issue 1 year ago • 2 comments

Refs

  • REPL request from https://github.com/sublimelsp/LSP-pyright/issues/343

I doubt whether this should be applied generally in upstream LSP or something. Only a very few clients will want to work on those views (e.g., LSP-copilot).

jfcherng avatar Jul 13 '24 09:07 jfcherng

Disabling in REPL could be done here but disabling in test files should be done in LSP imo. Other opinions?

LDAP avatar Jul 14 '24 07:07 LDAP

Since SublimeREPL is a 3rd-party package, whether we want to support auto disable it in upstream LSP can be discussed.

But syntax test is a ST built-in, I think it makes sense to disable that by default in upstream LSP indeed.

I've created a related issue in LSP repository: https://github.com/sublimelsp/LSP/issues/2504

jfcherng avatar Jul 19 '24 15:07 jfcherng