⬆️ ⬇️

Is there life without Resharper?

I have been using such a wonderful product as Resharper for a long time . Would use further if it were not for the generosity of Microsoft and the strange behavior of the seller from JetBrains.

Thus, there is a studio 2013 and the trial license from Resharper-8 ends. I decided to try whether it is possible to live in the studio (for the beginning of the Ultimate edition) without a resharper. In addition, as it is not surprising, some of the developers use only a small set of resharper capabilities. Is it possible to transfer them to the built-in features or free tools, so that the accounting department does not strain in vain.

Research question under the cut.







Yes, I saw that some features of Reshaper and Studio were already compared to Habré, and Resharper 8 contains a lot of something tasty and interesting.

But I hope the additional experience will not be superfluous comparison, but useful.

')

So, can we do without the Reshaper 7 in the studio VS2013 (Ultimate). Let's start with navigation. The source code for the cat is nunit .



Suppose you need to find a definition of the AddinManager type.

ReShaper:

Go to Everything / Type ... (Ctrl + N)

image



purely studio

Inline Navigate To ... (Ctrl +,)





or Navigate To ...





Not bad at all! - I was surprised myself.



The next popular scenario for me is finding all the heirs of the interface. Let's look for them for the IService interface.

ReShaper:

Derived Symbols





Now let's look for a pure studio:

first step (look for type in solution explorer):





Further right click and Derived Types :





There is an even more visual, but less fast Code Map in stock:





Those. heirs can be searched without any problems (although apparently a bit more slowly).



And the most likely popular scenario is “searching for references to a method”: look for where the InitializeService method is called.



Resharper:

Find Usages :





Studio (by clicking on the “12 references” above the method itself):



This method shows not only the call, but also the implementation, which of course is not as beautiful as in resharper.



So , a brief analysis shows that basic (from my experience) navigation scenarios may be more or may be less covered by the studio. In addition, I was so used to Resharper that I could not imagine working without it (even at the level of navigation). This experience broke this "fear of life without resharper". Now you can touch the studio for more complex scenarios (refactoring, running nunit tests).



Thank,

Igor

Source: https://habr.com/ru/post/189024/



All Articles