How can I keep indents on black line when pasting code?
Answered
if (some < bigger) {
const now = moment();
const nowDate = now.toDate();
// here
console.log(now);
console.log(nowDate);
}
I already turned on 'Keep indents on empty lines' option, but indentation is removed if I copy & paste the code.
Is there any solution?
Please sign in to leave a comment.
Change the "Preferences | Editor | General | Smart Keys > Reformat on paste" setting: