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 Color syntax for file extension .hh (Read 10076 times)
boutboutnico
Newbies
*
Offline


Posts: 4
Location: France
Joined: Jun 5th, 2013
Color syntax for file extension .hh
Jun 6th, 2013 at 4:21pm
Print Post  
Hello,

Atmel studio 6.1
AfAS 1305.21

I am not able to have correct color syntax for file extension .hh.

I need this because I use an external library call COSA which is great by the way you should take a look http://cosa-arduino.blogspot.fr/.

As it is in C++, all the header files have the .hh extension.

I try to add it in Tool>Options>Text Editor>File extension but Microsoft Visual C++ is not present in the drop box.

A little help would be appreciated.
Thanks,

Nicolas B
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12137
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Color syntax for file extension .hh
Reply #1 - Jun 6th, 2013 at 4:51pm
Print Post  
I am surprised that Atmel Studio does not support this file type and as you rightly note Atmel Studio does not provide the same UI config options that are available in VS

I have sent you an email with an unofficial way to make this work

« Last Edit: Jun 6th, 2013 at 5:01pm by Tim@Visual Micro »  
Back to top
IP Logged
 
boutboutnico
Newbies
*
Offline


Posts: 4
Location: France
Joined: Jun 5th, 2013
Re: Color syntax for file extension .hh
Reply #2 - Jun 6th, 2013 at 5:01pm
Print Post  
1/ I don't see color coding in both type of project

2/ How can I know if intellisense is working ?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12137
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Color syntax for file extension .hh
Reply #3 - Jun 6th, 2013 at 5:02pm
Print Post  
I tested it so edited my answer and sent you an email Smiley

Intellisense worked but not color syntax
  
Back to top
IP Logged
 
boutboutnico
Newbies
*
Offline


Posts: 4
Location: France
Joined: Jun 5th, 2013
Re: Color syntax for file extension .hh
Reply #4 - Jun 6th, 2013 at 5:14pm
Print Post  
I did the trick but right still no color coding.

Is there another way ?
Why is it working with ino and pde ?
Can it be added in a future version of AfVS ?

Thanks again
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12137
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Color syntax for file extension .hh
Reply #5 - Jun 6th, 2013 at 5:24pm
Print Post  
I will ask Atmel if they can support it.

I will send you another email with an additional option
  
Back to top
IP Logged
 
boutboutnico
Newbies
*
Offline


Posts: 4
Location: France
Joined: Jun 5th, 2013
Re: Color syntax for file extension .hh
Reply #6 - Jun 6th, 2013 at 5:49pm
Print Post  
Thanks for the help, it now works.

I have greatly appreciate the reactivity !
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint