When pasting code in, can I fix the formatting?


#1

Is there a keyboard shortcut or something to fix the indentation of code?


#2

Not that I know of, but perhaps this user-created Prettier bookmarklet might help reformat your pasted code to be a little better: https://prettier.glitch.me/