コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

【Rider】Unity の .asmdef を Reformat and Cleanup した時にインデントの幅を 4 で保持する方法

概要

.asmdef を Reformat and Cleanup する時は
JSON のコードスタイルの設定が適用されるので

「Editor > Code Style > JSON」の「Tabs and Indents」の
「Indent」を「4」にすると .asmdef のインデントの幅を 4 で保持できる