

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# Visual Studio での CloudFormation テンプレートのフォーマット
<a name="tkv-cfn-editor-format"></a>
+ Solution Explorer でテンプレートのコンテキスト (右クリック) メニューを開いて、[**Format Template (フォーマットテンプレート)**] を選択します。

  また、現在編集中のテンプレートをフォーマットするには、編集中の [**Template (テンプレート)**] メニューで、[**Format Template (フォーマットテンプレート)**] を選択します。  
![\[Dropdown menu showing options to deploy to CloudFormation, estimate cost, and format template.\]](http://docs.aws.amazon.com/ja_jp/toolkit-for-visual-studio/latest/user-guide/images/vs-editor-template-menu-format.png)

  ユーザーの JSON コードがフォーマットされ、構造が明確に表示されます。  
![\[JSON code structure for CloudFormation template with UserData and Properties sections.\]](http://docs.aws.amazon.com/ja_jp/toolkit-for-visual-studio/latest/user-guide/images/vs-editor-cfn-formatting.png)