Beef icon indicating copy to clipboard operation
Beef copied to clipboard

Typo in IDE Menus

Open biffbaff64 opened this issue 2 years ago • 9 comments

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.

biffbaff64 avatar Aug 05 '22 19:08 biffbaff64

You should see it like the attached image. Duplicate Line: Ctrl+D Reformat Document: Ctrl+K, Ctrl+D image

Is that not what you see?

bfiete avatar Aug 05 '22 20:08 bfiete

I see this:- image

biffbaff64 avatar Aug 05 '22 20:08 biffbaff64

I've only installed Beef, and the IDE today, so I presume I have the latest?

biffbaff64 avatar Aug 05 '22 21:08 biffbaff64

Well that's strange. In File \ Preferences \ Settings, what is the key binding for Reformat Document for you?

bfiete avatar Aug 05 '22 22:08 bfiete

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: @.***>

biffbaff64 avatar Aug 06 '22 14:08 biffbaff64

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.

biffbaff64 avatar Aug 10 '22 17:08 biffbaff64

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 avatar Sep 02 '22 05:09 wilsonk

@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?

bfiete avatar Sep 03 '22 14:09 bfiete

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).

wilsonk avatar Sep 04 '22 00:09 wilsonk