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

Support prioritizing discovered TOML settings over editor settings

Open snowsignal opened this issue 10 months ago • 0 comments

Summary

Fixes https://github.com/astral-sh/ruff-vscode/issues/425 (though only in the pre-release version, since this is a feature for the new LSP server)

This is a follow-up to https://github.com/astral-sh/ruff-vscode/pull/456.

A new setting has been introduced, Prioritize File Configuration, which tells the extension to prioritize settings from discovered TOML files over extension settings. Extension settings will still be used when a set field in the extension is not set in the file configuration.

Test Plan

Refer to https://github.com/astral-sh/ruff/pull/11086 for a test plan.

snowsignal avatar Apr 22 '24 03:04 snowsignal