Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Scope Highlight" feature in Visual Studio? (same as seen in BlueJ for java)

I would like to know (as I've failed so far in finding such a feature in the VS's options), if there is a feature which allow for scope highlighting same as seen in the BlueJ IDE for java, here is an example:

enter image description here

Note how the code blocks are all highlighted with color, when learning java using blueJ i found it to be extremely easy on the eye when looking at code, and everything felt a lot more organized, moving to C# and working on MS visual studio, its all text with some highlighting, Class names, keywords etc etc, but in general it still feel like a black text on a white background and lacking that organized feeling i sorely miss from blueJ,

i noticed there is a similar question here referring to eclipse, Eclipse IDE Scope Highlighting?

just to be on the safe side, ill ask again referring to Visual studio, is there such a feature in VS? is there an add-on \ plugin for VS which allows it?

Thanks in advance for your answer.

like image 982
SwiftHands Avatar asked Jan 02 '13 21:01

SwiftHands


1 Answers

Microsoft provides a free Productivity Power Tools extension for Visual Studio 2013 and 2015. This has a "Structure Visualizer" feature similar to the CodeRush plugin. Both are more subtle than the BlueJ style, but should make scopes a little clearer.

screenshot

Productivity Power Tools 2013

Productivity Power Tools 2015

Update

Visual Studio 2017 integrated a version of this into the core application for C#, Visual Basic, F#, and XAML (as Structure Guide Lines). However, C++ still requires an extension.

like image 137
Kim Avatar answered Nov 15 '22 17:11

Kim