0

When I press the hotkey CTRL M O it does fold everything, is possible to don't fold comments?

Currently using Visual Studio with c++.

1 Answers1

2

It is not possible, in Visual Studio for C++ projects.

You can check here: Outlining, there lists the all optional options for “collapse” and “expand”. Normally, there are five commands for “collapse” and “expand”:

1). Toggle Outlining Expansion Ctrl+M, Ctrl+M

2). Toggle All Outlining Ctrl+M, Ctrl+L

3). Stop Outlining Ctrl+M, Ctrl+P

4). Stop Hiding Current Ctrl+M, Ctrl+U

5). Collapse to Definitions Ctrl+M, Ctrl+O

but none of them meet your requirements, you can only expand(disable folding comments) them one by one.

You can suggest this feature to VS Product Team on Microsoft Developer Community.