This is a minimal reproduction of a bug causing "organize imports" to loop forever.
Discord thread - Diff from starter template
[email protected]:The-Noah/svelte-organize-imports-loop.gitnpm installsrc/App.svelte in VS CodeOrganize Imports commandTo break out of the loop, open .vscode/settings.json.
💡 This seems to only happen when
source.organizeImportsis set totrueinsettings.json. It is then triggered by theOrganize Importscommand or saving.
source.organizeImports to .vscode/settings.jsonBelow is my environment, I have not tested this on other environments.