Visual Studio Code indentation for Python

前端 未结 6 2088
佛祖请我去吃肉
佛祖请我去吃肉 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条回答
  •  情歌与酒
    2020-12-10 03:20

    I faced similar issues while editing. Select the lines of code you wish to intend and press Ctrl + ] in Windows or CMD+] on Mac.

    You can change the indent size in settings. Search for tab size in settings. I use two, by the way.

提交回复
热议问题