News:

;) This forum is the property of Proton software developers

Main Menu

Cool feature if possible

Started by TimB, Nov 28, 2021, 02:07 PM

Previous topic - Next topic

TimB


Hi John

One feature that would be great, only because I do not have to do the work....

When you hover over a constant it would be good for the value of the constant to be displayed.

Also adding to an impossible to do list if you hover over a variable it displays the type eg word, byte etc

Cheers

Tim

JohnB

I agree, nice little extra I will add it to my ever expanding to do list.
JohnB

JohnB

I have been looking at your suggestions:

I think Constants could be supported providing they were all numeric which would mean converting Hex and Binary to decimal.  So while you may define a constant as $FF when hovering over the constant you would see 255. The point is I can only store the information as a number, this makes the Variable a bit more tricky.  I have also looked at the possibility of extending this to Aliases e.g. Dim Led as PortB.3.  I think this would be rather more complicated to implement.
JohnB

JohnB

#3
@TimB
I have added the Data type for variables as a popup when hovering over an item.
Cant release it yet because I have found another bug with the TMS ADVMemo.
The popup will only work if there's no inline comment at the end of the line.
I have reported this to TMS and await their findings.

Update:
Constants now working.  TMS have found the bug and corrected it for release later this month.
If you want to try it out (it will only work when there are no in line comments of the line) then I will put it up on my Dropbox.
JohnB