Visual Studio 2013 C++ outlining / collapsing if/else/while code regions
Asked Answered
C

2

22

Apparently in VS13 they removed the outlining section in Option -> Text Editor -> C++ -> Formatting.

Is there a way of collapsing if/while/etc statements in VS2013 C++? I know about the C# plugin and already got that, but I'm searching for a solution for a C++ enviroment.

Cheers!

Cairistiona answered 28/12, 2013 at 23:7 Comment(7)
It is still there, Text Editor -> C++ -> View, Outline Statement Blocks.Frottage
Thanks, can't believe I missed that. I've gone to the hassle of creating an extension that would solve that based on the C# 2013 Outline one . . .Cairistiona
@HansPassant: Argh! That's an answer! :-)Clevey
Hmm, could have sworn it was nothing but a silly oversight. Let's not document every IDE setting in plain sight that somebody is going to overlook some day.Frottage
@Hans: I agree but that's a problem with the question that I don't think should result in answers being posted as comments instead. I'm not aware of any "only post comments to questions of which you disapprove" rule. The Q&A format stands in such situations, unless you opt to close-vote instead.Clevey
viewed: 2666 times Seems like quite a lot of people are still searching for this one.Cairistiona
What edition of VS13 you are using? (I mean Express/Community/Pro etc)Rosauraroscius
C
30

Answered by Hans Passant: "It is still there, Text Editor -> C++ -> View, Outline Statement Blocks"

Cairistiona answered 29/12, 2013 at 15:15 Comment(0)
V
10

For Visual Studio 2013,


Tools -> Options -> Text Editor -> C++ -> Formatting -> Outline Statement Blocks -> Enabled.

Viridity answered 5/3, 2015 at 5:29 Comment(1)
In my case I have VS2013 Professional, this solves the problem.Rosauraroscius

© 2022 - 2024 — McMap. All rights reserved.