What is the shortcut to auto indent code in VSCode?

I am wondering the same thing and find this native solution.

On Windows Shift + Alt + F
On Mac Shift + Option + F
On Ubuntu Ctrl + Shift + I

Ref:
https://www.codegrepper.com/code-examples/whatever/how+to+auto+indent+in+visual+studio+code

Leave a Comment