ReSharper

from Wikipedia, the free encyclopedia
ReSharper
Basic data

developer JetBrains
Current  version 2019.1.3
(July 10, 2019)
operating system Windows
category software
License commercially
www.jetbrains.com/resharper

ReSharper [ ˈɹiːˌʃɑːɹpɚ ], also R #, ( English : synthesis of the words Re and Sharper ) is an extension published by JetBrains for Microsoft's development environment Visual Studio . ReSharper currently supports the versions Visual Studio 2010, 2012, 2013, 2015, 2017 and 2019 Preview.

ReSharper upgrades the Visual Studio development environment with various functions that are particularly helpful during development. ReSharper is a way to adapt Visual Studio to the features of comparable products such as IntelliJ IDEA , Eclipse or X-develop. ReSharper currently only supports the languages C # , C ++ , Visual Basic .NET , XAML , JavaScript , TypeScript , CSS , HTML and XML as well as the technologies ASP.NET and ASP.NET MVC . The code analysis takes place parallel to the programming and thus immediately offers suggestions for improvement. These can be adopted with one click. The code analysis includes rules of the programming style that you can create yourself . Similar to Visual Studio itself, ReSharper finds unused / inaccessible code and offers code generation and refactoring .

ReSharperC ++ is included in the Resharper Ultimate license.

properties

Some of the functions listed below are already available in the IDE Visual Studio. In ReSharper, however, these were implemented much earlier and still have a larger range of functions. Example: When a member is renamed, not only the references are changed, but also the comments.

  • Refactoring - extracting methods / properties / classes
  • Create your own programming style
    • Determination of the notation of variables / properties and methods
    • Rules for setting brackets and indentations
    • Determine the order of the members
    • Preference of var
    • Violations can be classified as a warning or an error
    • Semi-automatic cleanup of the code according to the defined programming style
  • Code smells are indicated by warnings
    • Problem with closure in parallel programming
    • Going through collections twice
    • Preferring LINQ in some loops
    • Redundant parts in the code
    • Notes on members that should be constant or static
    • Notes on code structure (indentation)
    • over 1300 inspection rules are used here
  • Extended navigation options
    • Go to implementation (of an interface)
    • Go to type, member, file
    • Enables the inspection of external code, if necessary, source code that is not in the original is generated from the DLLs ( decompiled )

For most of the rules that are defined and checked, ReSharper also offers a quick-fix action to format / structure the code at the point according to the rules.

Individual evidence

  1. ReSharper download page
  2. ^ ReSharperC ++ page

Web links