0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Visual Studio でコードをフォーマットしたい

Posted at

Visual Studio でコードをフォーマットしたい場合、編集(E) > 詳細 (V) から ドキュメントのフォーマット(A) または 選択範囲のフォーマット(F) を選択します。前者の場合、プロジェクト全体がフォーマットされ、後者の場合、選択範囲のみフォーマットされます。

image.png

もちろん、ショートカットによるフォーマットも可能です。

  • ドキュメントのフォーマット:Ctrl+K, Ctrl+D
  • 選択範囲のフォーマット:Ctrl+K, Ctrl+F

環境情報

Microsoft Visual Studio Community 2022 (64 ビット) - Current
Version 17.10.4
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?