Beef
Beef copied to clipboard
Typo in IDE Menus
In the Beef IDE menus, Edit->Advanced, the shortcut for reformat document is dcescribed as being CTRL+D, which is actually the shortcut for duplicate line.
You should see it like the attached image.
Duplicate Line: Ctrl+D
Reformat Document: Ctrl+K, Ctrl+D
Is that not what you see?
I see this:-
I've only installed Beef, and the IDE today, so I presume I have the latest?
Well that's strange. In File \ Preferences \ Settings, what is the key binding for Reformat Document for you?
I'm not near my pc at the moment, but I do know that ctrl+k, ctrl+d works for formatting which, I think, is visual studio?
On Fri, 5 Aug 2022, 23:34 Brian Fiete, @.***> wrote:
Well that's strange. In File \ Preferences \ Settings, what is the key binding for Reformat Document for you?
— Reply to this email directly, view it on GitHub https://github.com/beefytech/Beef/issues/1679#issuecomment-1207068039, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDLPDKH5UOIHF6YQHQXR6LVXWJHHANCNFSM55XDRCRQ . You are receiving this because you authored the thread.Message ID: @.***>
Small update:- On my windows 10 Desktop, I'm getting this problem as I've described. On my WIndows 11 Laptop I don't get the problem, and everything works as it should. Same version of Beef IDE on both.
I have a similar situation with BeefIDE.exe on Win10, but here the issue is that the version built from source shows the improper key bindings but the downloaded version from the Beef website shows the proper bindings? Some really new change affected this perhaps?
@wilsonk
If you have built from source... if you step into AddMenuItem(advancedEditMenu, "Comment Block", "Comment Block");
in IDEApp.bf
... Does keyStr
get set to #Ctrl+K, Ctrl+C
?
Whoa, weird. The built from source BeefIDE has the problem above, but when I put a break point in IDEApp.bf at that line and then inspect keyStr, it is correct?! If I 'continue' then the debug version has the correct key combos. Hmm...
If I 'start without debugging' then the correct key combos are shown also. So it seems like it is just the actual 'built from source' binary that is having this issue for me. (I start that binary by double clicking on BeefIDE.exe in the ../Beef/IDE/dist dir).