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

[WIP] PR: Changes for handling Shortcuts with traitlets in consoleWidget #621

Open
wants to merge 53 commits into
base: main
Choose a base branch
from

Conversation

jsbautista
Copy link
Contributor

@jsbautista jsbautista commented Sep 2, 2024

Preview:
PreviewShortCuts

@jsbautista jsbautista changed the title [PR] : Changes for handling Shortcuts with traitlets in consoleWidget [WIP] PR: Changes for handling Shortcuts with traitlets in consoleWidget Sep 2, 2024
Copy link
Collaborator

@dalthviz dalthviz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank @jsbautista for your work here! Added some suggestions that should prevent the changes here to cause a segfault. If you have any question about the suggested changes let me know!

qtconsole/console_widget.py Outdated Show resolved Hide resolved
qtconsole/console_widget.py Outdated Show resolved Hide resolved
qtconsole/console_widget.py Outdated Show resolved Hide resolved
qtconsole/console_widget.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@dalthviz dalthviz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the latest changes @jsbautista ! Left some new comments/suggestions related with the method that gathers the different actions with shortcuts over a dictionary. Also, it could be nice to add a GIF or a command/flag/config file over the PR description to show an example of how changing the shortcuts could be done using the work being done here.

qtconsole/util.py Outdated Show resolved Hide resolved
qtconsole/qtconsoleapp.py Outdated Show resolved Hide resolved
qtconsole/qtconsoleapp.py Outdated Show resolved Hide resolved
qtconsole/qtconsoleapp.py Outdated Show resolved Hide resolved
qtconsole/qtconsoleapp.py Outdated Show resolved Hide resolved
@dalthviz dalthviz self-requested a review November 15, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants