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.git
npm install
src/App.svelte
in VS CodeOrganize Imports
commandTo break out of the loop, open .vscode/settings.json
.
💡 This seems to only happen when
source.organizeImports
is set totrue
insettings.json
. It is then triggered by theOrganize Imports
command or saving.
source.organizeImports
to .vscode/settings.json
Below is my environment, I have not tested this on other environments.