-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Unittest Shortcut not working #172
Comments
In Spyder v4, if I remember correctly, the shortcut was set to Alt+Shift+F11 by default. The PR above leaves the shortcut not set to any key sequence, because I don't know how to do this from a plugin. I am also not sure whether we want plugins to assign shortcuts because this will lead to collisions at some point. @spyder-ide/core-developers Any comments? |
Restoring |
@ccordoba12 @dalthviz Next question, how do I assign a default shortcut? Internal plugins set their default shortcuts in |
I think And then from the action definition set the I think the important thing there is to use the name given to the action in the shortcut config definiton. For example, in the case of the line profiler, the action is named |
Thanks @dalthviz ! |
Description of your problem
After setting the "Run Unittest" shortcut in spyder preferences -> keyboard shortcuts to Alt+Shift+F11, it is not callable through the shortcut
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Nothing happens. I'd expect it to trigger the action like clicking the UI button in Run -> Run unit tests
Paste traceback/error below (if applicable)
(Copy from error dialog or
View > Panes > Internal Console
)Key versions and other information:
The text was updated successfully, but these errors were encountered: