Even when specifying svelte settings, and successfully linking the config (other settings are applying), Zed can't format .svelte files.
Workaround/Fix:
cd into ~/Library/Application\ Support/Zed/extensions/work/oxc and install the svelte package, so that the 'svelte/compiler' oxfmt relies on is present.
This seems slightly extreme, it might be cleaner to provide a config setting to a user-specified svelte/compiler install path or similar.
Latest Zed & oxc-extension.
Even when specifying svelte settings, and successfully linking the config (other settings are applying), Zed can't format .svelte files.
Workaround/Fix:
cd into ~/Library/Application\ Support/Zed/extensions/work/oxc and install the
sveltepackage, so that the 'svelte/compiler' oxfmt relies on is present.This seems slightly extreme, it might be cleaner to provide a config setting to a user-specified
svelte/compilerinstall path or similar.Latest Zed & oxc-extension.