astral-sh / ruff-vscode

A Visual Studio Code extension with support for the Ruff linter.
Other
945 stars 45 forks source link

Introduce `ruff.printDebugInformation` command #495

Closed snowsignal closed 2 weeks ago

snowsignal commented 3 weeks ago

Summary

Introduces a command to print debug information. It should look like this in the Output window:

Screenshot 2024-06-10 at 12 21 07 PM

Test Plan

See https://github.com/astral-sh/ruff/pull/11831 for testing information.

snowsignal commented 2 weeks ago

I've updated the command handler to ignore the command when we're using ruff-lsp (and I've added (name server only) to the command to make this more clear).