rust-playground icon indicating copy to clipboard operation
rust-playground copied to clipboard

Add Option to Capture Ctrl+S to Config Menu

Open cyanff opened this issue 3 years ago • 1 comments

I often hit Ctrl+S out of paranoia. The "save .HTML" popping up is an annoyance. It would be great if Ctrl+S could trigger either of these actions:

  • Be ignored
  • Trigger rustfmt

There was a duplicate issue here: https://github.com/integer32llc/rust-playground/issues/294 But it has been a few years since. I'll gladly open a PR if adding this option seems appropriate.

cyanff avatar Jun 18 '22 19:06 cyanff

For the record, in monaco editor, Ctrl+S will run the code (similar to :w in ace vim mode).

HKalbasi avatar Jun 18 '22 20:06 HKalbasi