ride icon indicating copy to clipboard operation
ride copied to clipboard

Workspace Explorer shows ⓝ icon for instances

Open abrudz opened this issue 8 years ago • 5 comments

Describe the issue you are having

Workspace Explorer shows (n) icon for instances

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

Start an interpreter

How do you reproduce the issue?

i←⎕NEW⎕FIX':class c' ':endclass' Open Workspace Explorer and expand # it says ⓝ next to i instead of ⓘ

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

IDE: Version: unknown Platform: Win32 Date: unknown Git commit: unknown Preferences:{ "dbg":"1", "kbdLocale":"en_US", "lbarOrder":"← +-×÷*⍟⌹○!? |⌈⌊⊥⊤⊣⊢ =≠≤<>≥≡≢ ∨∧⍲⍱ ↑↓⊂⊃⊆⌷⍋⍒ ⍳⍸∊⍷∪∩~ /\⌿⍀ ,⍪⍴⌽⊖⍉ ¨⍨⍣.∘⍤@ ⍞⎕⍠⌸⌺⌶⍎⍕ ⋄⍝→⍵⍺∇& ¯⍬", "otherExe":"C:\Program Files\Dyalog\Dyalog APL-64 17.0 Unicode\dyalog.exe", "selectedExe":"C:\Program Files\Dyalog\Dyalog APL-64 17.0 Unicode\dyalog.exe", "squiggleTips":"1", "title":"{WSID} {VER}", "wse":"1", "zoom":"4" }

Interpreter: Version: 17.0.31153 Platform: Windows-64 Edition: Unicode/64 Date: Oct 16 2017 at 10:27:50

abrudz avatar Oct 17 '17 10:10 abrudz

Not really a bug; classes and instances are both kinds of namespaces.

jayfoad avatar Oct 17 '17 11:10 jayfoad

In the RIDE explorer ⓘ means Interface.

jayfoad avatar Oct 17 '17 11:10 jayfoad

@abrudz any suggestion for suitable icon? current setup is:

v: 2.1 2.2 2.3 2.6
f: 3.1 3.2 3.3 3.6
o: 4.1 4.2 4.3
e: 8.6
n: 9.1 9.2
c: 9.4 9.6
i: 9.5 9.7

e9gille avatar May 18 '18 07:05 e9gille

Just a radical idea:

V: 2.1 2.2 2.3 2.6
F: 3.1 3.2 3.6
f: 3.3
O: 4.1 4.2
o: 4.3
E: 8.6
N: 9.1
c: 9.2
C: 9.4 9.6
I: 9.5 9.7

The idea here is that main items are uppercase while "lesser" items are lowercase. So Classes are C and instances of them are c. So too, functions are F and derived functions are f while operators are O and derived operators are o. (Primitive functions and operators are not really derived, but they are "lesser" in not having their own scope.)

We could even split V into:

V: 2.3
v: 2.1 2.2 2.6

because only properties are "major" in that they contain code, while all other variables are just static values (no APL code is run when referencing them).

abrudz avatar May 18 '18 07:05 abrudz

I suspect the same letters in upper and lower case would likely be too indistinct.

My 2c: in the absence of a very compelling reason to change it, leave it as it is so we don't confuse people.

DyalogRichard avatar May 18 '18 08:05 DyalogRichard