Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to highlight the currently active code block in Visual Studio 2010?

In Visual Studio 2010, if you hover your mouse over the little [-] minus sign, it will highlight that block of code for you. My question is, is there a way for this block to always be highlighted while you are coding inside of it? That way, as I'm hopping between methods and classes, whatever block I'm currently working on would be highlighted to help my eyes quickly focus.

Is there an option within Visual Studio for this? If not, are there any plugins that do this?

enter image description here

like image 394
Cypher Avatar asked May 10 '11 00:05

Cypher


People also ask

How do you see who made changes in Visual Studio code?

Code element-level indicators let you see who changed your code and what changes they made. Code element-level indicators are available for C# and Visual Basic code.

How do I highlight a line in Visual Studio?

Highlight current line To specify the color to highlight the current line, go to the Visual Studio options (Tools | Options), open the Environment | Fonts and Colors page, and then select the desired color for the ReSharper Current Line Highlight item.

How do I see changes made in Visual Studio?

Visual Studio maintains a history of file changes. Modified files are marked with a red check mark in the Solution Explorer. You can compare your changes with the original file by right-clicking on the file name and selecting Compare with Unmodified. The Diff window shows new code in green and removed code in red.


1 Answers

Resharper has some options for this, one will let you outline the braces you are currently in and I think the other lets you highlight the current line

like image 70
Daniel Powell Avatar answered Oct 07 '22 01:10

Daniel Powell