Files
mattgodbolt-molty 92ae969557 Use macOS JetBrains shortcuts for Cmd-modified bindings
Per Copilot's review: Ctrl+Y → delete-line and Ctrl+Shift+/ → block-
comment under monaco's CtrlCmd modifier translate to Cmd+Y / Cmd+Shift+/
on macOS, which don't match the actual macOS JetBrains keymap (delete
line is Cmd+Backspace, block-comment is Option+Cmd+/, and Cmd+Y in Mac
IntelliJ is "Show Quick Definition").

Pick the right binding per platform. CE has no existing macOS detection
helper — there are scattered ad-hoc navigator.userAgent checks but no
central spot — so add a small `isMacintosh` constant in static/utils.ts
that mirrors monaco's own platform.js detection. Cheap to reuse next
time we need it; better than another inline ad-hoc check.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 09:39:17 -05:00
..
2025-10-28 09:45:26 +01:00
2025-06-18 09:04:23 -05:00
2025-07-28 10:34:46 -05:00
2025-04-24 12:10:37 -05:00
2025-07-28 10:34:46 -05:00