I'm using version "6.2 .993" of Atmel Studio 6.2(beta). And I am using version "1.1404.01" of visual micro.
I'm not sure if this problem originates from visual micro or Atmel Studio. But I thought you should be aware of the problem.
I have noticed when commenting out a section of code for test purposes or because it is no longer used, some lines do not get included. For instance I highlighted the section of code and press the/key one time.
// {
// myGLCD.setFont(SevenSeg_48_Full);
// myGLCD.setColor (255, 255, 255);
myGLCD.setBackColor (0, 0, 0);
//
// if ( Hz >= 100 ){myGLCD.printNumI( Hz, 192, 18, 4 );}
else if (Hz <= 99.9) myGLCD.printNumF(Hz,1, 192, 18, '.', 4 );
// }
It failed to include two lines of code. I have not placed a comment in this section at all, So it should not have inverted the comments. Also it doesn't do it all the time, if I uncomment and redo it Several times, it seems to straighten out And comment all lines.
It's not catastrophic, just annoying.
Sam6.