-
Notifications
You must be signed in to change notification settings - Fork 334
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
DISCUSSION: How to display docstrings? #873
Comments
/cc @Carreau |
I like (3) best. |
I like (3), but don't know if i'd always want the whole signature completed. Might change my mind if I try it live. (1) looks great too. |
I like "Option 2: Only description". So at least for me, extra information is bit noisy( I explicit refer document or src code if I want those info). [idea] use these signature info as dynamic snippet? dynamically create snippet, and |
One other possibility is to have the signature be "display:none" except when selected by the cursor.
|
I like (1) best, then (2). I do not like (3); completing the whole snippet seems overkill... but maybe I'm missing the point. (4) is ok but I don't see much improvement (or difference) compared to (1). |
Future versions of
ipykernel
will support additional docstrings. See ipython/ipykernel#249I played a bit around with different ways of displaying them, let me know what you think:
Option 1: Description and function signature
Option 2: Only description
Option 3: Description and function signature as a snippet
This will complete the whole shown string:
Option 4: Description and function signature as right label
The text was updated successfully, but these errors were encountered: