-
Notifications
You must be signed in to change notification settings - Fork 460
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
CMake tools default keybinding conflicts with default editor keybinding #1170
Comments
That is a problem. The tricky thing about this is that (I think) this extension was using the keybinding before VS Code was, so changing it now could confuse our existing users. We currently employ a strategy to enable this keybinding only when a CMake project is open in the editor. The fix for SHIFT+F5 is simple though. It just needs to add logic to not be active during a debug session. |
@bobbrow I think anyone coming from the VS background, expects F5 to start with debugger and Ctrl+F5 to start without debugger. It's very unfortunate that the defaults are mixed, and I hope they can be changed at some point. |
CMake Tools 1.4.0 Beta is available on GitHub. Please try it out and let us know if you encounter any issues. |
This fix is available in CMake Tools #1.4.0 which has been released. |
doesn't work for me, it looks like the change was undone by another commit 52b4ccf |
|
This should be fixed in CMake Tools 1.4.1 which was published today. |
Brief Issue Summary
vscode cmake tools out of the box key binding does contradictory action compared to the editor keybinding. As a result, breakpoint triggers even if I select run without debug from editor menu. Also, debugging started from editor using launch.json does not end after pressing SHIFT+f5(editor default). Instead it runs cmake tools: run without debugging. While I can rebind the keys, I think default keybindings should not conflict with main editor defaults. In my observation, I noticed cmake tools keybinding is overriding editor keybinding. If that is so, it should have the same keybinding for same task as main editor. Alternatively, a non conflicting keybinding.
Expected:
Editor keybindings to work.
Apparent Behavior:
CMake tools key binding triggers
Platform and Versions
The text was updated successfully, but these errors were encountered: