microsoft / microsoft/vscode

Doubling of indentation when pasting code.

Open
#325,904 1 comment 1 reaction 1 assignee Claimed by @aiday-mar View on GitHub
bug editor-autoindent
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Does this issue occur when all extensions are disabled?: Yes/No

- VS Code Version: 1.128.1 (user setup)
- OS Version: Windows_NT x64 10.0.26200

Steps to Reproduce:

1. Paste python code that contains multiple lines of indentation.
2. Cry

Description:

Indentation seems to double itself when pasting code that contains multiple levels of indentation in python. I don't have any python-specific extensions that are not just the microsoft provided ones. Video attached to show the bug.

Its been like this for months now tbh. I was hoping it would quickly be fixed... it was not.

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.