ReSharper 2019.2

ReSharper 2019.2
Adds improved support for C# 8.0, updates in Navigation and Find Usages.


Feature Release

August 09, 2019 - 15:06
ReSharper 2019.2
Enhanced C# support in ReSharper 2019.2.

Enhanced C# support

Take full advantage of C# 8 with ReSharper’s enhanced support:

  • Supports the latest changes in indices and ranges such as indexable and rangeable types.
  • The context action Add range check now supports indexing by System.Index/System.Range and produces correct checks.
  • Supports unmanaged generic structs.
  • Two new inspections, ‘Convert switch statement to switch expression' and 'Convert chain of ternary expressions to switch expression', with a corresponding ‘Convert to switch expression' quick-fix.
  • The context action Convert concatenation to interpolation can now be applied in scope.

Faster startup times

  • Borrowing from Rider, ReSharper started using the MSBuild-based project model instead of the Visual Studio COM API. This will help optimize solution loading times as we’ve minimized the use of COM API, which locks the UI thread.
  • In addition, the Performance Guide page has been updated. It has a new Windows Defender section and descriptions for all performance tips, which describe what exactly will be done after a suggestion is applied.

Navigations and Find Usages

  • Find Usages starts using the data from Solution Wide Error Analysis to gather the results. If you enable SWEA for your solution, Find Usage will show you results significantly faster.
  • Other improvements to Navigation include:
    • You can search in a file right through the "Go to File Member" dialog. The list of results will have the names of all matching members and all the places where the search string appears in the file.
    • In the Go To Text results window, you can now filter out the comment lines if you are not interested in looking for occurrences in comment strings.

Debugger Data Tips

  • Adds new toggles: implicit function evaluation and auto evaluate property.
  • They respect the setting "Enable property evaluation and other implicit function calls" and can evaluate property values on demand.

Code style & code formatter

  • To improve C# 8.0 support, new formatting options for switch expressions have been added.
  • Support for .editorconfig, StyleCop.Settings, and .clang-format now performs better and is switched on by default for highlighting and Solution Wide Error Analysis.
  • You can also edit EditorConfig properties right inside the Options page.

Other features

  • Parameter name hints have performance improvements and new heuristics.
  • A new tooltip with the keyword description is available in the IL Viewer.
  • The Advanced symbols options dialog under ReSharper | Options | Tools | External Sources now supports relative paths.
  • The Assembly Explorer tool window now has a 'Summary' property on the "Properties" tab and an unmanaged (win32) resources subtree.