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 Annoying problem when using comments. (Read 2719 times)
Sam6
Junior Member
**
Offline


Posts: 21
Joined: Mar 22nd, 2013
Annoying problem when using comments.
Apr 30th, 2014 at 8:13pm
Print Post  
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.

Code
Select All
// {
// 	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.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Annoying problem when using comments.
Reply #1 - Apr 30th, 2014 at 9:39pm
Print Post  
Thanks that's either an Atmel, Micro Visual Studio or VisualAssistX problem. 

Visual Micro doesn't capture any of the editor events.

Sorry i can't be more precise. VisualAssistX is the plugin that is included with Atmel Studio that provides intellisense and code completion etc


  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint