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 Go to Definition same result as Go to Declaration (no jump into .cpp) (Read 676 times)
Christoph
Junior Member
**
Offline


Posts: 32
Joined: Sep 4th, 2020
Go to Definition same result as Go to Declaration (no jump into .cpp)
Oct 5th, 2020 at 8:58am
Print Post  
Hello,

its painful I would like to look into code behaviour and only can jump into header .h file. I want to see definition in .cpp file. Can anybody explain what I did wrong in creating my project?

Its also not possible in simple blink.ino digitalWrite()   Sad
Also tried add existing file to src folder.

Thanks in advance!
Christoph
« Last Edit: Oct 5th, 2020 at 8:58am by Christoph »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2174
Joined: Feb 13th, 2019
Re: Go to Definition same result as Go to Declaration (no jump into .cpp)
Reply #1 - Oct 5th, 2020 at 9:26am
Print Post  
This is improved by clicking vMicro > "Show/Hide Hidden Files" as a first step.

For me, from my INO,  "Go To Definition" takes me to the *.c file, "Go to Declaration" takes me to the *.h file.

Once in the *.h file, you can then right click > "Toggle Header / Code File".  Then next time you press F12 in the *.h file on e.g. digitalWrite() it will take you to the *.c definition.

Let us know if this resolves your issue, or if I have missed something.
« Last Edit: Oct 5th, 2020 at 10:34am by Simon@Visual Micro »  
Back to top
 
IP Logged
 
Christoph
Junior Member
**
Offline


Posts: 32
Joined: Sep 4th, 2020
Re: Go to Definition same result as Go to Declaration (no jump into .cpp)
Reply #2 - Oct 5th, 2020 at 11:55am
Print Post  
Yes works like described, many thanks.

However when I search through code its hard to get to the spawn of every code, like in the picture. The IDE does not show the row where uint8_t port gets decleared defined Sad

Christoph
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint