In windows, the shortcut key for formatting code in vscode is "Shift Alt F"; in mac, the shortcut key for formatting code in vscode is "Shift Option F"; in Ubuntu, the shortcut key for formatting code in vscode is "Ctrl Shift I".
The operating environment of this tutorial: Windows7&&macOS Big Sur&&Ubuntu11.04 system, Dell G3 computer, Visual Studio Code version 1.53.2.
Visual Studio Code can format code through the following shortcut keys:
On Windows Shift Alt F
Shift Option F
Ctrl Shift I
vscode tutorial"
The above is the detailed content of What is the shortcut key for vscode formatting code?. For more information, please follow other related articles on the PHP Chinese website!