Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If overwrite the shortcut key, please overwrite all. #4124

Open
alex20230721 opened this issue Oct 14, 2024 · 6 comments
Open

If overwrite the shortcut key, please overwrite all. #4124

alex20230721 opened this issue Oct 14, 2024 · 6 comments
Labels
enhancement an enhancement to the product that is either not present or an improvement to an existing feature Feature: UI
Milestone

Comments

@alex20230721
Copy link

Brief Issue Summary

Image

now ,shift F5 is cmake debug,and ctrl F5 is cmake start without debugging.
but system default is F5 debug, and system default ctrl F5 is run without debugging.

i suggest , shift F5 is cmake debug,and shift ctrl F5 is cmake start without debugging.

If covered, please cover all

CMake Tools Diagnostics

No response

Debug Log

No response

Additional Information

No response

@alex20230721
Copy link
Author

Override both defaults, or neither

@alex20230721 alex20230721 changed the title If covered, please cover all,shortcut key, If overwrite the shortcut key, please overwrite all. Oct 14, 2024
@alex20230721
Copy link
Author

CMake can be operated by clicking the status bar or the CMake activity bar, so why does it override the VSCode shortcut keys?

I'm asking this question because when I click vscode run->run without debugging with my mouse, I find the behavior is different from when I use the shortcut key ⌃F5

@Amy-Li03
Copy link
Collaborator

CMake:Debug (Shift +F5)
CMake:Run Without Debugging (Ctrl + F5)
Image

@Amy-Li03 Amy-Li03 added enhancement an enhancement to the product that is either not present or an improvement to an existing feature and removed triage labels Oct 15, 2024
@alex20230721
Copy link
Author

i konw this ,i say ,it overwrite the vscode default shortcut key .
Image
Image

@alex20230721
Copy link
Author

vscode system debug :F5
vscode system Run Without Debugging:ctrl+F5
and
CMake:Debug (Shift +F5)
CMake:Run Without Debugging (Ctrl + F5)

As I mentioned before, this cmake shortcut overrides the default vscode shortcut.
This causes different behaviors when I click the vscode menu bar with my mouse and execute with the shortcut in the menu bar.
My suggestion

  1. Change to shift+ctrl+F5, because this function can be executed by clicking on the left side of the camke activity bar, or by clicking on the status bar icon below. If you need a shortcut, you can check the manual or document. Instead of overwriting the default shortcut.
  2. After installing this cmake extension, it prompts to overwrite the shortcut.

正如我前面提到的,这个cmake快捷键覆盖了默认的vscode快捷键。
导致我用鼠标点击vscode菜单栏执行和
用菜单栏提示的快捷键执行产生的行为不一样。
我建议呢
1.改成shift+ctrl+F5,因为这个功能完全可以从camke左侧活动栏去点击执行,或者用下面的状态栏图标点击执行,如果需要快捷键可以查手册或者文档。而不是去覆盖默认的快捷键。
2.安装这个cmake扩展后提示进行快捷键覆盖。

@Amy-Li03
Copy link
Collaborator

Hi @alex20230721 , thanks for your details! I understand your issue, it's just that the cmake shortcut info is listed in the comment above.

@gcampbell-msft gcampbell-msft moved this from Blocked to In Progress in CMake Tools Oct 21, 2024
@gcampbell-msft gcampbell-msft added this to the On Deck milestone Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement an enhancement to the product that is either not present or an improvement to an existing feature Feature: UI
Projects
Status: In Progress
Development

No branches or pull requests

3 participants