概要 { "name": "$NAME$" } Rider の Assembly Definition File のファイルテンプレートは上記のように 名前だけを保持する形式になっているので各種パラメータを保持する形式に変更した Rider の設定で「ファイル | 設定 | エディター | ファイルテンプレー…
概要 公式ドキュメントの上記のページに記載されています この記事では Rider の新しい UI での手順を書き残しておきます Rider の Unity のツールバーを右クリックして「ツールバーのカスタマイズ」を選択して 「+」を押して 「アクションの追加」を押して …
概要 JetBrains Rider を 2023.1.1 にアップデートしたら フィールド名を変更した時に FormerlySerializedAs が自動で付与されるようになった Preferences を開いて「言語 & フレームワーク > Unity エンジン」の 「シリアル化されたフィールドの名前を変更…
概要 ファイル検索しても意図した結果にならないので調べてみたところ いつの間にか検索範囲が「Directory」になっていた Explorer でファイルを選択した状態で Find in Files を開くと 検索範囲が自動で「Directory」になり、 次に検索する時は前回選択され…
概要 「Loading solution」や「Cache processing」「Updating indexes」が いつまで経っても完了しない現象に遭遇した Rider を再起動しても解決しなかった Mac を再起動したら数秒で完了した
はじめに 「Project-Color」を Rider に導入することで タイトルバーの色を変更できるようになります 使い方 ツールバーのアイコンを押して 色を選択することでタイトルバーの色を変更できます 「Automatically set color based on project name」をオンにす…
概要 上記のページを開いて「Download package」を押して ダウンロードした .nupkg を ZIP で展開して、展開したフォルダ内の 「analyzers\dotnet\cs\IDisposableAnalyzers.dll」を Unity プロジェクトに追加して すべてのチェックを外して「Apply」を押して…
概要 .asmdef を Reformat and Cleanup する時は JSON のコードスタイルの設定が適用されるので 「Editor > Code Style > JSON」の「Tabs and Indents」の 「Indent」を「4」にすると .asmdef のインデントの幅を 4 で保持できる
概要 「Tools > Actions on Save」の「Reformat and Cleanup Code」をオンにする
概要 ~/Library/Preferences/RiderXXX/config/resharper-host/GlobalSettingsStorage.DotSettings マニュアルには上記の場所に保存されていると記載されていたが ~/Library/Application Support/JetBrains/Rider2021.3/resharper-host/GlobalSettingsStorage…
概要 Rider メニューの「View > Active Editor > Soft-Wrap」をオフにする
概要 UnityEngine.WSA.Application Auto Import に上記の文字列を追加する
概要 Unity.Mathematics.Random Auto Import に上記の文字列を追加する
概要 NPOI.HPSF.Array Auto Import に上記の文字列を追加する
概要 UnityEditor.Compilation.Assembly Auto Import に上記の文字列を追加する
概要 UnityEditor.VersionControl.Task Auto Import に上記の文字列を追加する
概要 Mono.CompilerServices.SymbolWriter.CodeBlockEntry* Auto Import に上記の文字列を追加する
概要 DG.Tweening.Plugins.Core.PathCore* Auto Import に上記の文字列を追加する
概要 System.Diagnostics.CodeAnalysis.NotNullAttribute Auto Import に上記の文字列を追加する
ソースコード [SourceTemplate] public static void isnullorwhitespace( this string self ) { /*$ string.IsNullOrWhiteSpace( str ) */ }
ソースコード [SourceTemplate] public static void isnullorempty( this string self ) { /*$ string.IsNullOrEmpty( str ) */ }
概要 System.Numerics* Auto Import に上記の文字列を追加する
概要 UnityEngine.Windows* Auto Import に上記の文字列を追加する
概要 UnityEngine.Windows.Directory Auto Import に上記の文字列を追加する
概要 System.Net.WebRequestMethods* UnityEngine.Windows.File Auto Import に上記の文字列を追加する
概要 MG.GIF.Image Auto Import に上記の文字列を追加する
概要 Auto Import の一覧に以下の 2 つを追加する UnityEngine.ADBannerView* UnityEngine.iOS.ADBannerView*
概要 Rider の Preferences の「Editor > Live Templates > C#」を選択して 「New Template」のアイコンを押して 「Shortcut:」に summaryComment と入力して左のテキストエリアに /// <summary> /// $END$ /// </summary> と入力して保存する 設定
ソースコード #if UNITY_EDITOR using System; using System.Collections.Generic; using JetBrains.Annotations; // ReSharper disable IdentifierTypo // ReSharper disable InconsistentNaming namespace Kogane { [PublicAPI] [Obsolete( "", true )] pu…
ソースコード #if UNITY_EDITOR using System; using JetBrains.Annotations; // ReSharper disable IdentifierTypo // ReSharper disable InconsistentNaming namespace Kogane { [PublicAPI] [Obsolete( "", true )] public static class SourceTemplateCo…