-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very slow when used with prettier-atom #60
Comments
I can confirm the issue on @severo's project — takes 15s to save the Large.svelte file. (Atom 1.40.1, prettier-atom 0.57.3, macOS 10.14.6). |
I've been having the same issue when using Narrowed it down to being an issue with the It doesn't currently look like there is a way to disable this within I'm not sure if this is an issue with the plugin internally calculating the cursor-offset, or prettier itself - will look into if I get more time. e.g When taking a moderately large
Whereas if you add the
|
Very strange, thanks for the investigation @chrisbrown-io |
do we have any solution for this issue? For some reason the prettier-plugin-svelte in combination with prettier-atom works freaking slow. With plain .js prettier-atom performs good. How can i fix a minute freeze of a svelte file? |
After installing prettier-plugin-svelte, saving a .svelte file in Atom (with prettier-atom formatting on save) turns to be very slow.
I published explanations to replicate here: https://github.com/severo/atom_prettier_svelte
Note that calling prettier from the CLI is instantaneous.
The text was updated successfully, but these errors were encountered: