Dyalog / ride

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

Implement tab input method in RIDE #1253

Open PixelSergey opened 5 days ago

PixelSergey commented 5 days ago

Describe the issue you are having

TryAPL and other online APL editors allow users to input glyphs using the tab input method. Examples:

This is a very useful feature, since many glyphs in RIDE do not have a prefix method of inputting and must be selected with a mouse using the language bar.

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

Start the interpreter from RIDE / irrelevant

How do you reproduce the issue?

Attempt to do a tab input key combination as described above

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

IDE:
  Version: 4.5.4097
  Electron: 31.4.0
  Chrome: 126.0.6478.234
  Node: 20.16.0
  Platform: Linux x86_64
  Date: unknown
  Git commit: nixpkgs
  Preferences:{
    "defaultConfig":"Default",
    "kbdLocale":"fi_FI",
    "minimapEnabled":"1",
    "otherExe":"dyalog",
    "prefixKey":"§",
    "squiggleTips":"1",
    "zoom":"9"
  }

Interpreter:
  Version: 19.0.49960
  Platform: Linux-64
  Edition: Unicode/64
  Date: Aug  7 2024 at 00:47:55
PixelSergey commented 5 days ago

CC @rikedyp @xpqz

abrudz commented 5 days ago

@PixelSergey Which glyphs in RIDE do not have a prefix method of inputting and must be selected with a mouse using the language bar?

PixelSergey commented 5 days ago

@abrudz Left tack, right tack, tally, grade up, atop, over, variant, quad diamond, I-beam, right arrow (with a keyboard that has deadkeys), zilde (with a keyboard that has deadkeys)

abrudz commented 5 days ago

Aren't e.g. grade up prefix followed by Shift+4 and over prefix followed by Shift+o?

PixelSergey commented 5 days ago

Aren't e.g. grade up prefix followed by Shift+4 and over prefix followed by Shift+o?

Nope, neither work (xkbmap FI)

Over doesn't have a prefix entry, and the entry for grade up says:

GRADE UP (⍋)
Keyboard: §⊢

which is a little silly, I don't have a right tack key on my keyboard :joy:

abrudz commented 5 days ago

Over missing is probably due to an old version. Try if prefix followed by AltGr+4

PixelSergey commented 5 days ago

Nope, doesn't work. AltGr+4 is $

abrudz commented 5 days ago

Yes, and I expected prefix, $ to give

PixelSergey commented 5 days ago

Yes, and I expected prefix, $ to give

Nope, just prints out the literal characters