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 Assembler syntax colours are wrong (.S files) (Read 958 times)
CliveTS
Newbies
*
Offline


Posts: 7
Joined: Sep 28th, 2021
Assembler syntax colours are wrong (.S files)
Jul 9th, 2024 at 9:30pm
Print Post  
My project is in C++ and assembler. The syntax colours are ok in the C++ file but the assembler .S file syntax colours are all wrong. 

I have attached a code section to show the problem.

I have been using Visual Micro for a couple of years now and I like it, however the problem with the assembler syntax colours still has not been corrected.

« Last Edit: Jul 29th, 2024 at 8:38pm by Tim@Visual Micro »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Assembler syntax colours are wrong
Reply #1 - Jul 29th, 2024 at 8:38pm
Print Post  
1) Use "tools>options>file extensions" to set the file type of .S files to "Script".

OR

2) The AsmDude2 visual studio extension provides color coding and syntax highlite for .S files.  It is listed as being free. It appears to work best with the dark theme out of the box but it provides color config in "Tools>Options>Fonts and Colors". It has one minor annoyance. When the first .S is viewed, it will open a command window that can be minimized and ignored. We have not spent time testing the extension in depth but it might help you.

« Last Edit: Jul 29th, 2024 at 8:51pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint