How to disable formatting on paste? #470
Unanswered
adam-nielsen
asked this question in
Q&A
Replies: 1 comment
-
I don't think tide does it. To rule out
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I paste/yank text into a .tsx file, something runs to prettify the whole file, but it takes around 30 seconds to do so and often undoes the formatting that I want. If I press Ctrl+G a few times to cancel it, it ends up completely corrupting the buffer so rather than sit through it every time, I would like to disable it completely and just get a normal paste like every other mode offers.
Is there a way to disable this format-on-paste feature?
I have
'tide-format-before-save
set and this fixes up the formatting when I save the file, so I don't need this extra level of formatting when I paste, which often formats the file incorrectly as well as being incredibly slow.Beta Was this translation helpful? Give feedback.
All reactions