Dyalog / ride

Cross-platform IDE for Dyalog APL
https://dyalog.github.io/ride
MIT License
202 stars 31 forks source link

Tool tip values for ⍺ and ⍵ are wrong #155

Closed DyalogRichard closed 7 years ago

DyalogRichard commented 7 years ago

Describe the issue you are having

If you hover over a name you get a tooltip showing its value. If you hover over primitive you get a tooltip showing an explanation of what it is. If you hover over ⍺ or ⍵ you get an explanation of what it is, not its value as you would expect.

Did you connect to an already running interpreter or start the interpreter from RIDE?

Connect to already running

How do you reproduce the issue?

See description

Paste the contents of Help → About (Shift+F1)

IDE: Version: 4.0.2787 Platform: Linux x86_64 Date: 2017-04-24 16:41:40 +0100 Git commit: b4cdc0af241089f1181ca0e9c68ae0cb2f923291 Preferences:{ "dbg":"1", "kbdLocale":"en_GB", "wse":"1" }

Interpreter: Version: 16.0.29813 Platform: Linux-64 Edition: Unicode/64 Date: Apr 25 2017 at 09:26:51

ngn commented 7 years ago

As a temp measure you can disable Preferences > Code > Show tips for glyphs. Assuming the interpreter knows how to GetValueTip for this, a good place to fix it could be as a special case in the big boolean expression at vt.js:20.

flouc001 commented 7 years ago

I've altered the code in commit 504cab2 to send a GetValueTip request for this however I need the interpreter to comply. Is it possible for the interpreter to send values back for alpha and omega @johndaintree?

DyalogRichard commented 7 years ago

http://mantis.dyalog.com/view.php?id=14540

jayfoad commented 7 years ago

Fixed in interpreter 16.0.30740.