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 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Problems with intellisense (Read 4599 times)
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: Problems with intellisense
Reply #20 - Oct 18th, 2022 at 11:27am
Print Post  
I reinstalled the c++ in visual studio  "C++ for Desktop development" and reopened the file.

error : Designtime build failed for project 'G:\Documents\Visual Studio 2019\Arduino\My_application\My_application\My_application.vcxproj' configuration 'Debug|Win32'. IntelliSense might be unavailable.
     Set environment variable TRACEDESIGNTIME = true and restart Visual Studio to investigate.
  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: Problems with intellisense
Reply #21 - Oct 18th, 2022 at 11:45am
Print Post  
You are working on an update, so I give you some more information about my experience. When I want to open an cpp file. I open it form #include what openens the header file. So when I need to open the cpp, I need to open it from the browser and drag it in to visual studio. Intellisens is not working than. I did before, but sometimes there where some difficulties. I think the correct way would be from the solution explorer. That's what I found out now. Feel like a kid again.  Grin
  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: Problems with intellisense
Reply #22 - Oct 19th, 2022 at 6:54am
Print Post  
In Visual code, the esp-idf don't use the parser

By default, IntelliSense is present, but the environment may not give any indication if there is a problem. To fix that, go to .vscode > settings.json and set the C_Cpp.intelliSenseEngine to Default. Previously it was set to ‘Tag Parser.’ Now if there is an error in the main.c file, a red wavy line appears beneath that code.

Source: https://esp32tutorials.com/install-esp32-esp-idf-windows-integrate-vs-code/
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2704
Joined: Feb 13th, 2019
Re: Problems with intellisense
Reply #23 - Oct 19th, 2022 at 9:26am
Print Post  
Thanks for the updates, and we will let you know as soon as there are any available improvements.

Integration with VSCode for IDF is different to the integration within Visual Studio for the Arduino core, and we are working through the changes for the update in the coming week.
  
Back to top
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: Problems with intellisense
Reply #24 - Oct 20th, 2022 at 10:23am
Print Post  
Does visual micro uses any .Net framework?

I have installed

.NET Framework 4.5.2 targeting pack
.NET Framework 4.6.2 targeting pack
.NET Framework 4.7.2 targeting pack
.NET Framework 4.8 targeting pack

And what C and C++ version is in use. I think this is some important information.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2704
Joined: Feb 13th, 2019
Re: Problems with intellisense
Reply #25 - Oct 20th, 2022 at 1:27pm
Print Post  
No .NET workloads or components are needed for Visual Micro to run, just the C++ Desktop workload needs to be installed.
  
Back to top
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: Problems with intellisense
Reply #26 - Oct 20th, 2022 at 1:49pm
Print Post  
I changed it once in the debug document configuration. Can't get it right anymore. It keeps using that selected c and c++ version from visual studio. I changed it because I was thinking that C14 was selected in vm, because of the strlen and const array size.

By uninstalling vm, keeps settings form the previous installation I think. If that's true... Is there a way to reset those settings or just delete those setting files after uninstaller it?
  
Back to top
 
IP Logged
 
The_Specialist
Full Member
***
Offline


Posts: 228
Joined: Jul 1st, 2020
Re: Problems with intellisense
Reply #27 - Oct 20th, 2022 at 3:39pm
Print Post  
Didn't respond on your question properly...

For the filesystem header issues, does this only present as an intellisense issue, and can you provide an example?

Yes, it is only an intellisense issue. also for the strlen and const array size. it even compiles when compiler->warnings for library is ON.
« Last Edit: Oct 20th, 2022 at 5:55pm by The_Specialist »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2704
Joined: Feb 13th, 2019
Re: Problems with intellisense
Reply #28 - Oct 20th, 2022 at 5:56pm
Print Post  
Off-Topic replies have been moved to this Topic.
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problems with intellisense
Reply #29 - Dec 22nd, 2022 at 11:03pm
Print Post  
This Topic was moved here from Visual Studio 2017, 2019, 2022 [move by] Tim@Visual Micro.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint