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

后端 未结 4 543
陌清茗
陌清茗 2021-01-04 22:12

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 t

4条回答
  •  时光取名叫无心
    2021-01-04 22:49

    Highlight everything you want your eyes to focus on and press ctrl+H.

    Or, highlight everything you DON"T want and right click "Outlining" then select "Hide Selection." The short cut for that is ctrl+M

提交回复
热议问题