[Python] VSCode how to change indentation format for Python

Discussão em 'Python' iniciado por Stack, Abril 13, 2025.

  1. Stack

    Stack Membro Participativo

    [​IMG]

    The code was copy-pasted from outside. I would like to see if I can format this with <indentation with tab size 2>, but my VSCode doesn't want to do that. It draws the lines for the tab size 2 indentation, but doesn't actually format the code in that manner.

    On the other hand, somehow it does good job with JS files, but just not with Python files. I'm using autopep8. Is it because I am using autopep8 and autopep8 doesn't let me change indentation easily?

    Thanks!

    Continue reading...

Compartilhe esta Página