Home>Article>Development Tools> What is the shortcut key for vscode formatting code?

What is the shortcut key for vscode formatting code?

醉折花枝作酒筹
醉折花枝作酒筹 Original
2021-04-27 17:34:43 23198browse

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".

What is the shortcut key for vscode formatting code?

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  ShiftAltF

  • ##On Mac  

    ShiftOptionF

  • On Ubuntu 

    CtrlShiftI

Recommended learning: "

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn