ReSharper 2025.1 ヘルプ

さまざまな言語の ReSharper 機能

以下の表は、ReSharper の各機能がどの言語 / テクノロジーでサポートされているかを説明しています。言語固有の機能のみを記載しており、プロジェクト依存関係ダイアグラム名前空間の調整リファクタリングスタックトレースエクスプローラー最近使用したファイルの表示など、プロジェクト / ソリューションスコープに関する多くの機能は含まれていません。

コード解析

コーディング支援

コードスタイルの支援

リファクタリング

フィーチャー

Language: C#

Language: VB.NET

Language: C++

Language: ASP.NET

Language: Razor

Language: XAML

Language: Resx

Language: Build Scripts

リファクタリング

Feature is available in C#

Feature is available in Visual Basic

Feature is available in C++

Feature is available in ASP.NET

Feature is available in Razor

Feature is available in XAML

Feature is available in Resource files

Feature is available in build script files

シグネチャーの変更

Feature is available in C#

Feature is available in Visual Basic

Feature is available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

抽象クラスをインターフェースに変換

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

匿名から名前付き型に変換

Feature is available in C#

Feature is not available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

拡張メソッドをプレーンスタティックに変換

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

インデクサーをメソッドに変換

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

インターフェースを抽象クラスに変換

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

メソッドをインデクサーに変換

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

メソッドをプロパティに変換する

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

プロパティを自動プロパティに変換

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

プロパティをメソッドに変換

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

静的メソッドを拡張メソッドに変換する

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

スコープ付き列挙型に変換

Feature is not available in C#

Feature is not available in Visual Basic

Feature is available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

型をコピー

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is available in XAML

Feature is not available in Resource files

Feature is not available in build script files

フィールドのカプセル化

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

クラスの抽出

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is available in XAML

Feature is not available in Resource files

Feature is not available in build script files

インターフェースの抽出

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is available in XAML

Feature is not available in Resource files

Feature is not available in build script files

メソッドの抽出

Feature is available in C#

Feature is available in Visual Basic

Extract method in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

「スーパークラスの抽出」リファクタリング

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is available in XAML

Feature is not available in Resource files

Feature is not available in build script files

を使用してグローバルに変換するリファクタリング

Feature is available in C#

Feature is not available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

CSS スタイルの抽出

Feature is not available in C#

Feature is not available in Visual Basic

Feature is not available in C++

Feature is available in ASP.NET

Feature is available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

XAML リソースの抽出

Feature is not available in C#

Feature is not available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is available in XAML

Feature is not available in Resource files

Feature is not available in build script files

XAML スタイルを抽出

Feature is not available in C#

Feature is not available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is available in XAML

Feature is not available in Resource files

Feature is not available in build script files

クラスのインライン化

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is available in ASP.NET

Feature is not available in Razor

Feature is available in XAML

Feature is not available in Resource files

Feature is not available in build script files

フィールドのインライン化

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

メソッドのインライン化

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

パラメーターのインライン化

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

非グローバルに変換する方法リファクタリング

Feature is available in C#

Feature is not available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

インラインリソース

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is available in XAML

Feature is available in Resource files

Feature is not available in build script files

インライン XAML リソース

Feature is not available in C#

Feature is not available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is available in XAML

Feature is not available in Resource files

Feature is not available in build script files

変数のインライン化

Feature is available in C#

Feature is not available in Visual Basic

Feature is available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

フィールドの導入

Feature is available in C#

Feature is available in Visual Basic

Introduce field in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

ネームスペースエイリアスの紹介

Feature is not available in C#

Feature is not available in Visual Basic

Feature is available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

パラメーターの導入

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

型エイリアスの導入

Feature is not available in C#

Feature is not available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

typedef の導入

Feature is not available in C#

Feature is not available in Visual Basic

Feature is available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

列挙型を使用して紹介する

Feature is not available in C#

Feature is not available in Visual Basic

Feature is available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

型エイリアスのインライン化

Feature is not available in C#

Feature is not available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

Typedef のインライン化

Feature is not available in C#

Feature is not available in Visual Basic

Feature is available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

変数の導入

Feature is available in C#

Feature is available in Visual Basic

Introduce variable in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

部分文字列に変数を導入する

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

ブール値の反転

Feature is available in C#

Feature is not available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

メソッドを非静的にする

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

メソッド / プロパティを静的にする

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

部分的にする

Feature is available in C#

Feature is not available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

インスタンスメソッドの移動

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

リソースの移動

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is available in XAML

Feature is available in Resource files

Feature is not available in build script files

リソースに移動

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is available in ASP.NET

Feature is available in Razor

Feature is available in XAML

Feature is not available in Resource files

Feature is not available in build script files

タイプを別のファイルに移動

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

フォルダーに移動

Feature is available in C#

Feature is available in Visual Basic

Feature is available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

別の型に移動

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

型を別のネームスペース / モジュールに移動する

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is available in XAML

Feature is not available in Resource files

Feature is not available in build script files

タイプを外部スコープに移動

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

メンバーのプルアップ

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

メンバーのプッシュダウン

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is available in XAML

Feature is not available in Resource files

Feature is not available in build script files

名前変更

Feature is available in C#

Feature is available in Visual Basic

Feature is available in C++

Feature is available in ASP.NET

Feature is available in Razor

Feature is available in XAML

Feature is available in Resource files

Feature is available in build script files

コンストラクターをファクトリメソッドで置換

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

安全な削除

Feature is available in C#

Feature is available in Visual Basic

Feature is available in C++

Feature is available in ASP.NET

Feature is available in Razor

Feature is available in XAML

Feature is available in Resource files

Feature is available in build script files

パラメーター修飾子の追加 / 削除

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

変換パラメーター

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is not available in ASP.NET

Feature is not available in Razor

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

可能な限り基本型を使用する

Feature is available in C#

Feature is available in Visual Basic

Feature is not available in C++

Feature is available in ASP.NET

Feature is not available in Razor

Feature is available in XAML

Feature is not available in Resource files

Feature is not available in build script files

コード生成

コードテンプレート

その他の機能と機能グループ

関連ページ:

プロジェクトの依存関係ダイアグラムを調べる

ReSharper を使用すると、ソリューションアーキテクチャを視覚的に表現して、ソリューション内のプロジェクトの依存関係を調べることができます。アーキテクチャビューが新しいエディタータブで開き、プロジェクトの依存関係を視覚的に調べたり、ソリューションの現在の状態を以前に取得したスナップショットと比較したりできます。プロジェクトの依存関係ダイアグラムを開く:ソリューションエクスプローラーでは、1 つまたは複数のプロジェクト、1 つまたは複数のソリューションフォルダー、ソリューションノードを選択...

名前空間を調整する

このコマンドは、名前空間を任意のスコープのフォルダー構造と同期させるのに役立つ一括修正です。これは、ソリューション全体と同じくらい大きくなる可能性があります。つまり、一部のファイルの名前空間がプロジェクト構造内のファイルの場所に対応していない場合、名前空間はファイルの場所に従って名前が変更され、変更された名前空間を参照するすべての使用ディレクティブが更新されます。デフォルトでは、ReSharper は、各クラスが表示される名前空間がプロジェクト内の場所と一致するとみなします。プロジェクトの「ルー...

例外スタックトレースを調べて移動する

外部スタックトレースを受け取った場合 (たとえば、バグレポートから)、専用のスタックトレースエクスプローラーウィンドウでそれを開き、対応する例外が発生したコードに移動できます。このウィンドウで、ファイル、タイプ、メソッドをクリックして、エディターに表示できます。各スタックトレースは新しいタブで開かれ、それを閉じるかソリューションを閉じるまで使用できます。スタックトレースエクスプローラーウィンドウを閉じた場合は、メニューからを選択して再び開くことができます。例外の原因となったコードに移動する例外ス...

最近使用した箇所と変更を移動する

ReSharper は、あなたの行動やナビゲーションの履歴を記録し、コードを編集した場所や学習したばかりの場所に移動するいくつかのコマンドを提供しています。表示 / 編集されたファイルのリストは、開いたソリューションごとに個別に保存され、ソリューションを閉じるときに保存されます。これは、ソリューションを開いた直後にこのコマンドを呼び出して、以前の作業セッションで作業したファイルのリストを取得できることを意味します。最近表示したファイルに移動する:() このコマンドは、現在のソリューションで最近開...

言語による ReSharper: C#

ReSharper 2025.1 は、C# 11 までのすべての C# バージョンと部分的に C#12 を完全にサポートします。C# は ReSharper が対象とする主要なプログラミング言語であるため、ReSharper のすべての機能 (他の言語に固有の一部の機能を除く) が C# でサポートされます (詳細については、さまざまな言語の ReSharper 機能を参照)。言語バージョンの変更:デフォルトでは、ReSharper は、関連付けられたコンパイラーに基づいて C# バージョンを...

ASP.NET MVC 特有の機能

ReSharper には、一般的な ASP.NET 機能に加えて、ASP.NET MVC での作業をより簡単にサポートする特殊機能があります。構文のハイライト:ASP.NET MVC メソッド呼び出しとパラメーターの特別な構文のハイライト: コード補完:文字列リテラルでアクションとコントローラーを参照するための専用コード補完: ナビゲーションと検索:さまざまなナビゲーション機能がアクションとコントローラーでも機能します。コード生成:使用箇所から新しいコントローラーとアクションを作成する: 最終...