Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic outlining if/switch blocks (Read 7771 times)
yair
Newbies
*
Offline


Posts: 5
Joined: Oct 16th, 2012
outlining if/switch blocks
Oct 17th, 2012 at 3:53am
Print Post  
hi, 
one of the main reasons for my search for an alternative IDE for the arduino was the possibility to collapse code. 
i would like to know if its possible to support outlining (a.k.a folding, collapsing) for IF and SWITCH statements.

thank you for the visualMicro project.  it works great.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: outlining if/switch blocks
Reply #1 - Oct 17th, 2012 at 12:50pm
Print Post  
Hi Yair,

I normally leave questions about Visual Studio to Microsoft or the Visual Studio help system. There are lots of options that you might like to learn about, so it is well worth exploring.

In this case, if you are using Visual Studio 2012, there is an option called "Outline Statements" which can be set to "True"

Edit: Original path was wrong

Tools>Options>Text Editor>C/C++>Formatting>Outline Statements

It is a good question so I will add a wiki article to the main web site.

Thanks

« Last Edit: Jun 4th, 2018 at 5:41pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: outlining if/switch blocks
Reply #2 - Oct 17th, 2012 at 5:07pm
Print Post  
Tools>Options>Text Editor>C/C++>Formatting>Outline Statements

  
Back to top
IP Logged
 
yair
Newbies
*
Offline


Posts: 5
Joined: Oct 16th, 2012
Re: outlining if/switch blocks
Reply #3 - Oct 31st, 2012 at 7:49am
Print Post  
thank you, i will spread the word fo this fantastic addon
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint