VS Arduino | |
Visual Micro >> Ideas, Suggestions and Related Tools >> improvement that I think is smart
https://www.visualmicro.com/forums/YaBB.pl?num=1553794855 Message started by JakobRasmussen on Mar 28th, 2019 at 5:40pm |
Title: improvement that I think is smart Post by JakobRasmussen on Mar 28th, 2019 at 5:40pm
When you create a variable, or #define something, it would be nice if you could make a note / explanation for what you create. When you move the mouse over the name of the variable / const / define, a popup will display the text.
It may already exist, but I haven't found it. Regards Jacob |
Title: Re: improvement that I think is smart Post by Visual Micro on Mar 28th, 2019 at 5:46pm
Hi, if you use c++ code comments then visual studio will show them as tips.
For example hovering i anywhere in the code would show the tip or hint "i is the count for x" Code (]//i is the count for x int i = 0; [/code):
|
Title: Re: improvement that I think is smart Post by JakobRasmussen on Mar 28th, 2019 at 10:23pm
I don't think you understand what it means. Here is an example:
Code (c++):
What I want is when I place the mouse on one of the 4 pieces. "Reset", then a small popup will open and display a text as I have written "example; This is reset button". Now, when I place the mouse on "Reset", a small popup appears and shows "#define Reset 2". I want my own text in popup I already use // or / * * /. |
Title: Re: improvement that I think is smart Post by Visual Micro on Mar 28th, 2019 at 10:41pm
If you already use /**/ or // why didn't you show that in your example? :)
Which IDE and version are you using? |
Title: Re: improvement that I think is smart Post by JakobRasmussen on Mar 30th, 2019 at 5:33pm
Visual Studio 2015 ver. 14.0.25431.01 Update 3
Arduino 1.8.9 I hope, this is the Information you ask for The example you have shown me is, how I want it. :) I have typed your example into IDE, and when I place the mouse on the xyz variable, only the text "#define xyz 2" appears in the popup, and no more. |
Title: Re: improvement that I think is smart Post by Visual Micro on Mar 30th, 2019 at 6:12pm
This is a feature of visual studio c++. Therefore your version of vs2015 is not providing this feature.
Did you try 2017 or check for updates for Vs2015. I don't recall when Microsoft released the feature. |
Title: Re: improvement that I think is smart Post by JakobRasmussen on Apr 1st, 2019 at 8:28am
I switched to 2017, so now it works.
Thanks for the help |
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |