Visual Studio Code indentation for Python

前端 未结 6 2084
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-10 02:58

How do I enable indentation in Visual Studio Code?

I\'m trying to learn Python (new to programming) and need auto-indentation. It worked with the first version I tri

6条回答
  •  -上瘾入骨i
    2020-12-10 03:25

    Simple solution!

    Click the tab size (may show "Spaces: 4") in the bottom right corner and choose Convert Indentation to Tabs or Convert Indentation to Spaces as per your requirement.

提交回复
热议问题