Roadmap 0.11, Command line

OPT.1 CadCraft: option letters of your own (OPTIONKEYS), and short forms that can mean only one option

  • Feature
  • Built · in the lab
  • CadCraft

From /suggest #1942 (P for POlar in ARRAY; that one prompt was fixed as FX.378). Owner 2026-11-19: build the whole remapping engine; ship the English letters and let people discover they can map their own, with no per-language letters made up front. Built in /lab (optionkeys.js, DOM-free): (1) any letters that fit only one of the options shown answer it (RO = ROTate); when two fit, the line says which ("C could be COUnt, COLumns"); digits are never guessed. Tried last, so nothing that worked before changes. (2) OPTIONKEYS (OPTKEYS; Manage and Tools ribbon, beside Edit aliases): one text file, COMMAND.OPTION, LETTERS (ARRAY.PO, P; *.X, Q for every command; command aliases accepted; letters of any script). The prompt shows the person's letters after the option. The editor lists the options met lately to click, flags bad lines while typing, and has Import and Export so a file can be shared (for a language, say). Kept in the browser like the aliases file; REINIT reloads it. (3) Fixed rules: the built-in letters keep working; a leading underscore (_PO) and input from LISP and toolbar macros read the built-in English letters only. A refused option prints a one-time tip naming OPTIONKEYS. (4) Settings > CadCraft > Option letters: Edit, Import (replaces the file, the one before is kept), Export. (5) Help topic "Give command options your own letters" ; on the site a topic that is only in the test build is shown to people who may open that build (Help::forLab), 404 for everyone else. Tests: bin/test-cadcraft.mjs --no-readers 2500/0, tools/cadcraft-test/browser-optionkeys.mjs 22/0 in /lab, lisp 331/0, help 134/0. Lab pass 135 to the requester 2026-11-19. Not done: English strings and help only (other languages show English until translated); the file is not synced to the account and Studio keeps it per install; scripts run by SCRIPT files were not checked for the script flag; never tried on a non-Latin keyboard by a person.

Add a comment

Community comments

No comments yet

Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.

Sign in or create a free account to add a comment.