Add modern code editing features where relevant

Code editor were greatly enhanced with upgrade, completion and hover-doc is super nice, we could get few more conveniant feature there:

  • auto-pairing parens/braces/…
  • better indentation management
1 Like
  • would be nice if Ctrl+D selected the word you are on instead of deleting the line, I think the former is the expected “modern” behaviour (and Ctrl+X already works for line removal)

long-form wishes for editor functionality:
for macOS, cmd-left, cmd-right could act as “home” and “end” on selected line
for macOS, shift-cmd-left could pick the rest of the line from cursor backwards, same with shift-cmd-right, i.e. from cursor to end of line
for macOS, cmd-up is “go to beginning of document” and cmd-down is “go to end of document”
shift-opt-left on macOS selects the “previous word”, shift-opt-right on macOS selects the “next word”

and this new one:
typing clear results in an auto-complete which i now have to press esc to close. (also feels weird that collectgarbage(opt, arg) is the one that clear autocompletes to?

also, i’m seeing that the macOS default repeat rate + repeat delay settings are dropped/ignored by editor.

1 Like