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

Target debugging keyboard shortcut conflicts with VSCode defaults #700

Closed
willyd opened this issue Jun 13, 2019 · 5 comments
Closed

Target debugging keyboard shortcut conflicts with VSCode defaults #700

willyd opened this issue Jun 13, 2019 · 5 comments

Comments

@willyd
Copy link

willyd commented Jun 13, 2019

Brief Issue Summary

When I hit Ctrl+F5 CMake tools asks me to configure a project even when I am trying to debug a python file. Ctrl+F5 is bound with Start withtout debugging by vscode itself.

I think you should avoid to override VSCode own keyboard shortcuts. Or disable them if there is not CMakeLists.txt in the workspace root.

Expected:

The debugger launches the python script I am trying to debug.

Apparent Behavior:

CMake tools asks me to configure the project even though this is not a C++ project. There might be some .cpp files and CMakeLists.txt somehwere in the source tree but these are only used to build python extensions.

Platform and Versions

  • Operating System: Ubuntu 18.05
  • CMake Version: 3.14.3
  • VSCode Version: 1.35.1
  • CMake Tools Extension Version: 1.1.3

Other Notes/Information

Work around: disable the extension for the workspace.

@willyd willyd changed the title Target debugging keyboard shortcut conflicts with other extensions Target debugging keyboard shortcut conflicts with VSCode defaults Jun 13, 2019
@bobbrow bobbrow added this to the 1.2.0 milestone Jul 17, 2019
@bobbrow
Copy link
Member

bobbrow commented Nov 5, 2019

This issue has been addressed in CMake Tools 1.2.0 which is available in the VS Code Marketplace or on the Releases Page

Because the publisher id has changed, VS Code does not automatically upgrade you yet. The Marketplace team will enable this in the next few days. If you want to install 1.2.0 now, please make sure you uninstall any earlier versions of CMake Tools manually to avoid any conflicts.

@bobbrow bobbrow closed this as completed Nov 5, 2019
@damdaepark
Copy link

I am using CMake Tools 1.3.1 and the same problem happens to me. Are you sure the problem has been solved?

@andreeis andreeis modified the milestones: 1.2.0, 1.4.0 Apr 30, 2020
@andreeis
Copy link
Contributor

Actually, this was partially fixed in 1.2. For cases where the CMake Tools extension still activates because of trigger files located somewhere in the repo folders structure, the command is still active in 1.3.1. The complete fix is coming in 1.4.

@andreeis
Copy link
Contributor

CMake Tools 1.4.0 Beta is available on GitHub.
https://github.com/microsoft/vscode-cmake-tools/releases/tag/1.4.0-beta

Please try it out and let us know if you encounter any issues.

@andreeis
Copy link
Contributor

andreeis commented May 20, 2020

This fix is available in CMake Tools 1.4.0 which has been released.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants