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 Intellisense Lost after Build (Read 268 times)
Sergio JF
Newbies
*
Offline


Posts: 4
Joined: Feb 24th, 2025
Intellisense Lost after Build
Feb 24th, 2025 at 2:28pm
Print Post  
Hello good day. I have a solution with Visual Studio 2022 and Visual Micro 2.2025.0120. It is a project for an ESP32. 
The problem I have is that after compiling without errors, the Intellisense stops working. 
There are times when reopening the solution solves it and other times it doesn't. I have other projects with ESP32 and it doesn't have this problem. The Arduino version I have is 18.1.13. I would appreciate any help in this regard. Thanks..
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2704
Joined: Feb 13th, 2019
Re: Intellisense Lost after Build
Reply #1 - Feb 24th, 2025 at 2:30pm
Print Post  
Thanks for the report.

Can you attach the full build output for the project which errors with the below settings enabled:
  • vMicro > Compiler > Verbose
  • vMicro > Compiler > Show Build Properties


If you could also attach the same log from another ESP32 project which does not exhibit the issue it would help us greatly.
  
Back to top
IP Logged
 
Sergio JF
Newbies
*
Offline


Posts: 4
Joined: Feb 24th, 2025
Re: Intellisense Lost after Build
Reply #2 - Feb 24th, 2025 at 5:06pm
Print Post  
Thanks Simon for your reply. I am attaching two files, one of them with the compilation result output of the project that is causing the problem with Intellisense. The other file corresponds to another project also for the ESP32 but it has no problems with Intellisense. I look forward to your comments.
  

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


Posts: 2704
Joined: Feb 13th, 2019
Re: Intellisense Lost after Build
Reply #3 - Feb 24th, 2025 at 6:09pm
Print Post  
Thanks for the logs.

The differences I can see:

1) IDE Selection
The failing project is using the "Arduino 1.6/1.8x" IDE selection, but the working project is using the "Visual Micro (No IDE)" selection.   
-- Does it help the failing project if you change to the "Visual Micro (No IDE)" IDE Option?

2) Project Intellisense Version
The Working project seems to be using the old Intellisense system (no longer maintained), so the project in Solution Explorer does not show "(Arduino)" after its' name, and the new project will show this. The new system improves greatly on the old system so this feels unusual.

Neither of these should have an impact on the Intellisense however.

If you could provide some examples of the code lines which show errors (and if they are referring to a library for example) it would help us to investigate more quickly.
  
Back to top
IP Logged
 
Sergio JF
Newbies
*
Offline


Posts: 4
Joined: Feb 24th, 2025
Re: Intellisense Lost after Build
Reply #4 - Feb 24th, 2025 at 9:53pm
Print Post  
I have modified the project that is causing Intellisense to not work, I have selected "Visual Micro (NO IDE)" and the result is the same. I was able to find an alternative solution to make Intellisense work again. I modify and save the project file (.ino) and Intellisense works normally. I attach the log with the error that is generated in Intellisense after a Build.
  

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


Posts: 2704
Joined: Feb 13th, 2019
Re: Intellisense Lost after Build
Reply #5 - Feb 25th, 2025 at 11:06am
Print Post  
Thanks for the detail.

Can you attach the VCXPROJ file to the thread, or email it to us (support (at) visualmicro.com) with a link to this thread so we can investigate further?
  
Back to top
IP Logged
 
Sergio JF
Newbies
*
Offline


Posts: 4
Joined: Feb 24th, 2025
Re: Intellisense Lost after Build
Reply #6 - Feb 25th, 2025 at 1:49pm
Print Post  
Hi Simon, I have sent you an email to support@visualmicro.com with the *.vcxproj files. Regards.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint