Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8718737
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:37:08+00:00 2026-06-13T06:37:08+00:00

I want a Visual Studio plugin to collapse C++ code in visual. For example,

  • 0

I want a Visual Studio plugin to collapse C++ code in visual. For example, I want to collapse the statements in a if block (as shown below). I know Visual Studio has the “outline” menu, but it doesn’t seem to work well for me because it sometimes collapses macro defines and other things.

Does anyone know of a tool that can help me?
collapsing example

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:37:09+00:00Added an answer on June 13, 2026 at 6:37 am

    You need to enable this feature :

    Tools -> Options -> Text Editor -> C/C++ -> Formatting -> check everything in “outlining”

    Then, reopen the source file to reload outlining.

    (PS. This works at least in Visual Studio 2008.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there any good code snippet plugins for visual studio? I want a plugin
In Visual Studio, you can expand and collapse code without using regions, for example
I want to know if there exist and tool in visual studio (or plugin)
I have Visual Studio 2008 installed on my machine and I want to know
In Visual Studio Debug part, we can pass arguments. I want to know how
I want to be notified when a build has been completed\failed in visual studio
Can anyone please suggest me a good .net code coverage plugin for Visual Studio
I have installed Visual Studio 2010 RC. I want to install Visual C# 2008
In visual studio 2005: I want to create a dll base on another dll.
I want to create a Visual Studio Item Template that generates an Item (for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.