astral-sh / ruff-vscode

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

Remove warning about restarting VS Code that appeared when enabling/disabling the experimental server #436

Closed snowsignal closed 3 months ago

snowsignal commented 3 months ago

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

snowsignal commented 3 months ago

@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.