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 F12 not working in VS2013 (Read 5061 times)
jons2
Newbies
*
Offline


Posts: 4
Joined: Mar 29th, 2016
F12 not working in VS2013
Apr 12th, 2016 at 4:12am
Print Post  
Hello,

I have Visual Studio 2013 + latest version of Visual Micro and the Go to Declaration, Go to Implementation & Find Usages are not working.
Strangely "Peek declaration" is working.
Is this expected behavior ?
Screenshot is of an STM32 project but this has been a problem in previous version with both STM32 & Arduino (Leonardo & UNO).

http://i.imgur.com/vHqGDMM.png
PS: Everything else seems to work, including intellisense.
Thanks!
« Last Edit: Apr 12th, 2016 at 4:15am by jons2 »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12138
Location: United Kingdom
Joined: Apr 10th, 2010
Re: F12 not working in VS2013
Reply #1 - Apr 12th, 2016 at 10:32am
Print Post  
Not sure how that happens Smiley The F12 shortcut key is no longer defined and the menu item is disabled?? 

These are core visual studio features for C++ projects and not related to anything that Visual micro can control.

Try  "Tools>Import and export settings>reset all"
  
Back to top
IP Logged
 
jons2
Newbies
*
Offline


Posts: 4
Joined: Mar 29th, 2016
Re: F12 not working in VS2013
Reply #2 - Apr 12th, 2016 at 3:13pm
Print Post  
Hi,

Thanks for the reply. I should have mentioned that I disassociated the "F12" key via keyboard settings, the F12 key is not actually the problem, the grayed out menu items is. I only said "F12" since it's the shorter version of "Go to declaration". I will do some experiments to try to figure out what is causing this. 
Can anyone confirm that for them symbol navigation is working the same as Win32 C++ projects ? i.e all menu items are enabled & work as expected ? Also, in what VS version ?

Thanks
« Last Edit: Apr 12th, 2016 at 3:14pm by jons2 »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12138
Location: United Kingdom
Joined: Apr 10th, 2010
Re: F12 not working in VS2013
Reply #3 - Apr 12th, 2016 at 3:51pm
Print Post  
F12/Goto Defintion works for me in all VS versions 2010-2015

Can you confirm that intellisense works? If you type Serial. do you see an intellisense list?

Did you choose the General development layout in "tools>import and export settings"?
  
Back to top
IP Logged
 
jons2
Newbies
*
Offline


Posts: 4
Joined: Mar 29th, 2016
Re: F12 not working in VS2013
Reply #4 - Apr 12th, 2016 at 4:21pm
Print Post  
Intellisense works. "Serial." auto-completes correctly, as well as local / global variables etc.
After reset to "General" : http://i.imgur.com/LqyUWxx.png
After resetting all settings to "General", selecting something and pressing F12 does navigate to the declaration.
However the menu items are all still disabled. I will install VS2015 and see what happens with that.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint