We don't actually need to tell the user to restart VS Code when changing this setting. I put this in as a precautionary measure but from the testing I've done there doesn't seem to be a need to restart it.
@MichaReiser I've added a test plan video, as requested. It doesn't cover my full test flow, but it should demonstrate how the diagnostics for a file are properly refreshed when switching.
Summary
We don't actually need to tell the user to restart VS Code when changing this setting. I put this in as a precautionary measure but from the testing I've done there doesn't seem to be a need to restart it.
Test Plan
https://github.com/astral-sh/ruff-vscode/assets/19577865/f1536261-abc7-4016-89c9-c61e9c4047a6