-
Notifications
You must be signed in to change notification settings - Fork 204
Remove %guiref and add instead an entry in our Help menu to show its contents #98
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
Conversation
|
This PR is still registering |
Yes, but only for However, I think it's ok to define
I also did that as part of this pull request.
I removed most of the references to IPython in |
|
I think I'd prefer to remove the
The banner that mentions |
You're totally right. It makes no sense to maintain So please remove its references from Note: The thing that confused me is that several things about |
We're getting rid of the %guiref magic - see spyder-ide/qtconsole#98
|
Removed in ipython/ipykernel#101 and ipython/ipython#9231 |
|
Ok, I think this is ready, unless you have some comments about my changes to |
qtconsole/usage.py
Outdated
|
|
||
| This console is designed to emulate the look, feel and workflow of a terminal | ||
| environment, while adding a number of enhancements that are simply not possible | ||
| in a real terminal, such as inline syntax highlighting, true multiline editing, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to change the phrasing, because the first two of these (syntax highlighting and multiline editing) are coming to IPython for version 5 (see ipython/ipython#9118). And even inline graphics are possible, albeit not supported by most terminal emulators.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The console is designed to emulate the look, feel and workflow of a terminal environment. Beyond this basic design, the console may also implement functionality not currently found in most terminal emulators. Some examples of these console enhancements are inline syntax highlighting, multiline editing, inline graphics, and others.
|
I know most of the things I'm pointing out in the text are not things you changed, but that text is long overdue for an update, and this seems like a good opportunity to go through it. Bad luck! @willingc , could you also do a pass on this to help make it clearer? Thanks. |
qtconsole/jupyter_widget.py
Outdated
|
|
||
| def _started_channels(self): | ||
| """Reimplemented to make a history request and load %guiref.""" | ||
| """Reimplemented to make a history request""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps a semantic quibble on my part but "reimplemented" feels not quite accurate to me. BaseFrontendWidget is abstract; FrontEndWidget implements the method from the abstract BaseFrontEndWidget; JupyterWidget subclasses from FrontEndWidget.
The docstrings for each method in this section are not consistent. "Override method" or "Redefine method" feel more accurate to me. Now that I'm thinking about it, it may just be best to add a comment here:
#---------------------------------------------------------------------------
# 'BaseFrontendMixin' abstract interface
#
# For JupyterWidget, override FrontendWidget methods which implement the
# BaseFrontend Mixin abstract interface
#---------------------------------------------------------------------------
qtconsole/usage.py
Outdated
| terminal IPython: single expressions are immediately evaluated, and indented | ||
| blocks are evaluated once a single blank line is entered:: | ||
|
|
||
| In [1]: print "Hello Jupyter!" # Enter was pressed at the end of the line |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print("Hello Jupyter!")
|
@ccordoba12 @takluyver I've gone through and added my comments. Depending on the time window for 4.2 release, it might be good to merge after these changes are made. After that I would be happy to iterate any further changes as needed. |
|
Thanks for your review. I addressed all comments, except for one from @takluyver about the use of |
|
@ccordoba12 Looks great! I noticed @takluyver had a wording suggestion. Other than that, this is ready to merge. |
Remove %guiref and add instead an entry in our Help menu to show its contents
|
@minrk or @takluyver, I think everything is ready now for you to release 4.2 :-) |
|
@ccordoba12 🍰 🍪 |
|
@ccordoba12 released 4.2! Thanks for your help. |
|
Thanks a lot Min!! El 23/02/16 a las 03:04, Min RK escribió:
|
|
Dear All, Wishes for the QtConsole:
|
|
Regarding your points @temok-mx:
|
|
Thanks Carlos, I just posted an issue for point 3): #122 |
Fixes #78
I'll create a corresponding pull request in the IPython repo to remove
gui_referencefrom it.