You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Autoindent on paste fails when first line of clipboard is a comment #201420
Put the cursor on the empty line inside the bar function
Paste from the clipboard
Expected: 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.
Activity
aiday-mar commentedon Jun 11, 2025
Should be fixed in the next stable release. You need to set "editor.autoIndentOnPaste": true, when the setting appears.