Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resharper braces

Tags:

resharper

In resharper 4.5 for VS2008, is there a way to get a solid straight line to be shown between starting brace and ending braces.

like image 683
Prashant Avatar asked Feb 04 '10 17:02

Prashant


People also ask

Where do you put curly braces C++?

When writing a function, or a class, or an if statement, or a loop, C++ uses an opening curly brace to begin the body of the function, class, if/else statement, or loop. Then you put all the normal statements and close it all with a matching closing curly brace.

How do I set rules in ReSharper?

Change an individual formatting rule with a comment You can look it up on the Code Editing | [Language] | Formatting Style page of ReSharper options ( Alt+R, O ) or alternatively, you can select a code block where the desired rule applies, press Alt+Enter , and choose Format selection | Configure.


1 Answers

You can add that feature to Visual Studio by installing CodeRush Xpress (it's compatible with ReSharper). Free download is here:

http://www.devexpress.com/crx

That feature is called Structural Highlighting and you can see a screen shot of it on this page.

like image 114
Mark Miller Avatar answered Nov 16 '22 19:11

Mark Miller