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 In Visual Studio 2022 intellisense is not working (Read 2082 times)
CraigFugro
Newbies
*
Offline


Posts: 1
Joined: Feb 10th, 2022
In Visual Studio 2022 intellisense is not working
Feb 10th, 2022 at 3:45pm
Print Post  
I cannot get intellisense to work in Visual Studio 2022. Compiling works fine and transfer to the arduino also works.
External dependencies are also not shown.
  

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


Posts: 2709
Joined: Feb 13th, 2019
Re: In Visual Studio 2022 intellisense is not working
Reply #1 - Feb 10th, 2022 at 4:39pm
Print Post  
Thanks for the report.

Can you confirm which version of the Arduino IDE you have installed in Program Files?

Can you also let us know some example intellisense hints which aren't working (e.g. Serial, digitalwrite etc).

Also please enable the options shown at the top of this page, and attach a new build log so we can see more detail about your environment.
  
Back to top
IP Logged
 
pwesty
Newbies
*
Offline


Posts: 4
Joined: Aug 20th, 2020
Re: In Visual Studio 2022 intellisense is not working
Reply #2 - Nov 6th, 2022 at 6:15pm
Print Post  
Intellisense is not working properly when I create a project using the DxCore package by Spence Konde.  Specifically the #defines for the particular chip I am using, e.g. AVR32DA28, are not being discovered by Intellisense.  So for example a reference to PORTA in the sketch has a squiggly underline and a "not defined" tooltip.  However, the sketch builds and uploads fine.
It should be enough to "#include <avr/io>" to access the #defines for the chip specified in the VMicro drop-down list, but this does not work on it's own.  However, if I also add "#include <avr/ioavr32da28.h>" to the sketch I get the part-specific intellisense!  But I have to comment it out before I build the project else I get an error "Attempt to include more than one <avr\ioXXX.h> file."

I have attached the verbose build log for "DA_Test".
I am using latest VS2022 and VMicro.
I get the same result when selecting Arduino 1.6/1.8, Arduino 2 or VMicro (no IDE) for the IDE application.

I have no problems with ATtinyCore and MegaTinyCore from the same author, so I am unsure whether the problem lies with the core or VMicro.
  

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: In Visual Studio 2022 intellisense is not working
Reply #3 - Nov 7th, 2022 at 2:27am
Print Post  
We are about to release signficant improvements to intellisense. Please click the notifications button in the forum releases board https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES

The release will be made to this forum before the gallery is updated.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint