[Python] Indentation problems when pasting in VS code (python)

Discussão em 'Python' iniciado por Stack, Maio 9, 2025.

  1. Stack

    Stack Membro Participativo

    I am getting indentation problems when pasting python code in Visual Studio (see image attached). I have seen several threads on this issue, but the suggestions that worked for others are not working for me. I have tried with "Format on paste" both on and off, and have also tried all options for the "Auto indent" setting - none of this resolves the problem.

    I am using VS code version 1.100.0 on a Windows 10 machine, but running with a WSL interpreter. Any ideas appreciated :)

    enter image description here

    Continue reading...

Compartilhe esta Página