概要 上記のページを開いて「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…
はじめに 「Inspection Lens」を Rider に導入することで エラーや警告の内容がコード行に表示されるようになります 導入前 導入後
概要 後置テンプレートをカスタマイズできる「Custom Postfix Templates」は Rider 非対応
概要 Preferences の「Version Control > Confirmation」の 「When files are created」を「Do not add」にする 参考サイト様
概要 Preferences の「Keymap」で「Main Menu > Window > Editor Tabs > Reopen Closed Tab」に ショートカットキーを割り当てると即座に閉じたタブを開けるようになる 参考サイト様
概要 Preferences の「Editor > Color Scheme > General」の 「Editor > Selection background」の「Background」の色を変更する
概要 「システム環境設定 > セキュリティとプライバシー > 画面収録」で 「Rider.app」のチェックを外したら正常に動作するようになった