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 Define in project properties causes intellisense errors (Read 1596 times)
yeiyei
Newbies
*
Offline


Posts: 5
Joined: Sep 5th, 2016
Define in project properties causes intellisense errors
Jan 23rd, 2020 at 11:46am
Print Post  
Hello Tim,

I face an issue with VS intellisense. If I put a "configuration define" in the project properties and compile the program, intellisense stops working. If I remove the define and recompile, then works again.
In both cases the project compiles good.

Is something that I am not aware? Thank you.
« Last Edit: Jan 23rd, 2020 at 12:05pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Define in project properties causes intellisense errors
Reply #1 - Jan 23rd, 2020 at 12:06pm
Print Post  
Are you using the visual micro project properties tool window or the vs project property pages?

What is the define?
  
Back to top
IP Logged
 
yeiyei
Newbies
*
Offline


Posts: 5
Joined: Sep 5th, 2016
Re: Define in project properties causes intellisense errors
Reply #2 - Jan 23rd, 2020 at 12:44pm
Print Post  
In the vm project properties tool window
For example: ADEFINE1 3434

Any kind of define. Then intellisense marks an error at the top of each page of source code:

error de la línea de comandos: definición de macro no válida: ADEFINE1 3434

i followed:
https://www.visualmicro.com/page/User-Guide.aspx?doc=Project-Defines.html

I have tested that if I put ADEFINE1=3434 works!

What is wrong: the documentation, the plugin or is it me?

Thank you! BR

The compilation is correct.
« Last Edit: Jan 23rd, 2020 at 12:44pm by yeiyei »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Define in project properties causes intellisense errors
Reply #3 - Jan 23rd, 2020 at 12:53pm
Print Post  
Yes  it should be

Code
Select All
ADEFINE1=3434;ABC=2 

« Last Edit: Jan 23rd, 2020 at 12:54pm by Tim@Visual Micro »  
Back to top
IP Logged
 
yeiyei
Newbies
*
Offline


Posts: 5
Joined: Sep 5th, 2016
Re: Define in project properties causes intellisense errors
Reply #4 - Jan 23rd, 2020 at 12:55pm
Print Post  
So, the user guide is wrong.

Thank you very much!

Best regards.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Define in project properties causes intellisense errors
Reply #5 - Jan 23rd, 2020 at 1:17pm
Print Post  
Yes sorry the guide is being updated today.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint