VS Arduino | |
Visual Micro >> Installation & Troubleshooting >> Cannot "Go to definition" of arduino library classes
https://www.visualmicro.com/forums/YaBB.pl?num=1558073826 Message started by UtterlyEngaged on May 17th, 2019 at 6:17am |
Title: Cannot "Go to definition" of arduino library classes Post by UtterlyEngaged on May 17th, 2019 at 6:17am
Hi,
I have an annoying problem that is causing much debugging headache right now. I have the following in a project (.ino) imported to vMicro: #include <SPI.h> Resolves to C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src\SPI.h Now if I write SPI.begin(); I am able to right click begin() and select "Go to declaration" which brings me to the h-file. If I, however, select "Go to definition" it is unable to pull up the cpp-file. I have checked and it is actually located in the very same folder as the .h-file. Is anyone aware of how I can change this to make Visual studio aware of the cpp-files of included arduino drivers? |
Title: Re: Cannot "Go to definition" of arduino library classes Post by Visual Micro on May 17th, 2019 at 1:11pm
Click vMicro>Toggle Hidden Files so that the lib and core source short cuts are in the project.
|
Title: Re: Cannot "Go to definition" of arduino library classes Post by UtterlyEngaged on May 17th, 2019 at 1:13pm
Wow that was significantly easier than expected. Many thanks!
|
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |