-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Key F5 is assigned to 'run' and 'continue' simultaneously #14639
Comments
Looks like we're missing a theia/packages/debug/src/browser/debug-frontend-application-contribution.ts Lines 1012 to 1015 in 4e3b183
VS Code is doing this similarly, see here. |
Thank you @msujew for the fast response. I have a suggestion to change the Continue command: registry.registerCommand(DebugCommands.CONTINUE, {
execute: () => {
if (this.manager.state === DebugState.Stopped) {
// eslint-disable-next-line no-unused-expressions
this.manager.currentThread && this.manager.currentThread.continue();
}
},
// When there is a debug session, F5 should always be captured by this command
isEnabled: () => this.manager.state !== DebugState.Inactive
}); |
Well, they are two different services, so instead you would register commands and keybindings for those commands separately.
Note that the issue isn't so much that the Are you interested in contributing a pull request to this repo for the improvement? |
Yes. I'm interested in contributing a pull request. I will open it in a couple of minutes... |
Bug Description:
The key F5 is assigned to 'run' and 'continue' by default. This leads to problems when it muss be decided which command should be applied.
Steps to Reproduce:
Take this python script:
Additional Information
The text was updated successfully, but these errors were encountered: