image47dd1de4

Good,

If you work with Visual Studio in any of its versions is very likely that you know the task pane (all). As well, ReSharper has taken this idea and the evolved enough to define a very powerful task pane. First let’s see the configuration of the elements shown in the panel:

image

Each element corresponds to a regular expression which is analyzed in the Visual Studio IDE, within the code, comments, etc. In this way, we have a much more "intelligent" task pane that the has Visual Studio. In addition, obviously, we can configure the icon that appears in the panel, the color of the text, and other options.

image

You have when, for example we defined type NotImplementedException items as elements to display in the pane, the following code will show us interesting elements.

   1: namespace ConsoleApplication2

   2: {

   3:     class Sample : ISample

   4:     {

   5:         public void DoSomething()

   6:         {

   7:             throw new System.NotImplementedException();

   8:         }

   9:         public void Foo()

  10:         {

  11:             throw new System.NotImplementedException();

  12:         }

  13:         public void Bar()

  14:         {

  15:             throw new System.NotImplementedException();

  16:         }

  17:     }

  18: }

  19: namespace MyNamespace

  20: {

  21:     using ConsoleApplication2;

  22:     class Sample2 : ISample

  23:     {

  24:         public void DoSomething()

  25:         {

  26:             throw new System.NotImplementedException();

  27:         }

  28:         public void Foo()

  29:         {

  30:             throw new System.NotImplementedException();

  31:         }

  32:         public void Bar()

  33:         {

  34:             throw new System.NotImplementedException();

  35:         }

  36:     }

  37: } 

Organizing items by Namespaces and Types,

image

or showing only the types

image

We can also export the contents in plain format, XML or HTML format. But perhaps the most interesting aspect is that when save the configuration of the elements show how everyone, so we can save at a local level, in a shared area of the project, or even at level computer for all projects. We are that it is one more than interesting for those small "notes" that we leave in our code and do not want to forget option.

image

Greetings @ Home

The Bruno

Download: http://www.JetBrains.com/resharper

Leave a comment

Discover more from El Bruno

Subscribe now to keep reading and get access to the full archive.

Continue reading