Zulip Chat Archive
Stream: mathlib4
Topic: Keyboard shortcut to apply first `Try this:`
Bhavik Mehta (Sep 04 2023 at 09:34):
This came up in LftCM - is there a keyboard shortcut which applies the (first) Try this
suggestion, for instance after an exact?
Johan Commelin (Sep 04 2023 at 09:35):
I think it used to be Alt-V
in the olden days
Johan Commelin (Sep 04 2023 at 09:35):
Note that Ctrl-.
allows you to apply code actions.
Johan Commelin (Sep 04 2023 at 09:36):
So Ctrl-.
+ Enter
should work. But it is a bit roundabout
Bhavik Mehta (Sep 04 2023 at 09:38):
Much better than nothing, thanks!
Eric Wieser (Sep 04 2023 at 12:06):
If we made it an "autofix" (like "generate skeleton for constructor") then "alt+shift+." would work
Mario Carneiro (Sep 04 2023 at 23:27):
I thought it was already an autofix?
Last updated: Dec 20 2023 at 11:08 UTC