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 peek definitions - definition for the symbol <any symbol>can not be located (Read 2818 times)
Don Winchell
Junior Member
**
Offline


Posts: 19
Location: Nova Scotia Canada
Joined: Nov 23rd, 2021
peek definitions - definition for the symbol <any symbol>can not be located
Nov 23rd, 2021 at 3:21pm
Print Post  
Definitions in general. Maybe I am expecting something that does not exist, but based on IDE use from looong ago, it seems that one of the simple great benefits was to click on a word, function, operator or whatever and get a definition and description.  I can not seem to get that to work in visual studio / visualmicro. 

I have included a screen shot of looking for the term "long".  I have tried it with "int" , "float", "char" etc.  but get the same error. 

I do seem to get some kind of a response if I try it on variables, but not what I expect.  

 Am I expecting something that does not exist?    I have spent a few hours searching and configuring and reading and watching youtube and have found many supposed solutions and have done a reinstallation.  I have tried to find the menu item 'vMicro>Toggle Hidden Files' but can not even find that setting, and don't know if it relates anyway. 

I have a few other "issues" but am working on them, but I don't want to spend any more time with this, if I am trying to get something to work that does not even exist.  Thanks for any help and also thanks for a very very nice add-on to VS.  see attached
  

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


Posts: 2730
Joined: Feb 13th, 2019
Re: peek definitions - definition for the symbol <any symbol>can not be located
Reply #1 - Nov 23rd, 2021 at 3:38pm
Print Post  
Thanks for the report.

The hints supplied in intellisense in Visual Micro depend on what comments have been added to the toolchain files in use, and there is often very little information within the Arduino toolchains for keywords like long.

The hints are displayed when the variable is hovered over (or highlighted in the suggestions list), and comments can be added to show for your own code, example below:
Code
Select All
/*
@brief this is a variable
*/
long myVar = 0;

// My Int variable
int myIntVar = 0; 



The Toggle Hidden files can improve intellisense in some cases, and can be found on "vMicro > Show/Hide Hidden Files", however in this specific instance I doubt there will be further information for the keyword "long" for example.  The Arduino website is often the best resource for these keywords:
https://www.arduino.cc/reference/en/language/variables/data-types/long/
« Last Edit: Sep 15th, 2023 at 12:44pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Don Winchell
Junior Member
**
Offline


Posts: 19
Location: Nova Scotia Canada
Joined: Nov 23rd, 2021
Re: peek definitions - definition for the symbol <any symbol>can not be located
Reply #2 - Nov 23rd, 2021 at 3:51pm
Print Post  
Thanks for the quick reply.  While I don't fully understand what you are talking about, at least now I know not to beat my brains out trying to get it to work.  I guess my assumption was that these "tool chains" libraries or whatever they are would exist as C++ tool chains. (help data)  In any case, this helps so that I don't waste more time looking for something I will not find. 

It is a LOT to take in.   thanks for your help

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: peek definitions - definition for the symbol <any symbol>can not be located
Reply #3 - Sep 15th, 2023 at 6:56pm
Print Post  
Off-Topic replies have been moved to this Topic.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint