You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just spent 15 minutes figuring out why suddenly HTML formatting was broken (wrong amount of indent spaces, no automatic white lines, etc.) in PhpStorm. As it turned out, installing the svelte plugin had "stolen" the .html extension. Under Settings > Editor > File Types, the .html extension had been moved to 'Svelte Html Components'. That means that the formatting settings under Settings > Editor > Code Style > HTML no longer applied to HTML documents (PhpStorm was using the settings for 'Other File Types' instead).
AFAIC this should not be the default behavior, as it is unexpected and hard to debug.
The text was updated successfully, but these errors were encountered:
Thanks for the plugin but I had the same issue. Since I installed it the "open in browser" feature in Webstorm stopped working. Hope it will be fixed. In the meantime I had to disable the plugin.
Hi, thanks for contributing your plugin.
I just spent 15 minutes figuring out why suddenly HTML formatting was broken (wrong amount of indent spaces, no automatic white lines, etc.) in PhpStorm. As it turned out, installing the svelte plugin had "stolen" the .html extension. Under
Settings > Editor > File Types
, the .html extension had been moved to 'Svelte Html Components'. That means that the formatting settings underSettings > Editor > Code Style > HTML
no longer applied to HTML documents (PhpStorm was using the settings for 'Other File Types' instead).AFAIC this should not be the default behavior, as it is unexpected and hard to debug.
The text was updated successfully, but these errors were encountered: