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
Hot Topic (More than 8 Replies) Both the go to declaration and definition functions go to the declaration (Read 10744 times)
the_reza
Newbies
*
Offline


Posts: 5
Joined: Aug 11th, 2015
Both the go to declaration and definition functions go to the declaration
Aug 11th, 2015 at 6:04pm
Print Post  
I want to be able to find the source associated with a function (i.e. Serial.println(String)) but the IDE will only show me the declaration in the .h file, not the source.

I'm working on the ESP wifi module and being able to look at the implementation of numerous functions in the sdk would be of great value.

Thanks,
Reza
« Last Edit: Aug 11th, 2015 at 6:04pm by the_reza »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Both the go to declaration and definition functions go to the declaration
Reply #1 - Aug 11th, 2015 at 7:01pm
Print Post  
Hi,

This seems to be a combination of how visual studio works and the design of the esp8266 system.

If you select the project in the solution explorer then click menu "Project>Show sketch core and library sources" this will add shortcuts to most of the esp8266 sdk into the project and then F12 will work the way you want.

You can click the menu item again to remove the sources or remove them manually. They are for reference purposes only and have no effect on the compile unless you make code changes to them.

I notice that when the esp8266 core is included in the project there are a few red underlines for missing definitions. It might be possible for us to solve that in future versions but you can either live with it or remove the individual sources from the project that you might not be needing to look at.

Hope this helps
« Last Edit: Aug 11th, 2015 at 7:03pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
the_reza
Newbies
*
Offline


Posts: 5
Joined: Aug 11th, 2015
Re: Both the go to declaration and definition functions go to the declaration
Reply #2 - Aug 19th, 2015 at 6:24am
Print Post  
Tim@Visual Micro wrote on Aug 11th, 2015 at 7:01pm:
Hi,

This seems to be a combination of how visual studio works and the design of the esp8266 system.

If you select the project in the solution explorer then click menu "Project>Show sketch core and library sources" this will add shortcuts to most of the esp8266 sdk into the project and then F12 will work the way you want.


Hope this helps


When i click on project, I don't see the show sketch core and library sources.  Am I looking in the wrong place?

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Both the go to declaration and definition functions go to the declaration
Reply #3 - Aug 19th, 2015 at 10:05am
Print Post  
The menu item only shows if the project is selected in the solution explorer
  
Back to top
WWW  
IP Logged
 
the_reza
Newbies
*
Offline


Posts: 5
Joined: Aug 11th, 2015
Re: Both the go to declaration and definition functions go to the declaration
Reply #4 - Aug 19th, 2015 at 5:21pm
Print Post  
by selecting, you mean clicking on?  did that..
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Both the go to declaration and definition functions go to the declaration
Reply #5 - Aug 19th, 2015 at 5:23pm
Print Post  
Can you please post a full screen shot of your ide and also tell me which version of Vs you are using?

Thanks
  
Back to top
WWW  
IP Logged
 
the_reza
Newbies
*
Offline


Posts: 5
Joined: Aug 11th, 2015
Re: Both the go to declaration and definition functions go to the declaration
Reply #6 - Aug 19th, 2015 at 6:17pm
Print Post  
vs 2013 community with visual micro 15.08.1000 



  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Both the go to declaration and definition functions go to the declaration
Reply #7 - Aug 19th, 2015 at 6:22pm
Print Post  
Okay the screen shot shows that Visual Micro is not installed or active.

Notice the boards list on the tool bar is disabled and all the Visual Micro project propeprties are missing.

Please install the latest version of Visual Micro. There have been some installer issues due to discontinuation of support for vs2008 and I suspect your last update didn't go on properly.

Once Visual Micro is running it will manage the project include paths but it will also draw the User Interface

Thanks
« Last Edit: Aug 19th, 2015 at 6:22pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
the_reza
Newbies
*
Offline


Posts: 5
Joined: Aug 11th, 2015
Re: Both the go to declaration and definition functions go to the declaration
Reply #8 - Aug 19th, 2015 at 6:31pm
Print Post  
strange, it looks like it 'uninstalled' when i upgraded to windows 10.  just tried reinstalling and it didn't take.  anyone had problems with windows 10?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Both the go to declaration and definition functions go to the declaration
Reply #9 - Aug 19th, 2015 at 6:34pm
Print Post  
No, one person had some strange setup/path issues but LOTS of people since have confirmed it works ok.

I suggest opening control panel add or remove programs.

Uninstall any visual micro entries

Install visual micro

If it doesn't appear then follow the first point in the FAQ section "for 2013 and below"
« Last Edit: Aug 19th, 2015 at 6:35pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint