Autoindent on paste fails when first line of clipboard is a comment #201420
Labels
editor-autoindent
Editor auto indentation issues
javascript
JavaScript support issues
on-unit-test
under-discussion
Issue is under discussion for relevance, priority, approach
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
.js
file:bar
functionExpected: The two pasted lines should be autoindented inside the function
Actual: The lines are not auto indented, they retain their original indent of 0
This only happens when the first line being pasted is a comment.
The text was updated successfully, but these errors were encountered: