Как установить resharper в visual studio 2019
ReSharper is a Visual Studio extension. It supports Visual Studio 2010, 2012, 2013, 2015, 2017, 2019, and 2022. After installation, you will find the new ReSharper entry in the Extensions menu of Visual Studio. Most ReSharper commands are available in that menu, but there are also a lot of features integrated in the editor, Solution Explorer, and other Visual Studio windows. Most of ReSharper commands are also available with keyboard shortcuts.
Before installation, you may want to check the system requirements.
You can also install and uninstall ReSharper via the command line.
New installation with default settings
Download and run the installer.
Make sure the Install option is selected (blue) next to the products you want to install.
By default, the selected products are installed into all Visual Studio versions on the target machine. If necessary, at the bottom of the installer window, you can deselect some Visual Studio versions. (the selected versions are blue).
Read and accept the license agreement and then click Next at the bottom of the installer dialog.
Review the products to be installed and click Install .
Deal with previous versions
ReSharper does not allow you to install its different versions in the same Visual Studio version. However, several different ReSharper versions can be installed in different Visual Studio versions.
Under each product that was installed previously there is the Product installation(s) section, which you can expand to see what happens to the previous versions.
Installation for all users of a computer
Download and run the installer.
Make sure the Install option is selected (blue) next to the products you want to install.
By default, the selected products are installed into all Visual Studio versions on the target machine. If necessary, at the bottom of the installer window, you can deselect some Visual Studio versions. (the selected versions are blue).
Click Options at the bottom of the dialog.
Select Install for all users on this machine , click Apply , and then allow the elevated permissions in the Windows UAC dialog.
The product selection page will open again indicating the All users installation at the top.
Read and accept the license agreement and then click Next at the bottom of the installer dialog.
Review the products to be installed and click Install .
Silent installation via command line (Administrative mode)
You can use the installer to create a command line with all configuration options. You can then copy that command and use it in your custom installation scenario. For example, you can put the installer in a shared folder and place a batch file with the command next to it. As soon as the user executes the batch file the specified configuration is silently installed on their computer.
You can find the full list of the command-line parameters in this article.
Download and run the installer. Make sure that it is the offline installer and not the web installer (the downloaded file should be named JetBrains.dotUltimate..exe ).
Click Options at the bottom of the dialog.
The product selection page will open again indicating the Administrative mode at the top.
First, select target Visual Studio versions then choose which products should be installed.
Read and accept the license agreement and then click Next at the bottom of the installer dialog.
The installer will generate a program line command that you can copy.
Manage ReSharper via Toolbox App
Toolbox App is a control panel that allows you to manage all JetBrains developer tools, including ReSharper, from a single point of access. It lets you launch ReSharper in different versions of Visual Studio, maintain different versions of the same tool, install updates and roll them back if needed. It also remembers your JetBrains Account and uses it to automatically log you in when you install and register new tools.
Install ReSharper via Toolbox App
Launch the setup file.
When the installation is complete, accept the JetBrains privacy policy and sign in with your JetBrains Account.
Now you can manage existing tools, install new tools, and download updates:
Install into experimental instance of Visual Studio
Visual Studio's experimental instance feature (previously known as custom hives) is intended for developing and debugging Visual Studio extensions, and maintains a separate copy of the configuration needed to run Visual Studio. Each experimental instance can have an entirely different configuration, from theme and window layout to the extensions that are loaded.
To install to an experimental instance, run the installer, click Options , select Install into experimental instance and enter the name of the instance. The experimental instance does not need to exist before starting the installation.
To launch Visual Studio in an experimental instance, run the Visual Studio executable in the command line with the following parameter:
Installation directories
%\PROGRAMFILES(x86)%\JetBrains\Installations for 64-bit systems and
%PROGRAMFILES%\JetBrains\Installations for 32-bit systems.
Directories of products installed into experimental instances of Visual Studio have the experimental instance name as a suffix.
Installation log
If something goes wrong during the installation, you can study the installer log. Regardless of how you install ReSharper, you can find the log in the following directories.
ReSharper is a popular developer productivity extension for Microsoft Visual Studio. It automates most of what can be automated in your coding routines. It finds compiler errors, runtime errors, redundancies, and code smells right as you type, suggesting intelligent corrections for them.
ReSharper helps you explore code by visualizing the structure of files, type and style hierarchies, call and value chains, project dependencies. It allows you to instantly traverse your entire solution and jump right to the exact file and line that you are looking for, decompiling library code if necessary.
Dozens of solution-wide refactorings are available to help you safely change your code base. Code formatting and cleanup features allow you to get rid of unused code and help your entire team to ensure compliance to coding standards.
Why ReSharper
You can spend less time on routine, repetitive manual work and instead focus on the task at hand. A robust set of features for automatic error-checking and code correction cuts development time and increases your efficiency. You’ll find that ReSharper quickly pays back its cost in increased developer productivity and improved code quality. With ReSharper, .NET developers can truly experience what we mean when we say "Develop with pleasure!"
What’s New in ReSharper 2021.2
Navigation
- While debugging, ReSharper understands even more about your code. As a result, calling Go To Declaration (or Ctrl+Click) on interface references will take you directly to their implementations.
- The Go To Base/Inheritors list now shows hidden overrides, as well.
Code Styling and Formatting
- Advanced naming rules for records, extension methods, and catch variables.
- The Pico brace (indenting) style has been added as an option on the Brace Layout tab.
Dynamic Program Analysis (DPA)
- DPA now stores two values for each issue – the historical max value and the value from the last run.
- The DPA window now supports selecting multiple issues.
Assembly Explorer
- The embedded decompiler can now decompile single-file apps.
Continuous code quality analysis
Project dependency analysis
Invaluable for large solutions, ReSharper can build project hierarchies and visualize project dependency graph, which you can save and compare with new solution states at various stages, all without compiling anything. Right from the project hierarchy or visual dependency graph, you can invoke navigation actions and refactorings.
Advanced coding assistance
ReSharper offers a number of ways for streamlining common coding tasks to increase your productivity and save your time. It extends and improves native Visual Studio IntelliSense, enables you to view documentation for types and their members right in the editor, provides quick code transformations using context actions, and a lot more.
Instant code navigation
ReSharper’s navigation features help you instantly traverse your entire solution. You can jump to any file, type, or member in your code base in no time. No need to remember exact names: ReSharper understands lower camel case and wildcards in your input and sorts the results by relevance. All possible destinations including recent edits, related files or library types are at your fingertips.
From a specific symbol, you can navigate to its usages, base and derived symbols or implementations, highlight usages in the editor, view the inheritance hierarchy in a dedicated window, and more.
If necessary, you can dig beyond the source code of your solution — ReSharper will bring the referenced library code from symbol servers or decompile it right in the editor. The integrated decompiler lets you open compiled libraries from .dll or .exe files and study their source and IL code.
Solution-wide refactorings
ReSharper’s set of refactorings enhances the basic facilities provided in Visual Studio in terms of number, usability and scope of application. Change Signature, Convert Method to Property, Extract Style/Resource, Move to Another File, Safe Delete, Transform Parameters — to name just a few of 50+ ReSharper’s refactorings.
Each of the refactorings analyzes the entire scope of the code where it is applied (which can be as wide as your whole solution), including cross-language code, and uses this insight to update the code structure in the most intelligent way possible.
Code generation to handle boilerplate code
Code generation helps create properties, override members, implement formatting and equality check methods. If required members are missing, the generation actions appear in the action list for the problematic type. Even more, you can use a method/function, property, local or field variable or even a class before it’s been declared: ReSharper will suggest quick-fixes for generating the corresponding symbol based on the usage.
Extensible code templates
Another helpful option for dealing with repetitive code is code templates. Live templates, a more intelligent version of Visual Studio’s code snippets, allow inserting code blocks based on context. Surround templates work the same way, letting you enclose the existing code in a specific block. File templates help create new files or file sets with predefined content without leaving the editor. ReSharper includes plenty of predefined templates of all types, which cover most frequently used code constructs for all supported languages. If you need to add your own templates to the existing set, manage or share them, ReSharper makes it easy with the dedicated template editor and template explorer.
One more typing-booster feature is postfix templates, which let you transform expressions that you have already typed without jumping backwards — just type a dot after an expression and pick a template from the completion list.
Code formatting and ordering
Debugging assistance and breakpoints navigation
ReSharper streamlines your debugging experience by showing you values of local variables, current line expressions, and function returns right in the editor, next to the corresponding code lines. It also provides an improved replacement for Visual Studio DataTips, which are searchable and allow you to customize the presentation of objects.
On top of that, ReSharper helps you debug any external modules, even those that do not have debug information (PDB).
Painless maintenance of localizable resources
Manage, run and debug unit tests in Visual Studio
ReSharper automatically detects xUnit, NUnit, MSTest, QUnit, and Jasmine unit tests in your projects. Other unit testing frameworks such as MSpec are supported via ReSharper extensions. ReSharper runs unit tests in the Unit Test Sessions window, which is designed to help you run any number of sessions, either independently of each other or simultaneously. Unit test sessions can be composed of any combination of tests.
ReSharper extensions
ReSharper extensions, which include full-fledged plug-ins, sets of templates, SSR patterns, and more, are extremely easy to discover, install, and update. Among the most popular extensions are Unity Support for ReSharper, Cyclomatic complexity calculator, and many others.
To get the full story on ReSharper’s feature set, please visit the ReSharper Features page.
Расширение для Microsoft Visual Studio — JetBrains ReSharper Ultimate 2019.1.1
Расширение для Microsoft Visual Studio — JetBrains ReSharper Ultimate 2019.1.1
Системные требования:
Одна из следующих операционных систем (для оптимальной производительности рекомендуются 64-разрядные версии):
Microsoft Windows 10
Microsoft Windows Server 2012 R2
Microsoft Windows 8.1
Microsoft Windows Server 2012
Microsoft Windows 8
Microsoft Windows Server 2008 R2
Microsoft Windows 7
Торрент Расширение для Microsoft Visual Studio — JetBrains ReSharper Ultimate 2019.1.1 подробно:
Ключевые возможности:
·Статический анализ качества кода и автоматическое исправление обнаруженных проблем
Для всех поддерживаемых языков ReSharper распознает ошибки компиляции, времени выполнения и логические ошибки, а также избыточные и не оптимальные конструкции, и подсвечивает обнаруженные проблемы прямо в редакторе. Более тысячи инспекций, которые ReSharper использует для поиска проблем в коде, позволят мгновенно увидеть все потенциально опасные места в текущем файле или даже во всем решении Visual Studio. Для большинства из них ReSharper предложит один или более вариантов автоматического исправления.
·Новые функции в редакторе
При работе в редакторе вы быстро привыкнете к полезным мелочам ReSharper, таким как подсветка синтаксиса кода, улучшенный IntelliSense, автоматический импорт сборок, сотни контекстных действий, встроенная документация символов, переупорядочивание фрагментов кода и многое другое.
·Очистка кода, единые настройки именования и форматирования
Механизм хранения настроек ReSharper позволяет синхронизировать их внутри команды, при необходимости комбинируя персональные и командные настройки. Этот механизм особенно полезен для настроек, касающихся стандартов оформления кода, таких как именование символов и форматирование. Функция очистки кода позволит быстро переформатировать код после изменения настроек, вставить или обновить заголовки файлов, а также применить ряд других действий, чтобы привести существующий код в соответствие с внутренними стандартами.
·Генерация кода и шаблоны
В ReSharper доступно несколько различных функций для работы с повторяющимися конструкциями кода. Генерация кода для типа поможет быстро добавить конструкторы, переопределения методов, свойства, делегаты и другие члены. Встроенные шаблоны покрывают большинство типовых конструкций, таких как, например, try…catch и if…else, а специальный редактор шаблонов поможет вам создать любые другие необходимые шаблоны. Кроме того, ReSharper позволяет использовать методы, переменные и даже классы, которые не были объявлены: все необходимые объявления будут сгенерированы автоматически.
·Рефакторинг кода
Набор рефакторингов, предлагаемый ReSharper, превосходит аналогичную функциональность Visual Studio как по количеству функций, так и по удобству их использования. В дополнение к рефакторингам, которые, в основном, ориентированы на масштабные трансформации, ReSharper включает сотни контекстных действий для небольших преобразований.
Что нового в 2019.1.1:
·Both hotfix releases address the issue where unit tests were not being discovered/run or failed with the error message “The given key was not present in the dictionary” which resulted in broken code completion.
·In addition to this, ReSharper Ultimate 2019.1.1 has a fix for the licensing issue where sometimes the error “We could not validate your license (license id) via JetBrains Account” would occur.
Процедура лечения:
1. Установите Resharper.
2. Заменить файл JetBrains.Platform.Shell.dll в папках "C:\Users\\AppData\Local\JetBrains\Installations\ReSharperPlatformVs"
3. Если вы также установили дополнительные модули — dotMemory, dotCover и прочие, то также замените файл JetBrains.Platform.Shell.dll в папках "C:\Users\\AppData\Local\JetBrains\Installations\>"
4. Запустите VS, "Расширения" -> "ReSharper" -> "Help" -> "License information" -> "Start evaluation" для активации установленных модулей.
Скриншоты Расширение для Microsoft Visual Studio — JetBrains ReSharper Ultimate 2019.1.1 торрент:
I installed ReSharper successfully but, still ReSharper was not appeared on Visual Studio’s tab.
I will be glad if you can help me to fix this problem.
2 Answers 2
In VS2019, Microsoft groups all 3rd party extensions under the Extension Menu
In Visual Studio 2019 top level menus from extensions are moved to the Extensions menu as submenus
With a 3rd party extension Extensions in Main menu you can move the entries back to main menu:
Starting from Visual Studio 2019, all extensions previously located in the Main menu were moved into the Extensions menu. This extension allows choosing between the new and old behavior by bringing up selected extensions into the Main menu.
Как активировать вкладку Active Resharper в Visual Studio 2019?
Я успешно установил ReSharper, но ReSharper так и не появился на вкладке Visual Studio.
Я буду рад, если вы сможете помочь мне решить эту проблему.
В VS2019 Microsoft группирует все сторонние расширения в меню расширений.
В Visual Studio 2019 меню верхнего уровня из расширений перемещаются в меню расширений в качестве подменю
С помощью расширения сторонних расширений в главном меню вы можете переместить записи обратно в главное меню:
Начиная с Visual Studio 2019, все расширения, ранее находившиеся в главном меню, были перемещены в меню расширений. Это расширение позволяет выбирать между новым и старым поведением, вызывая выбранные расширения в главном меню.
Как активировать вкладку Active Resharper на Visual Studio 2019?
Я успешно установил ReSharper но ReSharper все еще не появился на вкладке Visual Studio.
Я буду рад, если вы сможете помочь мне решить эту проблему.
2 ответа
В VS2019, Microsoft группирует все сторонние расширения в меню расширений
В Visual Studio 2019 меню верхнего уровня из расширений перемещаются в меню расширений в качестве подменю
С помощью стороннего расширения Расширения в главном меню вы можете переместить записи обратно в главное меню:
Начиная с Visual Studio 2019, все расширения, ранее находившиеся в главном меню, были перемещены в меню расширений. Это расширение позволяет выбирать между новым и старым поведением, вызывая выбранные расширения в главном меню.
Если вы правильно установили его, вы найдете расширение resharper, щелкнув пункт меню Extensions -> ReSharper .
Installation Guide
ReSharper is a Visual Studio extension. It supports Visual Studio 2010, 2012, 2013, 2015, 2017, and 2019. After installation, you will find the new ReSharper entry in the Extensions menu of Visual Studio. Most ReSharper commands are available in that menu, but there are also a lot of features integrated in the editor, Solution Explorer, and other Visual Studio windows. Most of ReSharper commands are also available with keyboard shortcuts.
Before installation, you may want to check the system requirements.
You can also install and uninstall ReSharper via the command line.
New installation with default settings
Download and run the installer.
Make sure the Install option is selected (blue) next to the products you want to install.
By default, the selected products are installed into all Visual Studio versions on the target machine. If necessary, at the bottom of the installer window, you can deselect some Visual Studio versions. (the selected versions are blue).
Read and accept the license agreement and then click Next at the bottom of the installer dialog.
Review the products to be installed and click Install .
Deal with previous versions
ReSharper does not allow you to install its different versions in the same Visual Studio version. However, several different ReSharper versions can be installed in different Visual Studio versions.
Under each product that was installed previously there is the Product installation(s) section, which you can expand to see what happens to the previous versions.
Installation for all users of a computer
Download and run the installer.
Make sure the Install option is selected (blue) next to the products you want to install.
By default, the selected products are installed into all Visual Studio versions on the target machine. If necessary, at the bottom of the installer window, you can deselect some Visual Studio versions. (the selected versions are blue).
Click Options at the bottom of the dialog.
Select Install for all users on this machine , click Apply , and then allow the elevated permissions in the Windows UAC dialog.
The product selection page will open again indicating the All users installation at the top.
Read and accept the license agreement and then click Next at the bottom of the installer dialog.
Review the products to be installed and click Install .
Silent installation via command line (Administrative mode)
You can use the installer to create a command line with all configuration options. You can then copy that command and use it in your custom installation scenario. For example, you can put the installer in a shared folder and place a batch file with the command next to it. As soon as the user executes the batch file the specified configuration is silently installed on their computer.
You can find the full list of the command-line parameters in this article.
Download and run the installer. Make sure that it is the offline installer and not the web installer (the downloaded file should be named JetBrains.dotUltimate..exe ).
Click Options at the bottom of the dialog.
The product selection page will open again indicating the Administrative mode at the top.
First, select target Visual Studio versions then choose which products should be installed.
Read and accept the license agreement and then click Next at the bottom of the installer dialog.
The installer will generate a program line command that you can copy.
Manage ReSharper via Toolbox App
Toolbox App is a control panel that allows you to manage all JetBrains developer tools, including ReSharper, from a single point of access. It lets you launch ReSharper in different versions of Visual Studio, maintain different versions of the same tool, install updates and roll them back if needed. It also remembers your JetBrains Account and uses it to automatically log you in when you install and register new tools.
Install ReSharper via Toolbox App
Launch the setup file.
When the installation is complete, accept the JetBrains privacy policy and sign in with your JetBrains Account.
Now you can manage existing tools, install new tools, and download updates:
Install into experimental instance of Visual Studio
Visual Studio’s experimental instance feature (previously known as custom hives) is intended for developing and debugging Visual Studio extensions, and maintains a separate copy of the configuration needed to run Visual Studio. Each experimental instance can have an entirely different configuration, from theme and window layout to the extensions that are loaded.
To install to an experimental instance, run the installer, click Options , select Install into experimental instance and enter the name of the instance. The experimental instance does not need to exist before starting the installation.
To launch Visual Studio in an experimental instance, run the Visual Studio executable in the command line with the following parameter:
Installation directories
%\PROGRAMFILES(x86)%\JetBrains\Installations for 64-bit systems and
%PROGRAMFILES%\JetBrains\Installations for 32-bit systems.
Directories of products installed into experimental instances of Visual Studio have the experimental instance name as a suffix.
Installation log
If something goes wrong during the installation, you can study the installer log. Regardless of how you install ReSharper, you can find the log in the following directories.
What's ReSharper
ReSharper is a popular developer productivity extension for Microsoft Visual Studio. It automates most of what can be automated in your coding routines. It finds compiler errors, runtime errors, redundancies, and code smells right as you type, suggesting intelligent corrections for them.
ReSharper helps you explore code by visualizing the structure of files, type and style hierarchies, call and value chains, project dependencies. It allows you to instantly traverse your entire solution and jump right to the exact file and line that you are looking for, decompiling library code if necessary.
Dozens of solution-wide refactorings are available to help you safely change your code base. Code formatting and cleanup features allow you to get rid of unused code and help your entire team to ensure compliance to coding standards.
Why ReSharper
You can spend less time on routine, repetitive manual work and instead focus on the task at hand. A robust set of features for automatic error-checking and code correction cuts development time and increases your efficiency. You'll find that ReSharper quickly pays back its cost in increased developer productivity and improved code quality. With ReSharper, .NET developers can truly experience what we mean when we say "Develop with pleasure!"
What's New in ReSharper 2022.1
- New Extract Global Using and Inline Global Using refactorings
- Support for minimal APIs and convention-based routing
- Support for [EditorRequired] attribute for Blazor
- Navigation through inheritance hierarchy to Razor code
- Format selection, Cleanup selection, and Apply syntax style were combined into the Reformat and Cleanup item
- Support for musl-based Linux distributions in command-line tools
Continuous code quality analysis
Project dependency analysis
Invaluable for large solutions, ReSharper can build project hierarchies and visualize project dependency graph, which you can save and compare with new solution states at various stages, all without compiling anything. Right from the project hierarchy or visual dependency graph, you can invoke navigation actions and refactorings.
Advanced coding assistance
ReSharper offers a number of ways for streamlining common coding tasks to increase your productivity and save your time. It extends and improves native Visual Studio IntelliSense, enables you to view documentation for types and their members right in the editor, provides quick code transformations using context actions, and a lot more.
Instant code navigation
ReSharper's navigation features help you instantly traverse your entire solution. You can jump to any file, type, or member in your code base in no time. No need to remember exact names: ReSharper understands lower camel case and wildcards in your input and sorts the results by relevance. All possible destinations including recent edits, related files or library types are at your fingertips.
From a specific symbol, you can navigate to its usages, base and derived symbols or implementations, highlight usages in the editor, view the inheritance hierarchy in a dedicated window, and more.
If necessary, you can dig beyond the source code of your solution - ReSharper will bring the referenced library code from symbol servers or decompile it right in the editor. The integrated decompiler lets you open compiled libraries from .dll or .exe files and study their source and IL code.
Solution-wide refactorings
ReSharper's set of refactorings enhances the basic facilities provided in Visual Studio in terms of number, usability and scope of application. Change Signature, Convert Method to Property, Extract Style/Resource, Move to Another File, Safe Delete, Transform Parameters - to name just a few of 50+ ReSharper's refactorings.
Each of the refactorings analyzes the entire scope of the code where it is applied (which can be as wide as your whole solution), including cross-language code, and uses this insight to update the code structure in the most intelligent way possible.
Code generation to handle boilerplate code
Code generation helps create properties, override members, implement formatting and equality check methods. If required members are missing, the generation actions appear in the action list for the problematic type. Even more, you can use a method/function, property, local or field variable or even a class before it's been declared: ReSharper will suggest quick-fixes for generating the corresponding symbol based on the usage.
Extensible code templates
Another helpful option for dealing with repetitive code is code templates. Live templates, a more intelligent version of Visual Studio's code snippets, allow inserting code blocks based on context. Surround templates work the same way, letting you enclose the existing code in a specific block. File templates help create new files or file sets with predefined content without leaving the editor. ReSharper includes plenty of predefined templates of all types, which cover most frequently used code constructs for all supported languages. If you need to add your own templates to the existing set, manage or share them, ReSharper makes it easy with the dedicated template editor and template explorer.
One more typing-booster feature is postfix templates, which let you transform expressions that you have already typed without jumping backwards — just type a dot after an expression and pick a template from the completion list.
Code formatting and ordering
Debugging assistance and breakpoints navigation
ReSharper streamlines your debugging experience by showing you values of local variables, current line expressions, and function returns right in the editor, next to the corresponding code lines. It also provides an improved replacement for Visual Studio DataTips, which are searchable and allow you to customize the presentation of objects.
On top of that, ReSharper helps you debug any external modules, even those that do not have debug information (PDB).
Painless maintenance of localizable resources
Manage, run and debug unit tests in Visual Studio
ReSharper automatically detects xUnit, NUnit, MSTest, QUnit, and Jasmine unit tests in your projects. Other unit testing frameworks such as MSpec are supported via ReSharper extensions. ReSharper runs unit tests in the Unit Test Sessions window, which is designed to help you run any number of sessions, either independently of each other or simultaneously. Unit test sessions can be composed of any combination of tests.
ReSharper extensions
ReSharper extensions, which include full-fledged plug-ins, sets of templates, SSR patterns, and more, are extremely easy to discover, install, and update. Among the most popular extensions are Unity Support for ReSharper, Cyclomatic complexity calculator, and many others.
To get the full story on ReSharper's feature set, please visit the ReSharper Features page.
I installed ReSharper, and it works in Visual Studio, but how can I disable it?
Whenever I search in the ReSharper menu, I can't find a disable option.
The suspend option by @matthew.perron works for me, but I also lost all the built-in code-analysis/inspection of Visual Studio :(
13 Answers 13
You can disable ReSharper 5 and newer versions by using the Suspend Now button in menu Tools → Options → ReSharper.
If you want to do it without clicking too much, open the Command Window ( Ctrl + W , A ) and type:
ReSharper_Suspend or ReSharper_Resume depending on what you want.
Or you can even set a keyboard shortcut for this purpose. In Visual Studio, go to Tools -> Options -> Environment -> Keyboard.
There you can assign a keyboard shortcut to ReSharper_Suspend and ReSharper_Resume .
The Command Window can also be opened with Ctrl + Alt + A , just in case you're in the editor.
Any option to disable it completely. It conflicts with keyboard. I don't want to do any changes with ReSharper - just disable, not suspend. Suspend keeps the shortcut to itself!
As also mentioned in other answers: there is also a hotkey called ReSharper_ToggleSuspended which allows you to use one HotKey to switch between suspended and resume.
Bind ReSharper_ToggleSuspended to a shortcut key.
- Tools>Options
- Click Keyboard on the left hand side
- Type "suspend" in the "Show commands containing:" input box
- Pick the "ReSharper_ToggleSuspended"
- Press shortcut keys: and
- Press the "Assign" button.
Binding ReSharper_ToggleSuspended to a shortcut key (in my case: Ctrl-Shift-Q) works very well. With ReSharper not supporting the async CTP yet (as of mid-2011), when dipping into the code the uses the async keyword, this shortcut is invaluable.
I find this the most practical of the solutions posted for temporarily suspending ReSharper (and it's easy to see the current state by the presence/absence of the ReSharper menu bar entry). One notable case is when switching solution configurations for reasonably large (> 50 project) solutions. This operations is approx 10x slower with ReSharper enabled (252 seconds vs. 25 seconds without). It is very handy to be able to toggle ReSharper off temporarily for tweaking project settings, then re-enable, without requiring reloading or option menu drilling.
I always forget how to do this and this is the top result on Google. IMO, none of the answers here are satisfactory.
So the next time I search this and to help others, here's how to do it and what the button looks like to toggle it:
- Make sure Resharper is currently enabled or the commands may fail.
- Open package manager console via the Quick Launch bar near the caption buttons to launch a PowerShell instance.
- Enter the code below into the Package Manager Console Powershell instance:
If you want to add it to the standard toolbar:
If you want to add it to a new custom toolbar:
If you mess up and need to start over, remove it with:
In addition to adding the button, you may wish to add the keyboard shortcut
ctrl+shift+Num -, ctrl+shift+Num - that is: ctrl + shift + - + -
Читайте также: